SPECS: libassuan.spec - added bcond_without static

witekfl witekfl at pld-linux.org
Tue Jun 14 22:02:58 CEST 2005


Author: witekfl                      Date: Tue Jun 14 20:02:58 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond_without static

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

---- Diffs:

================================================================
Index: SPECS/libassuan.spec
diff -u SPECS/libassuan.spec:1.15 SPECS/libassuan.spec:1.16
--- SPECS/libassuan.spec:1.15	Sat Dec 25 19:04:56 2004
+++ SPECS/libassuan.spec	Tue Jun 14 22:02:53 2005
@@ -1,4 +1,5 @@
 # $Revision$, $Date$
+%bcond_without	static	#don't build static library
 Summary:	Assuan - an IPC library for non-persistent servers
 Summary(pl):	Assuan - biblioteka IPC dla serwerów nie działających ciągle
 Name:		libassuan
@@ -65,7 +66,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	%{!?with_static:--disable-static}
 %{__make}
 
 %install
@@ -100,9 +102,11 @@
 %{_aclocaldir}/*.m4
 %{_infodir}/*.info*
 
+%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
@@ -110,6 +114,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.16  2005/06/14 20:02:53  witekfl
+- added bcond_without static
+
 Revision 1.15  2004/12/25 18:04:56  qboosh
 - automake epoch
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libassuan.spec?r1=1.15&r2=1.16&f=u




More information about the pld-cvs-commit mailing list