SPECS: cgicc.spec - added standard `bcond_without static_libs' - `...

twittner twittner at pld-linux.org
Tue Nov 28 20:00:48 CET 2006


Author: twittner                     Date: Tue Nov 28 19:00:48 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added standard `bcond_without static_libs'
- `License:' updated in accordance with
   http://www.cgicc.org/doc/cgicc_license.html

---- Files affected:
SPECS:
   cgicc.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: SPECS/cgicc.spec
diff -u SPECS/cgicc.spec:1.4 SPECS/cgicc.spec:1.5
--- SPECS/cgicc.spec:1.4	Tue Nov 28 19:05:02 2006
+++ SPECS/cgicc.spec	Tue Nov 28 20:00:42 2006
@@ -1,10 +1,13 @@
 # $Revision$, $Date$
+# Conditional build:
+%bcond_without	static_libs # don't build static libraries
+#
 Summary:	A C++ library for CGI programming
 Summary(pl):	Biblioteka C++ do programowania CGI
 Name:		cgicc
 Version:	3.2.3
 Release:	0.1
-License:	GPL v2
+License:	library: LGPL v2.1, demos: GPL v2, documentation: GFDL v1.1
 Group:		Libraries
 Source0:	ftp://ftp.cgicc.org/%{name}-%{version}.tar.bz2
 # Source0-md5:	cd7a7a5a1fd186bd8f481c4e17354a0b
@@ -77,7 +80,8 @@
 %{__autoconf}
 %{__autoheader}
 %{__automake}
-%configure
+%configure \
+	--enable-static=%{?with_static_libs:yes}%{!?with_static_libs:no}
 %{__make}
 
 %install
@@ -103,9 +107,11 @@
 %{_libdir}/lib*.la
 %{_includedir}/cgicc
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -113,6 +119,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2006/11/28 19:00:42  twittner
+- added standard `bcond_without static_libs'
+- `License:' updated in accordance with
+   http://www.cgicc.org/doc/cgicc_license.html
+
 Revision 1.4  2006/11/28 18:05:02  qboosh
 - standard files scheme for libtool library
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/cgicc.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list