]>
Commit | Line | Data |
---|---|---|
f4330271 JB |
1 | # |
2 | # Conditional build: | |
68e9ffd2 | 3 | %bcond_with bootstrap # bootstrap (alias for _without_mpeg4ip) |
7c7f8a92 | 4 | %bcond_without mpeg4ip # don't build MPEG4IP plugin |
68e9ffd2 | 5 | %bcond_without static_libs # don't build static libraries |
327697e7 | 6 | %bcond_without xmms # don't build XMMS plugin |
f4330271 | 7 | # |
327697e7 | 8 | %{?with_bootstrap:%undefine with_mpeg4ip} |
9c3cb898 | 9 | Summary: Freeware Advanced Audio Decoder 2 |
10 | Summary(pl): Darmowy zaawansowany dekoder audio | |
11 | Name: faad2 | |
7c7f8a92 | 12 | Version: 2.5 |
ef63bfff | 13 | Release: 2 |
9c3cb898 | 14 | License: GPL |
327697e7 | 15 | Group: Applications/Sound |
52db292f | 16 | Source0: http://dl.sourceforge.net/faac/%{name}-%{version}.tar.gz |
7c7f8a92 | 17 | # Source0-md5: 696490935bf65b2ace4aafaff79e2396 |
52db292f | 18 | Patch0: %{name}-make.patch |
7c7f8a92 JB |
19 | Patch1: %{name}-no-extension.patch |
20 | Patch2: %{name}-mpeg4ip.patch | |
21 | Patch3: %{name}-inttypes_h.patch | |
ef63bfff SS |
22 | Patch4: %{name}-soname.patch |
23 | Patch5: %{name}-backward_compat.patch | |
9c3cb898 | 24 | URL: http://www.audiocoding.com/ |
c03578bb | 25 | %{?with_mpeg4ip:BuildRequires: SDL-devel} |
9c3cb898 | 26 | BuildRequires: autoconf |
27 | BuildRequires: automake | |
52db292f | 28 | %{?with_xmms:BuildRequires: id3lib-devel >= 3.8.2} |
52db292f | 29 | BuildRequires: libtool >= 2:1.4d-3 |
b78b7321 | 30 | %{?with_mpeg4ip:BuildRequires: mpeg4ip-devel >= 1:1.5} |
8fb3d2a2 | 31 | %{?with_xmms:BuildRequires: rpmbuild(macros) >= 1.125} |
1ee9cb0a | 32 | %{?with_xmms:BuildRequires: xmms-devel} |
327697e7 | 33 | Requires: %{name}-libs = %{version}-%{release} |
9c3cb898 | 34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
9c3cb898 | 36 | %description |
37 | FAAD 2 is a LC, MAIN and LTP profile, MPEG2 and MPEG-4 AAC decoder, | |
38 | completely written from scratch. | |
39 | ||
f4330271 JB |
40 | %description -l pl |
41 |