]> git.pld-linux.org Git - packages/libextractor.git/commitdiff
- added bcond_without static_libs
authorwitekfl <witekfl@pld-linux.org>
Wed, 15 Jun 2005 20:42:31 +0000 (20:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libextractor.spec -> 1.29

libextractor.spec

index f24874435c113d05406a2af641a78ca878c5d782..e2c0e20242eac0212315c0c8507f02e72192798f 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_with    static          # build with static glib
+%bcond_without static_libs     # don't build static library
 #
 Summary:       Meta-data extraction library
 Summary(pl):   Biblioteka do ekstrakcji metadanych
@@ -140,7 +141,8 @@ Modu
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+       %{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -254,9 +256,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/extractor.h
 %{_mandir}/man3/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libextractor.a
+%endif
 
 %files -n python-extractor
 %defattr(644,root,root,755)
This page took 0.102879 seconds and 4 git commands to generate.