SPECS: at-spi.spec, libgcrypt.spec - added bcond_without static_libs

witekfl witekfl at pld-linux.org
Thu Jun 16 16:29:30 CEST 2005


Author: witekfl                      Date: Thu Jun 16 14:29:30 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static_libs

---- Files affected:
SPECS:
   at-spi.spec (1.56 -> 1.57) , libgcrypt.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SPECS/at-spi.spec
diff -u SPECS/at-spi.spec:1.56 SPECS/at-spi.spec:1.57
--- SPECS/at-spi.spec:1.56	Wed Jun  8 17:17:48 2005
+++ SPECS/at-spi.spec	Thu Jun 16 16:29:25 2005
@@ -1,4 +1,7 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
+#
 Summary:	Assistive Technology Service Provider Interface
 Summary(pl):	Interfejs pozwalający na korzystanie z urządzeń wspomagających
 Name:		at-spi
@@ -81,7 +84,8 @@
 %configure \
 	--enable-static \
 	--enable-gtk-doc \
-	--with-html-dir=%{_gtkdocdir}
+	--with-html-dir=%{_gtkdocdir} \
+	%{!?with_static_libs:--disable-static}
 %{__make}
 
 %install
@@ -117,9 +121,11 @@
 %{_gtkdocdir}/*
 %{_pkgconfigdir}/*
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -127,6 +133,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.57  2005/06/16 14:29:25  witekfl
+- added bcond_without static_libs
+
 Revision 1.56  2005/06/08 15:17:48  zbyniu
 - BR: intltool
 

================================================================
Index: SPECS/libgcrypt.spec
diff -u SPECS/libgcrypt.spec:1.45 SPECS/libgcrypt.spec:1.46
--- SPECS/libgcrypt.spec:1.45	Wed Feb  2 00:37:03 2005
+++ SPECS/libgcrypt.spec	Thu Jun 16 16:29:25 2005
@@ -1,4 +1,6 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	static_libs	# don't build static library
 Summary:	Cryptographic library based on the code from GnuPG
 Summary(es):	Libgcrypt es una biblioteca general de desarrole embasada em GnuPG
 Summary(pl):	Biblioteka kryptograficzna oparta na kodzie GnuPG
@@ -94,7 +96,8 @@
 %{__autoconf}
 %{__automake}
 %configure \
-	--enable-static
+	--enable-static \
+	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -136,9 +139,11 @@
 %{_includedir}/*.h
 %{_aclocaldir}/*.m4
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libgcrypt.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -146,6 +151,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2005/06/16 14:29:25  witekfl
+- added bcond_without static_libs
+
 Revision 1.45  2005/02/01 23:37:03  pawelb
 - added sparc64 patch (now should builds)
 - by Grzegorz Piotr Jaskiewicz
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/at-spi.spec?r1=1.56&r2=1.57&f=u
    http://cvs.pld-linux.org/SPECS/libgcrypt.spec?r1=1.45&r2=1.46&f=u




More information about the pld-cvs-commit mailing list