Author: charles                      Date: Sun Nov 30 00:06:20 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- -devel R: openssl-devel
- without static_libs bcond

---- Files affected:
SPECS:
   commoncpp2.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: SPECS/commoncpp2.spec
diff -u SPECS/commoncpp2.spec:1.20 SPECS/commoncpp2.spec:1.21
--- SPECS/commoncpp2.spec:1.20  Sat Aug 23 13:26:18 2008
+++ SPECS/commoncpp2.spec       Sun Nov 30 01:06:14 2008
@@ -1,4 +1,8 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs     # don't build static library
+#
 Summary:       A GNU package for creating portable C++ programs
 Summary(pl.UTF-8):     Pakiet GNU do tworzenia przenośnych programów w C++
 Name:          commoncpp2
@@ -46,6 +50,7 @@
 Requires:      %{name} = %{version}-%{release}
 Requires:      libstdc++-devel
 Requires:      libxml2-devel
+Requires:      openssl-devel
 Requires:      zlib-devel
 
 %description devel
@@ -77,6 +82,7 @@
 %{__autoheader}
 %{__automake}
 %configure \
+       %{!?with_static_libs:--disable-static} \
        --with-openssl
 %{__make}
 
@@ -116,9 +122,11 @@
 %{_pkgconfigdir}/*.pc
 %{_infodir}/*.info*
 
+%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
@@ -126,6 +134,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2008/11/30 00:06:14  charles
+- -devel R: openssl-devel
+- without static_libs bcond
+
 Revision 1.20  2008/08/23 11:26:18  qboosh
 - unified ftp.gnu.org URL
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/commoncpp2.spec?r1=1.20&r2=1.21&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to