- without static_libs bcond
authorKarol Krenski <charles@pld-linux.org>
Thu, 24 Aug 2006 15:57:36 +0000 (15:57 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    faac.spec -> 1.9

faac.spec

index 8734d7d..ffb6b97 100644 (file)
--- a/faac.spec
+++ b/faac.spec
@@ -1,6 +1,7 @@
 #
 # Conditional build:
-%bcond_without mpeg4ip # without MPEG4 support in frontend (which requires mpeg4ip)
+%bcond_without mpeg4ip         # without MPEG4 support in frontend (which requires mpeg4ip)
+%bcond_without static_libs     # don't build static libraries
 #
 Summary:       Freeware Advanced Audio Codec
 Summary(pl):   Freeware Advanced Audio Codec - darmowy zaawansowany kodek d¼wiêku
@@ -82,7 +83,8 @@ dos2unix configure.in
 %{__autoheader}
 %{__automake}
 %configure \
-       %{!?with_mpeg4ip:--without-mp4v2}
+       %{!?with_mpeg4ip:--without-mp4v2} \
+       %{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -113,6 +115,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/lib*.la
 %{_includedir}/*.h
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
This page took 0.062035 seconds and 4 git commands to generate.