]> git.pld-linux.org Git - packages/faad2.git/blame - faad2.spec
- build fix.
[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
11a4afd0 14Release: 5
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
9c3cb898 23URL: http://www.audiocoding.com/
24BuildRequires: autoconf
25BuildRequires: automake
52db292f 26%{?with_xmms:BuildRequires: id3lib-devel >= 3.8.2}
52db292f 27BuildRequires: libtool >= 2:1.4d-3
11a4afd0 28%{?with_mpeg4ip:BuildRequires: mpeg4ip-devel >= 1.1}
8fb3d2a2 29%{?with_xmms:BuildRequires: rpmbuild(macros) >= 1.125}
1ee9cb0a 30%{?with_xmms:BuildRequires: xmms-devel}
327697e7 31Requires: %{name}-libs = %{version}-%{release}
9c3cb898 32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
9c3cb898 34%description
35FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder,
36completely written from scratch.
37
f4330271
JB
38%description -l pl
39