]> git.pld-linux.org Git - packages/flac.git/commitdiff
- added without static_libs bcond
authorKarol Krenski <charles@pld-linux.org>
Mon, 1 May 2006 00:05:39 +0000 (00:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    flac.spec -> 1.46

flac.spec

index c1f4d888e02f8193e251b8034ceda3ebf91e3159..5743a3ca809d0ee624f8ae8aac2adff5fc4b7c17 100644 (file)
--- a/flac.spec
+++ b/flac.spec
@@ -1,7 +1,8 @@
 # maybe TODO: split (c++, ogg?)
 #
 # Conditional build:
-%bcond_without xmms    # don't build XMMS plugin
+%bcond_without static_libs     # don't build static library
+%bcond_without xmms            # don't build XMMS plugin
 #
 Summary:       Free Lossless Audio Codec
 Summary(pl):   Free Lossless Audio Codec - Wolnodostêpny bezstratny kodek audio
@@ -81,7 +82,8 @@ Wtyczka dla XMMS umo
 %{__aclocal}
 %{__autoconf}
 %{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -116,9 +118,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/*
 %{_aclocaldir}/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %if %{with xmms}
 %files -n xmms-input-flac
This page took 0.805315 seconds and 4 git commands to generate.