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