SPECS: libart_lgpl.spec - added bcond_without static

witekfl witekfl at pld-linux.org
Tue Jun 14 21:49:51 CEST 2005


Author: witekfl                      Date: Tue Jun 14 19:49:51 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static

---- Files affected:
SPECS:
   libart_lgpl.spec (1.29 -> 1.30) 

---- Diffs:

================================================================
Index: SPECS/libart_lgpl.spec
diff -u SPECS/libart_lgpl.spec:1.29 SPECS/libart_lgpl.spec:1.30
--- SPECS/libart_lgpl.spec:1.29	Wed May  4 00:24:06 2005
+++ SPECS/libart_lgpl.spec	Tue Jun 14 21:49:46 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	# don't build static library
 Summary:	Library of graphics routines used by libgnomecanvas
 Summary(pl):	Biblioteka funkcji graficznych używanych przez libgnomecanvas
 Name:		libart_lgpl
@@ -59,7 +60,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -88,9 +90,11 @@
 %{_includedir}/libart-2.0
 %{_pkgconfigdir}/*.pc
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -98,6 +102,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.30  2005/06/14 19:49:46  witekfl
+- added bcond_without static
+
 Revision 1.29  2005/05/03 22:24:06  pluto
 - release 2 for Th.
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libart_lgpl.spec?r1=1.29&r2=1.30&f=u




More information about the pld-cvs-commit mailing list