From 32ca7068eab1c8a774c7f3bf75e1669000286172 Mon Sep 17 00:00:00 2001 From: twittner Date: Sat, 24 Apr 2004 19:29:57 +0000 Subject: [PATCH] - added bcond --without mp4v2 intended for bootstrap' - added --without-mp4v2 to configure in exchange for autodetection of mp4 library. - rel. 2 Changed files: faac.spec -> 1.4 --- faac.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/faac.spec b/faac.spec index 9128436..63a91c3 100644 --- a/faac.spec +++ b/faac.spec @@ -1,18 +1,22 @@ +# +%bcond_without mp4v2 # don't require mpeg4ip-devel +# Summary: Freeware Advanced Audio Codec Summary(pl): Freeware Advanced Audio Codec - darmowy zaawansowany kodek d¼wiêku Name: faac Version: 1.24 -Release: 1 +Release: 2 License: LGPL v2.1+ Group: Applications/Sound Source0: http://dl.sourceforge.net/faac/%{name}-%{version}.tar.gz # Source0-md5: 191a457d0a7139792e5dc0c5b607b6f1 Patch0: %{name}-link.patch +Patch1: %{name}-force_to_use_without-mp4v2.patch URL: http://www.audiocoding.com/ BuildRequires: autoconf >= 2.50 BuildRequires: automake BuildRequires: libtool -BuildRequires: mpeg4ip-devel +%{?with_mp4v2:BuildRequires: mpeg4ip-devel} Requires: %{name}-libs = %{version}-%{release} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -66,6 +70,7 @@ Statyczna biblioteka faac. %prep %setup -q -n %{name} %patch0 -p1 +%patch1 -p1 %build %{__libtoolize} @@ -73,7 +78,8 @@ Statyczna biblioteka faac. %{__autoconf} %{__autoheader} %{__automake} -%configure +%configure \ + %{!?with_mp4v2:--without-mp4v2} %{__make} %install -- 2.43.0