]>
Commit | Line | Data |
---|---|---|
4866f81c | 1 | Summary: Utilities for SWF files manipulation |
2334a1ba | 2 | Summary(pl.UTF-8): Narzędzia do manipulacji na plikach SWF |
4866f81c | 3 | Name: swftools |
2c2efdad | 4 | Version: 0.9.2 |
25eda471 | 5 | Release: 11 |
2c2efdad | 6 | License: GPL v2+ |
4866f81c | 7 | Group: Applications/Graphics |
2c2efdad | 8 | #Source0Download: http://www.swftools.org/download.html |
2ca2ce6d | 9 | Source0: http://www.swftools.org/%{name}-%{version}.tar.gz |
2c2efdad | 10 | # Source0-md5: 1055ebbe3b4cadcc71e83775a5a0906d |
ceec6e10 AM |
11 | Patch0: %{name}-swfstrings-print_unknown_chars.patch |
12 | Patch1: %{name}-missing-m4.patch | |
2c2efdad JB |
13 | Patch2: %{name}-giflib.patch |
14 | Patch3: %{name}-poppler.patch | |
15 | Patch4: %{name}-poppler2.patch | |
16 | Patch5: %{name}-install.patch | |
2939179c | 17 | Patch6: %{name}-poppler-0.32.patch |
2ca2ce6d | 18 | URL: http://www.swftools.org/ |
bb8c6abc JB |
19 | BuildRequires: autoconf |
20 | BuildRequires: automake | |
6764323a AM |
21 | BuildRequires: fftw3-devel |
22 | BuildRequires: fontconfig-devel | |
dea4590b | 23 | BuildRequires: freetype-devel |
2c2efdad | 24 | BuildRequires: giflib-devel >= 5.1 |
8cb5a734 | 25 | BuildRequires: lame-libs-devel |
4866f81c JB |
26 | BuildRequires: libjpeg-devel |
27 | BuildRequires: libstdc++-devel | |
8cb5a734 | 28 | BuildRequires: libtool |
2c2efdad JB |
29 | BuildRequires: poppler-devel |
30 | BuildRequires: t1lib-devel >= 5.0.1 | |
4866f81c | 31 | BuildRequires: zlib-devel |
a709a535 | 32 | BuildRequires: zziplib-devel |
6a3c77b4 | 33 | Requires: fonts-Type1-urw |
8cb5a734 | 34 | Requires: t1lib >= 5.0.1 |
4866f81c JB |
35 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
36 | ||
37 | %description | |
38 | Utilities for SWF files manipulation. | |
39 | ||
81362427 JR |
40 | %description -l pl.UTF-8 |
41 | Narzędzia do manipulacji na plikach SWF. | |
4866f81c JB |
42 | |
43 | %prep | |
44 | %setup -q | |
dea4590b | 45 | %patch0 -p1 |
0e1b76ba | 46 | %patch1 -p1 |
2c2efdad JB |
47 | %patch2 -p1 |
48 | %patch3 -p1 | |
49 | %patch4 -p1 | |
50 | %patch5 -p1 | |
2939179c | 51 | %patch6 -p1 |
4866f81c JB |
52 | |
53 | %build | |
bb8c6abc JB |
54 | %{__libtoolize} |
55 | %{__aclocal} -I m4 | |
56 | %{__autoconf} | |
8cb5a734 | 57 | %configure \ |
a709a535 | 58 | ac_cv_header_pdflib_h=no \ |
2c2efdad JB |
59 | AVIFILE_CONFIG=x \ |
60 | POPPLER_CFLAGS="-I/usr/include/poppler" \ | |
61 | --enable-poppler | |
a709a535 | 62 | |
4866f81c JB |
63 | %{__make} |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | bindir=$RPM_BUILD_ROOT%{_bindir} \ | |
8cb5a734 | 70 | libdir=$RPM_BUILD_ROOT%{_libdir} \ |
4866f81c JB |
71 | mandir=$RPM_BUILD_ROOT%{_mandir} \ |
72 | datadir=$RPM_BUILD_ROOT%{_datadir} | |
73 | ||
4866f81c JB |
74 | %clean |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
ceec6e10 | 79 | %doc AUTHORS ChangeLog |
2b07da33 | 80 | %attr(755,root,root) %{_bindir}/as3compile |
2ca2ce6d ER |
81 | %attr(755,root,root) %{_bindir}/font2swf |
82 | %attr(755,root,root) %{_bindir}/gif2swf | |
8cb5a734 JB |
83 | %attr(755,root,root) %{_bindir}/jpeg2swf |
84 | %attr(755,root,root) %{_bindir}/pdf2swf | |
85 | %attr(755,root,root) %{_bindir}/png2swf | |
2ca2ce6d ER |
86 | %attr(755,root,root) %{_bindir}/swfbbox |
87 | %attr(755,root,root) %{_bindir}/swfc | |
88 | %attr(755,root,root) %{_bindir}/swfcombine | |
89 | %attr(755,root,root) %{_bindir}/swfdump | |
90 | %attr(755,root,root) %{_bindir}/swfextract | |
2b07da33 | 91 | %attr(755,root,root) %{_bindir}/swfrender |
2ca2ce6d | 92 | %attr(755,root,root) %{_bindir}/swfstrings |
8cb5a734 | 93 | %attr(755,root,root) %{_bindir}/wav2swf |
2b07da33 | 94 | %{_mandir}/man1/as3compile.1* |
2ca2ce6d ER |
95 | %{_mandir}/man1/font2swf.1* |
96 | %{_mandir}/man1/gif2swf.1* | |
8cb5a734 JB |
97 | %{_mandir}/man1/jpeg2swf.1* |
98 | %{_mandir}/man1/pdf2swf.1* | |
99 | %{_mandir}/man1/png2swf.1* | |
2ca2ce6d ER |
100 | %{_mandir}/man1/swfbbox.1* |
101 | %{_mandir}/man1/swfc.1* | |
102 | %{_mandir}/man1/swfcombine.1* | |
103 | %{_mandir}/man1/swfdump.1* | |
104 | %{_mandir}/man1/swfextract.1* | |
2b07da33 | 105 | %{_mandir}/man1/swfrender.1* |
2ca2ce6d | 106 | %{_mandir}/man1/swfstrings.1* |
8cb5a734 | 107 | %{_mandir}/man1/wav2swf.1* |
2ca2ce6d | 108 | %{_datadir}/%{name} |