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