]> git.pld-linux.org Git - packages/GConf2.git/commitdiff
- added bcond_without static_libs
authorwitekfl <witekfl@pld-linux.org>
Mon, 13 Jun 2005 19:38:22 +0000 (19:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    GConf2.spec -> 1.85

GConf2.spec

index adcb4ae621a9cf1607295d9088792421375dd671..1a53504ff45db5aa9e3b65fbc6ebf0f830625de2 100644 (file)
@@ -1,3 +1,4 @@
+%bcond_without static_libs     # don't build static libraries
 Summary:       GNOME2 configuration database system
 Summary(pl):   System konfiguracyjnej bazy danych dla GNOME 2
 Summary(pt_BR):        Sistema de ConfiguraĆ§Ć£o do GNOME 2
@@ -95,6 +96,7 @@ rm -f acinclude.m4
 %{__automake}
 %configure \
        --with-html-dir=%{_gtkdocdir} \
+       %{!?with_static_libs:--disable-static} \
 %ifarch ppc
        --disable-gtk-doc
 %else
@@ -146,6 +148,8 @@ rm -rf $RPM_BUILD_ROOT
 %{_pkgconfigdir}/*.pc
 %{_gtkdocdir}/gconf
 
+%if %{with_static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
This page took 0.119644 seconds and 4 git commands to generate.