]> git.pld-linux.org Git - packages/faac.git/blobdiff - faac.spec
- added bcond --without mp4v2 intended for bootstrap'
[packages/faac.git] / faac.spec
index 9128436baa92940a9943762925a188605781d95d..63a91c3c35afe529b9fd81f566f6082e81376ea9 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.089746 seconds and 4 git commands to generate.