1 | Name: ming |
---|
2 | Summary: Ming - an SWF output library |
---|
3 | Summary(ja): SWF 出力ライブラリ |
---|
4 | Version: 0.4.3 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: LGPL |
---|
7 | Group: System Environment/Libraries |
---|
8 | URL: http://sourceforge.net/projects/ming/ |
---|
9 | Source: %{name}-%{version}.tar.bz2 |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | Requires: freetype2 zlib libungif libpng |
---|
12 | BuildRequires: freetype2-devel zlib-devel libungif-devel libpng-devel |
---|
13 | BuildRequires: swig |
---|
14 | |
---|
15 | %description |
---|
16 | Ming is a library for generating Macromedia Flash files (.swf), written in C, |
---|
17 | and includes useful utilities for working with .swf files. |
---|
18 | It has wrappers that allow it to be used in C++, PHP, Python, Ruby, and Perl. |
---|
19 | See http://www.libming.net/FrontPage |
---|
20 | |
---|
21 | %package devel |
---|
22 | Summary: A SWF output library |
---|
23 | Group: Development/Libraries |
---|
24 | Requires: %{name} = %{version} |
---|
25 | Requires: freetype2-devel zlib-devel libungif-devel libpng-devel |
---|
26 | |
---|
27 | %description devel |
---|
28 | The ming-devel package includes the static libraries, |
---|
29 | header files, and developer docs for the ming package. |
---|
30 | |
---|
31 | Install ming-devel if you want to develop programs which |
---|
32 | will use ming. |
---|
33 | |
---|
34 | %package python |
---|
35 | Summary: Ming Python wrapper |
---|
36 | Group: Development/Libraries |
---|
37 | Requires: %{name} = %{version} |
---|
38 | BuildRequires: python-devel |
---|
39 | %description python |
---|
40 | %{summary} |
---|
41 | |
---|
42 | %package tcl |
---|
43 | Summary: Ming Tcl wrapper |
---|
44 | Group: Development/Libraries |
---|
45 | Requires: %{name} = %{version} |
---|
46 | %description tcl |
---|
47 | %{summary} |
---|
48 | |
---|
49 | %package perl |
---|
50 | Summary: Ming Perl wrapper |
---|
51 | Group: Development/Libraries |
---|
52 | Requires: %{name} = %{version} |
---|
53 | %description perl |
---|
54 | %{summary} |
---|
55 | |
---|
56 | %package php |
---|
57 | Summary: Ming PHP wrapper |
---|
58 | Group: Development/Libraries |
---|
59 | Requires: %{name} = %{version} |
---|
60 | BuildRequires: php5-devel |
---|
61 | %description php |
---|
62 | %{summary} |
---|
63 | |
---|
64 | %prep |
---|
65 | %setup -q |
---|
66 | |
---|
67 | %build |
---|
68 | %configure \ |
---|
69 | --enable-python \ |
---|
70 | --enable-tcl \ |
---|
71 | --enable-php \ |
---|
72 | --enable-perl \ |
---|
73 | --with-pic \ |
---|
74 | ; |
---|
75 | make %{?_smp_mflags} |
---|
76 | |
---|
77 | %install |
---|
78 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
79 | make install \ |
---|
80 | DESTDIR=$RPM_BUILD_ROOT \ |
---|
81 | pkgconfigdir=%{_libdir}/pkgconfig \ |
---|
82 | docdir=$RPM_BUILD_ROOT%{_docdir}/%{name} \ |
---|
83 | ; |
---|
84 | chmod 755 $RPM_BUILD_ROOT%{perl_sitearch}/auto/SWF/*.so |
---|
85 | make -C ./docs/man mandir=$RPM_BUILD_ROOT%{_mandir} install-man1 |
---|
86 | make -C ./docs/man mandir=$RPM_BUILD_ROOT%{_mandir} install-man3 |
---|
87 | |
---|
88 | %post -p /sbin/ldconfig |
---|
89 | %post python -p /sbin/ldconfig |
---|
90 | %post tcl -p /sbin/ldconfig |
---|
91 | %post perl -p /sbin/ldconfig |
---|
92 | %post php -p /sbin/ldconfig |
---|
93 | %postun -p /sbin/ldconfig |
---|
94 | %postun python -p /sbin/ldconfig |
---|
95 | %postun tcl -p /sbin/ldconfig |
---|
96 | %postun perl -p /sbin/ldconfig |
---|
97 | %postun php -p /sbin/ldconfig |
---|
98 | %clean |
---|
99 | [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT |
---|
100 | |
---|
101 | %files |
---|
102 | %defattr(-,root,root) |
---|
103 | %doc README AUTHORS COPYING ChangeLog |
---|
104 | %{_libdir}/libming*.so.* |
---|
105 | %{_bindir}/* |
---|
106 | %{_mandir}/man1/* |
---|
107 | |
---|
108 | %files devel |
---|
109 | %defattr(-, root, root) |
---|
110 | %{_includedir}/* |
---|
111 | %{_libdir}/libming.so |
---|
112 | %{_libdir}/pkgconfig |
---|
113 | %{_mandir}/man3/* |
---|
114 | %exclude %{_libdir}/*.a |
---|
115 | %exclude %{_libdir}/*.la |
---|
116 | |
---|
117 | %files python |
---|
118 | %defattr(-, root, root) |
---|
119 | %{python_sitearch}/*.so |
---|
120 | %{python_sitearch}/*.py* |
---|
121 | %{python_sitearch}/mingc-%{version}-py%{pyver}.egg-info |
---|
122 | |
---|
123 | %files tcl |
---|
124 | %defattr(-, root, root) |
---|
125 | %{_libdir}/%{name}/tcl/*.so |
---|
126 | %exclude %{_libdir}/%{name}/tcl/*.a |
---|
127 | %exclude %{_libdir}/%{name}/tcl/*.la |
---|
128 | |
---|
129 | %files perl |
---|
130 | %defattr(-, root, root) |
---|
131 | %{_libdir}/perl5/* |
---|
132 | |
---|
133 | %files php |
---|
134 | %defattr(-, root, root) |
---|
135 | %{_libdir}/php5/* |
---|
136 | |
---|
137 | %changelog |
---|
138 | * Tue Feb 16 2010 Shu KONNO <owa@bg.wakwak.com> 0.4.3-1 |
---|
139 | - updated ming to 0.4.3 |
---|
140 | - added %{name}-python, -tcl, -perl, -php sub packages |
---|
141 | - added BR: swig python-devel php-devel |
---|
142 | |
---|
143 | * Sat Oct 04 2008 Shu KONNO <owa@bg.wakwak.com> 0.4.2-1vl5 |
---|
144 | - updated ming to 0.4.2 |
---|
145 | - added tags: BuildRequires Requires |
---|
146 | - added sub package: ming-devel |
---|
147 | - added script at %%clean |
---|
148 | - applied new versioning policy, spec in utf-8 |
---|
149 | |
---|
150 | * Wed Sep 22 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2a-4vl3 |
---|
151 | - fixed args type of addString function (Patch1) |
---|
152 | - added Japanese Summary |
---|
153 | |
---|
154 | * Sat May 15 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2a-4vl2 |
---|
155 | - removed Vendor: tag |
---|
156 | - fixed post and postun section |
---|
157 | |
---|
158 | * Sat May 15 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2a-4vl1 |
---|
159 | - rebuild for Vine Linux |
---|
160 | - based on TLD 10, but removed Serial: |
---|
161 | |
---|
162 | * Thu Apr 24 2003 Noriyuki Suzuki <noriyuki@turbolinux.co.jp> |
---|
163 | - modified spec file for x86_64. |
---|
164 | |
---|
165 | * Thu Feb 28 2002 Kiichiro NAKA <knaka@turbolinux.co.jp> |
---|
166 | - I have gotten SRPM from http://rpms.arvin.dk/ming/source/ |
---|
167 | |
---|
168 | * Tue Aug 21 2001 Troels Arvin <troels@arvin.dk> |
---|
169 | [0.2a-2.arvin] |
---|
170 | - Add Hansuck Jo's listmp3.c patch. |
---|
171 | - Build and include some of the utils. |
---|
172 | |
---|
173 | * Mon Aug 20 2001 Troels Arvin <troels@arvin.dk> |
---|
174 | [0.2a-1.arvin] |
---|
175 | - Uses new source version. |
---|
176 | |
---|
177 | * Sat Apr 14 2001 Troels Arvin <troels@arvin.dk> |
---|
178 | [0.1.1-3.arvin] |
---|
179 | - Added distribution to release-tag. |
---|
180 | |
---|
181 | * Sat Apr 14 2001 Troels Arvin <troels@arvin.dk> |
---|
182 | [0.1.1-2.arvin] |
---|
183 | - Fixed a permission problem for the documentation |
---|
184 | area. |
---|
185 | * Sat Apr 14 2001 Troels Arvin <troels@arvin.dk> |
---|
186 | [0.1.1-1.arvin] |
---|
187 | - Rebuilt with new source version. |
---|
188 | * Mon Mar 19 2001 Troels Arvin <troels@arvin.dk> |
---|
189 | [0.1.0-1.arvin] |
---|
190 | - Rebuilt with new source version. Patches shouldn't be need |
---|
191 | any more. |
---|
192 | * Mon Jan 29 2001 Troels Arvin <troels@arvin.dk> |
---|
193 | [0.0.9c-1.arvin] |
---|
194 | - First Ming RPM package. Currently, the RPM doesn't include |
---|
195 | anyting but the shared library and the C-oriented include |
---|
196 | file. None of the wrappers for other languages are handled by this |
---|
197 | RPM, currently. Also, none of the utilities are included in the |
---|
198 | package yet. |
---|