- added bcond --without mp4v2 intended for bootstrap'
authortwittner <twittner@pld-linux.org>
Sat, 24 Apr 2004 19:29:57 +0000 (19:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added --without-mp4v2 to configure in exchange for autodetection of mp4
  library.
- rel. 2

Changed files:
    faac.spec -> 1.4

faac.spec

index 9128436..63a91c3 100644 (file)
--- 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
This page took 0.072703 seconds and 4 git commands to generate.