]> git.pld-linux.org Git - packages/dbus-glib.git/commitdiff
- without static_libs bcond
authorKarol Krenski <charles@pld-linux.org>
Sat, 13 Sep 2008 17:11:46 +0000 (17:11 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    dbus-glib.spec -> 1.16

dbus-glib.spec

index 760b1a0a53c319c798f82bee76f187c141098048..dc8091f1a73c8a5c77416912d4c90353b6bb566b 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without apidocs         # disable gtk-doc
+%bcond_without static_libs     # don't build static library
 #
 %define                dbus_version    0.93
 %define                expat_version   1:1.95.5
@@ -97,6 +98,7 @@ echo 'AC_DEFUN([GTK_DOC_CHECK],[])' >> acinclude.m4
 %configure \
        %{!?with_apidocs:--disable-gtk-doc} \
        %{?with_apidocs:--with-html-dir=%{_gtkdocdir}} \
+       %{!?with_static_libs:--disable-static} \
        --with-xml=expat
 
 cp %{SOURCE1} tools
@@ -131,9 +133,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/dbus*/dbus/dbus-gtype-specialized.h
 %{_pkgconfigdir}/dbus-glib-1.pc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libdbus-glib-1.a
+%endif
 
 %if %{with apidocs}
 %files apidocs
This page took 0.105925 seconds and 4 git commands to generate.