]>
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 |
2b07da33 | 4 | Version: 0.9.0 |
fbf0a957 | 5 | Release: 3 |
4866f81c JB |
6 | License: GPL |
7 | Group: Applications/Graphics | |
2ca2ce6d | 8 | Source0: http://www.swftools.org/%{name}-%{version}.tar.gz |
2b07da33 | 9 | # Source0-md5: 946e7c692301a332745d29140bc74e55 |
dea4590b | 10 | Patch0: %{name}-gcc44.patch |
0e1b76ba | 11 | Patch1: %{name}-swfstrings-print_unknown_chars.patch |
2ca2ce6d | 12 | URL: http://www.swftools.org/ |
bb8c6abc JB |
13 | BuildRequires: autoconf |
14 | BuildRequires: automake | |
4866f81c | 15 | BuildRequires: avifile-devel |
dea4590b | 16 | BuildRequires: freetype-devel |
2ca2ce6d | 17 | BuildRequires: giflib-devel |
8cb5a734 | 18 | BuildRequires: lame-libs-devel |
4866f81c JB |
19 | BuildRequires: libjpeg-devel |
20 | BuildRequires: libstdc++-devel | |
8cb5a734 | 21 | BuildRequires: libtool |
4866f81c | 22 | BuildRequires: zlib-devel |
6a3c77b4 | 23 | Requires: fonts-Type1-urw |
8cb5a734 | 24 | Requires: t1lib >= 5.0.1 |
4866f81c JB |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %description | |
28 | Utilities for SWF files manipulation. | |
29 | ||
81362427 JR |
30 | %description -l pl.UTF-8 |
31 | Narzędzia do manipulacji na plikach SWF. | |
4866f81c | 32 | |
8cb5a734 JB |
33 | %package avi |
34 | Summary: avi2swf - convert AVI files into SWF | |
2334a1ba | 35 | Summary(pl.UTF-8): avi2swf - narzędzie do konwersji plików AVI do SWF |
8cb5a734 JB |
36 | Group: Applications/Graphics |
37 | Requires: %{name} = %{version}-%{release} | |
38 | ||
39 | %description avi | |
40 | This package contains avi2swf tool which converts AVI Video files into | |
41 | Flash SWF Animation files. | |
42 | ||
81362427 JR |
43 | %description avi -l pl.UTF-8 |
44 | Ten pakiet zawiera narzędzie avi2swf konwertujące pliki obrazu AVI na | |
8cb5a734 JB |
45 | pliki animacji Flash SWF. |
46 | ||
4866f81c JB |
47 | %prep |
48 | %setup -q | |
dea4590b | 49 | %patch0 -p1 |
0e1b76ba | 50 | %patch1 -p1 |
4866f81c JB |
51 | |
52 | %build | |
bb8c6abc JB |
53 | %{__libtoolize} |
54 | %{__aclocal} -I m4 | |
55 | %{__autoconf} | |
8cb5a734 JB |
56 | %configure \ |
57 | --disable-static | |
4866f81c JB |
58 | %{__make} |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %{__make} install \ | |
64 | bindir=$RPM_BUILD_ROOT%{_bindir} \ | |
8cb5a734 | 65 | libdir=$RPM_BUILD_ROOT%{_libdir} \ |
4866f81c JB |
66 | mandir=$RPM_BUILD_ROOT%{_mandir} \ |
67 | datadir=$RPM_BUILD_ROOT%{_datadir} | |
68 | ||
8cb5a734 | 69 | # fix broken .swf symlinks |
2ca2ce6d | 70 | rm -f $RPM_BUILD_ROOT%{_datadir}/swftools/swfs/default_* |
4866f81c JB |
71 | ln -sf tessel_loader.swf $RPM_BUILD_ROOT%{_datadir}/swftools/swfs/default_loader.swf |
72 | ln -sf simple_viewer.swf $RPM_BUILD_ROOT%{_datadir}/swftools/swfs/default_viewer.swf | |
73 | ||
8cb5a734 JB |
74 | # no -devel package, shut up check-files |
75 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{la,so} | |
76 | ||
4866f81c JB |
77 | %clean |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %files | |
81 | %defattr(644,root,root,755) | |
0e1b76ba | 82 | %doc AUTHORS ChangeLog FAQ |
2b07da33 | 83 | %attr(755,root,root) %{_bindir}/as3compile |
2ca2ce6d ER |
84 | %attr(755,root,root) %{_bindir}/font2swf |
85 | %attr(755,root,root) %{_bindir}/gif2swf | |
8cb5a734 JB |
86 | %attr(755,root,root) %{_bindir}/jpeg2swf |
87 | %attr(755,root,root) %{_bindir}/pdf2swf | |
88 | %attr(755,root,root) %{_bindir}/png2swf | |
2ca2ce6d ER |
89 | %attr(755,root,root) %{_bindir}/swfbbox |
90 | %attr(755,root,root) %{_bindir}/swfc | |
91 | %attr(755,root,root) %{_bindir}/swfcombine | |
92 | %attr(755,root,root) %{_bindir}/swfdump | |
93 | %attr(755,root,root) %{_bindir}/swfextract | |
2b07da33 | 94 | %attr(755,root,root) %{_bindir}/swfrender |
2ca2ce6d | 95 | %attr(755,root,root) %{_bindir}/swfstrings |
8cb5a734 | 96 | %attr(755,root,root) %{_bindir}/wav2swf |
2b07da33 | 97 | %{_mandir}/man1/as3compile.1* |
2ca2ce6d ER |
98 | %{_mandir}/man1/font2swf.1* |
99 | %{_mandir}/man1/gif2swf.1* | |
8cb5a734 JB |
100 | %{_mandir}/man1/jpeg2swf.1* |
101 | %{_mandir}/man1/pdf2swf.1* | |
102 | %{_mandir}/man1/png2swf.1* | |
2ca2ce6d ER |
103 | %{_mandir}/man1/swfbbox.1* |
104 | %{_mandir}/man1/swfc.1* | |
105 | %{_mandir}/man1/swfcombine.1* | |
106 | %{_mandir}/man1/swfdump.1* | |
107 | %{_mandir}/man1/swfextract.1* | |
2b07da33 | 108 | %{_mandir}/man1/swfrender.1* |
2ca2ce6d | 109 | %{_mandir}/man1/swfstrings.1* |
8cb5a734 | 110 | %{_mandir}/man1/wav2swf.1* |
2ca2ce6d | 111 | %{_datadir}/%{name} |
8cb5a734 JB |
112 | |
113 | %files avi | |
114 | %defattr(644,root,root,755) | |
115 | %attr(755,root,root) %{_bindir}/avi2swf | |
116 | %{_mandir}/man1/avi2swf.1* |