3 %bcond_without xmms # without XMMS plugin
6 Summary: Freeware Advanced Audio Decoder 2
7 Summary(pl): Darmowy zaawansowany dekoder audio
13 Source0: http://dl.sourceforge.net/faac/%{name}-%{version}-%{_rc}.tar.gz
14 # Source0-md5: 0080076438655ed7facf1089a9805aff
15 URL: http://www.audiocoding.com/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 %{!?_without_xmms:BuildRequires: id3lib-devel >= 3.8.2 }
19 BuildRequires: libsndfile-devel >= 1.0.4
20 BuildRequires: libtool
21 %{!?_without_xmms:Buildrequires: rpmbuild(macros) >= 1.125}
22 %{!?_without_xmms:BuildRequires: xmms-devel}
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder,
27 completely written from scratch.
30 FAAD 2 to napisany ca³kowicie od pocz±tku dekoder MPEG2 i MPEG-4
31 obs³uguj±cy profile LC, MAIN i LTP.
34 Summary: Devel files for faad2
35 Summary(pl): Pliki nag³ówkowe faad2
36 Group: Development/Libraries
37 Requires: %{name} = %{version}
40 Devel files for faad2.
42 %description devel -l pl
43 Pliki nag³ówkowe faad2.
46 Summary: Static faad2 library
47 Summary(pl): Statyczna biblioteka faad2
48 Group: Development/Libraries
49 Requires: %{name}-devel = %{version}
54 %description static -l pl
55 Statyczna biblioteka faad2.
57 %package -n xmms-input-faad2
58 Summary: XMMS plugin for AAC files
59 Summary(pl): Wtyczka XMMS do plików AAC
60 Group: X11/Applications/Sound
61 Requires: %{name} = %{version}
64 %description -n xmms-input-faad2
65 XMMS plugin for AAC files.
67 %description -n xmms-input-faad2 -l pl
68 Wtyczka XMMS do plików AAC.
79 %{__make} -C plugins/xmms \
84 rm -rf $RPM_BUILD_ROOT
87 DESTDIR=$RPM_BUILD_ROOT
93 GTK_CONFIG=gtk-config \
94 DESTDIR=$RPM_BUILD_ROOT
98 rm -rf $RPM_BUILD_ROOT
100 %post -p /sbin/ldconfig
101 %postun -p /sbin/ldconfig
104 %defattr(644,root,root,755)
105 %doc AUTHORS ChangeLog NEWS README TODO
106 %attr(755,root,root) %{_bindir}/*
107 %attr(755,root,root) %{_libdir}/lib*.so.*.*
110 %defattr(644,root,root,755)
111 %attr(755,root,root) %{_libdir}/lib*.so
116 %defattr(644,root,root,755)
120 %files -n xmms-input-faad2
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{xmms_input_plugindir}/*.so