SPECS: ossp-str.spec - up to 0.9.11

twittner twittner at pld-linux.org
Tue Oct 4 19:38:22 CEST 2005


Author: twittner                     Date: Tue Oct  4 17:38:22 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.9.11

---- Files affected:
SPECS:
   ossp-str.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/ossp-str.spec
diff -u SPECS/ossp-str.spec:1.3 SPECS/ossp-str.spec:1.4
--- SPECS/ossp-str.spec:1.3	Thu Apr 28 21:25:18 2005
+++ SPECS/ossp-str.spec	Tue Oct  4 19:38:17 2005
@@ -1,16 +1,19 @@
 # $Revision$, $Date$
-
+#
+# Conditional build:
+%bcond_without	static_libs # don't build static libraries
+#
 %define tarballname str
-
+#
 Summary:	OSSP str - string handling library
 Summary(pl):	OSSP str - biblioteka do obsługi łańcuchów znaków
 Name:		ossp-str
-Version:	0.9.10
+Version:	0.9.11
 Release:	0.1
 License:	distributable (see README)
 Group:		Libraries
 Source0:	ftp://ftp.ossp.org/pkg/lib/str/%{tarballname}-%{version}.tar.gz
-# Source0-md5:	067832cd34c06980f2dc1bc4142d9987
+# Source0-md5:	e9ff9178f8532ff7237c8cd6b4508ad7
 Patch0:		%{name}-DESTDIR.patch
 URL:		http://www.ossp.org/pkg/lib/str/
 BuildRequires:	autoconf
@@ -66,7 +69,8 @@
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
-%configure
+%configure \
+	%{!?with_static_libs:--enable-static=no}
 %{__make}
 
 %install
@@ -94,9 +98,11 @@
 %{_includedir}/*
 %{_mandir}/man[13]/*
 
+%if %{with static}
 %files static
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/lib*.a
+%endif
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -104,6 +110,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2005/10/04 17:38:17  twittner
+- up to 0.9.11
+
 Revision 1.3  2005/04/28 19:25:18  qboosh
 - pl, BRs, unified
 
================================================================

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




More information about the pld-cvs-commit mailing list