Summary(pl): Darmowy zaawansowany dekoder audio
Name: faad2
Version: 2.0
-Release: 3
+Release: 5.4
License: GPL
Group: Applications/Sound
Source0: http://dl.sourceforge.net/faac/%{name}-%{version}.tar.gz
# Source0-md5: 1a6f79365f2934a4888b210ef47a3a07
Patch0: %{name}-make.patch
Patch1: %{name}-mp4v2.patch
+Patch2: %{name}-no-extension.patch
+Patch3: %{name}-mpeg4ip.patch
+Patch4: %{name}-gcc4.patch
+Patch5: %{name}-inttypes_h.patch
URL: http://www.audiocoding.com/
BuildRequires: autoconf
BuildRequires: automake
%{?with_xmms:BuildRequires: id3lib-devel >= 3.8.2}
BuildRequires: libtool >= 2:1.4d-3
-%{?with_mpeg4ip:BuildRequires: mpeg4ip-devel >= 1.0}
-%{?with_xmms:Buildrequires: rpmbuild(macros) >= 1.125}
+%{?with_mpeg4ip:BuildRequires: mpeg4ip-devel >= 1.1}
+%{?with_xmms:BuildRequires: rpmbuild(macros) >= 1.125}
%{?with_xmms:BuildRequires: xmms-devel}
Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
%build
%{__libtoolize}
%{__autoheader}
%{__automake}
%configure \
- %{?with_xmms:--with-xmms}
+ --with%{!?with_xmms:out}-xmms \
+ --with%{!?with_mpeg4ip:out}-mp4v2
%{__make}