From 62dafd42b302b22258ad11e7cc491426d303c024 Mon Sep 17 00:00:00 2001 From: Karol Krenski Date: Thu, 24 Aug 2006 15:57:36 +0000 Subject: [PATCH] - without static_libs bcond Changed files: faac.spec -> 1.9 --- faac.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/faac.spec b/faac.spec index 8734d7d..ffb6b97 100644 --- 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 -- 2.43.0