]>
Commit | Line | Data |
---|---|---|
81a84306 | 1 | %include /usr/lib/rpm/macros.perl |
e137629a | 2 | Summary: Ming - an SWF output library |
420f4188 | 3 | Summary(pl.UTF-8): Ming - biblioteka do produkcji plików SWF |
81a84306 | 4 | Name: ming |
da7e6517 | 5 | Version: 0.3.0 |
06d3cd21 | 6 | Release: 1 |
e137629a | 7 | License: LGPL |
e7b6717f | 8 | Group: Libraries |
da7e6517 ER |
9 | Source0: http://dl.sourceforge.net/ming/%{name}-%{version}.tar.gz |
10 | # Source0-md5: 56b29eeb4fdd0b98c9ee62e25d14841d | |
11 | Patch0: %{name}-DESTDIR.patch | |
06d3cd21 | 12 | Patch1: %{name}-build.patch |
da7e6517 | 13 | URL: http://ming.sourceforge.net/ |
06d3cd21 | 14 | BuildRequires: giflib-devel |
3f096cc8 | 15 | BuildRequires: python-devel |
81a84306 | 16 | BuildRequires: rpm-perlprov >= 4.0.2-24 |
8d5b5075 | 17 | BuildRequires: zlib-devel |
e137629a | 18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
93b9c492 AF |
19 | |
20 | %description | |
81a84306 | 21 | Ming is a C library for generating SWF ("Flash") format movies, plus a |
e137629a JB |
22 | set of wrappers for using the library from c++ and popular scripting |
23 | languages like PHP, Python, and Ruby. | |
93b9c492 | 24 | |
78c38071 JR |
25 | %description -l pl.UTF-8 |
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. | |
81a84306 JB |
29 | |
30 | %package devel | |
31 | Summary: Ming development files | |
420f4188 | 32 | Summary(pl.UTF-8): Pliki dla programistów Ming |
81a84306 | 33 | Group: Development/Libraries |
a8a8a1c5 | 34 | Requires: %{name} = %{version}-%{release} |
81a84306 JB |
35 | |
36 | %description devel | |
37 | Header files for ming library (C and C++). | |
38 | ||
78c38071 JR |
39 | %description devel -l pl.UTF-8 |
40 | Pliki nagłówkowe dla biblioteki ming (do C i C++). | |
81a84306 | 41 | |
da7e6517 ER |
42 | %package static |
43 | Summary: Ming static libraries | |
44 | Group: Development/Libraries | |
45 | Requires: %{name}-devel = %{version}-%{release} | |
3f096cc8 | 46 | |
da7e6517 ER |
47 | %description static |
48 | Static ming library | |
3f096cc8 | 49 | |
81a84306 JB |
50 | %package utils |
51 | Summary: Ming utilities | |
420f4188 | 52 | Summary(pl.UTF-8): Narzędzia Ming |
81a84306 | 53 | Group: Applications/File |
81a84306 JB |
54 | |
55 | %description utils | |
56 | Ming utilities: | |
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 | |
60 | file | |
61 | - swftophp - attempt to make a php/ming script out of an swf file | |
62 | ||
78c38071 JR |
63 | %description utils -l pl.UTF-8 |
64 | Narzędzia Ming: | |
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 | |
81a84306 | 69 | |
93b9c492 AF |
70 | %prep |
71 | %setup -q | |
81a84306 | 72 | %patch0 -p1 |
06d3cd21 | 73 | %patch1 -p1 |
93b9c492 AF |
74 | |
75 | %build | |
da7e6517 ER |
76 | %configure |
77 | %{__make} -j1 | |
93b9c492 AF |
78 | |
79 | %install | |
e137629a | 80 | rm -rf $RPM_BUILD_ROOT |
25286fae | 81 | |
8458c7d9 | 82 | %{__make} install \ |
8458c7d9 | 83 | DESTDIR=$RPM_BUILD_ROOT |
81a84306 | 84 | |
93b9c492 | 85 | %clean |
e137629a | 86 | rm -rf $RPM_BUILD_ROOT |
93b9c492 | 87 | |
81a84306 JB |
88 | %post -p /sbin/ldconfig |
89 | %postun -p /sbin/ldconfig | |
90 | ||
93b9c492 | 91 | %files |
e137629a | 92 | %defattr(644,root,root,755) |
da7e6517 | 93 | %doc CREDITS README TODO |
21c8db63 | 94 | %attr(755,root,root) %{_libdir}/libming.so.* |
81a84306 JB |
95 | |
96 | %files devel | |
97 | %defattr(644,root,root,755) | |
98 | %attr(755,root,root) %{_libdir}/libming.so | |
93b9c492 | 99 | %{_includedir}/ming.h |
81a84306 | 100 | %{_includedir}/mingpp.h |
da7e6517 | 101 | %{_includedir}/ming_config.h |
93b9c492 | 102 | |
da7e6517 | 103 | %files static |
3f096cc8 | 104 | %defattr(644,root,root,755) |
da7e6517 | 105 | %{_libdir}/libming.a |
3f096cc8 | 106 | |
81a84306 JB |
107 | %files utils |
108 | %defattr(644,root,root,755) | |
3f096cc8 | 109 | %doc util/{README,TODO} |
da7e6517 ER |
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* |