SPECS: dbus-glib.spec - without static_libs bcond

charles charles at pld-linux.org
Sat Sep 13 19:11:51 CEST 2008


Author: charles                      Date: Sat Sep 13 17:11:51 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without static_libs bcond

---- Files affected:
SPECS:
   dbus-glib.spec (1.15 -> 1.16) 

---- Diffs:

================================================================
Index: SPECS/dbus-glib.spec
diff -u SPECS/dbus-glib.spec:1.15 SPECS/dbus-glib.spec:1.16
--- SPECS/dbus-glib.spec:1.15	Sat Sep 13 19:05:32 2008
+++ SPECS/dbus-glib.spec	Sat Sep 13 19:11:46 2008
@@ -2,6 +2,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
@@ -98,6 +99,7 @@
 %configure \
 	%{!?with_apidocs:--disable-gtk-doc} \
 	%{?with_apidocs:--with-html-dir=%{_gtkdocdir}} \
+	%{!?with_static_libs:--disable-static} \
 	--with-xml=expat
 
 cp %{SOURCE1} tools
@@ -132,9 +134,11 @@
 %{_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
@@ -148,6 +152,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2008/09/13 17:11:46  charles
+- without static_libs bcond
+
 Revision 1.15  2008/09/13 17:05:32  charles
 - BR: gettext-devel, gtk-doc-automake
 - without apidocs bcond
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/dbus-glib.spec?r1=1.15&r2=1.16&f=u



More information about the pld-cvs-commit mailing list