1 %include /usr/lib/rpm/macros.perl
2 Summary: Ming - an SWF output library
3 Summary(pl): Ming - biblioteka do produkcji plików SWF
9 Source0: http://dl.sourceforge.net/ming/%{name}-%{version}.tar.gz
10 # Source0-md5: 56b29eeb4fdd0b98c9ee62e25d14841d
11 Patch0: %{name}-DESTDIR.patch
12 Patch1: %{name}-build.patch
13 URL: http://ming.sourceforge.net/
14 BuildRequires: giflib-devel
15 BuildRequires: python-devel
16 BuildRequires: rpm-perlprov >= 4.0.2-24
17 BuildRequires: zlib-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Ming is a C library for generating SWF ("Flash") format movies, plus a
22 set of wrappers for using the library from c++ and popular scripting
23 languages like PHP, Python, and Ruby.
26 Ming jest bibliotek± w C do generowania animacji w formacie SWF
27 ("Flash") wraz z zestawem wrapperów do u¿ywania jej z C++ i
28 popularnymi jêzykami skryptowymi, takimi jak PHP, Python i Ruby.
31 Summary: Ming development files
32 Summary(pl): Pliki dla programistów Ming
33 Group: Development/Libraries
34 Requires: %{name} = %{version}-%{release}
37 Header files for ming library (C and C++).
39 %description devel -l pl
40 Pliki nag³ówkowe dla biblioteki ming (do C i C++).
43 Summary: Ming static libraries
44 Group: Development/Libraries
45 Requires: %{name}-devel = %{version}-%{release}
51 Summary: Ming utilities
52 Summary(pl): Narzêdzia Ming
53 Group: Applications/File
57 - listswf - swf format disassembler
58 - listfdb - show contents of fdb font file
59 - makefdb - rip fdb font definition files out of a generator template
61 - swftophp - attempt to make a php/ming script out of an swf file
63 %description utils -l pl
65 - listswf - disasembler plików swf
66 - listfdb - pokazuje zawarto¶æ plików fontów fdb
67 - makefdb - wyci±ga pliki definicji fontów fdb z pliku generatora
68 - swftophp - próbuje zrobiæ skrypt php/ming z pliku swf
80 rm -rf $RPM_BUILD_ROOT
83 DESTDIR=$RPM_BUILD_ROOT
86 rm -rf $RPM_BUILD_ROOT
88 %post -p /sbin/ldconfig
89 %postun -p /sbin/ldconfig
92 %defattr(644,root,root,755)
93 %doc CREDITS README TODO
94 %attr(755,root,root) %{_libdir}/libming.so.*
97 %defattr(644,root,root,755)
98 %attr(755,root,root) %{_libdir}/libming.so
100 %{_includedir}/mingpp.h
101 %{_includedir}/ming_config.h
104 %defattr(644,root,root,755)
108 %defattr(644,root,root,755)
109 %doc util/{README,TODO}
110 %attr(755,root,root) %{_bindir}/dbl2png
111 %attr(755,root,root) %{_bindir}/gif2dbl
112 %attr(755,root,root) %{_bindir}/gif2mask
113 %attr(755,root,root) %{_bindir}/listaction
114 %attr(755,root,root) %{_bindir}/listaction_d
115 %attr(755,root,root) %{_bindir}/listfdb
116 %attr(755,root,root) %{_bindir}/listjpeg
117 %attr(755,root,root) %{_bindir}/listmp3
118 %attr(755,root,root) %{_bindir}/listswf
119 %attr(755,root,root) %{_bindir}/listswf_d
120 %attr(755,root,root) %{_bindir}/makefdb
121 %attr(755,root,root) %{_bindir}/makeswf
122 %attr(755,root,root) %{_bindir}/ming-config
123 %attr(755,root,root) %{_bindir}/png2dbl
124 %attr(755,root,root) %{_bindir}/png2swf
125 %attr(755,root,root) %{_bindir}/raw2adpcm
126 %attr(755,root,root) %{_bindir}/swftoperl
127 %attr(755,root,root) %{_bindir}/swftophp
128 %attr(755,root,root) %{_bindir}/swftopython
129 %{_mandir}/man1/makeswf.1*