- gcc4 patch enabled.
[packages/faad2.git] / faad2.spec
CommitLineData
f4330271
JB
1#
2# Conditional build:
327697e7
JB
3%bcond_without mpeg4ip # build without mp4v2 support in decoder
4 # ...and don't build XMMS or MPEG4IP plugins
5%bcond_without xmms # don't build XMMS plugin
6%bcond_with bootstrap # bootstrap (alias for _without_mpeg4ip)
f4330271 7#
327697e7
JB
8%{?with_bootstrap:%undefine with_mpeg4ip}
9%{!?with_mpeg4ip:%undefine with_xmms}
9c3cb898 10Summary: Freeware Advanced Audio Decoder 2
11Summary(pl): Darmowy zaawansowany dekoder audio
12Name: faad2
db60caea 13Version: 2.0
269b5740 14Release: 5.4
9c3cb898 15License: GPL
327697e7 16Group: Applications/Sound
52db292f
JB
17Source0: http://dl.sourceforge.net/faac/%{name}-%{version}.tar.gz
18# Source0-md5: 1a6f79365f2934a4888b210ef47a3a07
19Patch0: %{name}-make.patch
281edd3d 20Patch1: %{name}-mp4v2.patch
93fb0621 21Patch2: %{name}-no-extension.patch
11a4afd0 22Patch3: %{name}-mpeg4ip.patch
b77518a5 23Patch4: %{name}-gcc4.patch
3d02632b 24Patch5: %{name}-inttypes_h.patch
9c3cb898 25URL: http://www.audiocoding.com/
26BuildRequires: autoconf
27BuildRequires: automake
52db292f 28%{?with_xmms:BuildRequires: id3lib-devel >= 3.8.2}
52db292f 29BuildRequires: libtool >= 2:1.4d-3
11a4afd0 30%{?with_mpeg4ip:BuildRequires: mpeg4ip-devel >= 1.1}
8fb3d2a2 31%{?with_xmms:BuildRequires: rpmbuild(macros) >= 1.125}
1ee9cb0a 32%{?with_xmms:BuildRequires: xmms-devel}
327697e7 33Requires: %{name}-libs = %{version}-%{release}
9c3cb898 34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
9c3cb898 36%description
37FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder,
38completely written from scratch.
39
f4330271
JB
40%description -l pl
41