SPECS: pcre.spec - up to 6.1 (bugfix release), updated -cxx.patch ...
twittner
twittner at pld-linux.org
Wed Jun 22 17:07:09 CEST 2005
Author: twittner Date: Wed Jun 22 15:07:09 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- up to 6.1 (bugfix release), updated -cxx.patch
- added bcond_without static_libs
---- Files affected:
SPECS:
pcre.spec (1.60 -> 1.61)
---- Diffs:
================================================================
Index: SPECS/pcre.spec
diff -u SPECS/pcre.spec:1.60 SPECS/pcre.spec:1.61
--- SPECS/pcre.spec:1.60 Sun Jun 12 16:30:40 2005
+++ SPECS/pcre.spec Wed Jun 22 17:07:04 2005
@@ -1,14 +1,18 @@
# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without static_libs # don't build static libraries
+#
Summary: Perl-Compatible Regular Expression library
Summary(pl): Biblioteka perlowych wyrażeń regularnych
Summary(pt_BR): Biblioteca de expressőes regulares versăo
Name: pcre
-Version: 6.0
+Version: 6.1
Release: 1
License: BSD (see LICENCE)
Group: Libraries
Source0: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
-# Source0-md5: 9352eb6d2be5ad9d8360d2377d3cafac
+# Source0-md5: 069a8c34df7ec4bd0dad8f26c64c9dd3
Patch0: %{name}-cxx.patch
URL: http://www.pcre.org/
BuildRequires: autoconf >= 2.57
@@ -176,7 +180,7 @@
%{__aclocal}
%{__autoconf}
%configure \
- --enable-shared \
+ %{!?with_static_libs:--enable-static=no} \
--enable-utf8
%{__make}
@@ -227,10 +231,12 @@
%exclude %{_mandir}/man3/pcrecpp.3*
%{_examplesdir}/%{name}-%{version}
+%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libpcre.a
%{_libdir}/libpcreposix.a
+%endif
%files cxx
%defattr(644,root,root,755)
@@ -245,9 +251,11 @@
%{_includedir}/pcre_stringpiece.h
%{_mandir}/man3/pcrecpp.3*
+%if %{with static_libs}
%files cxx-static
%defattr(644,root,root,755)
%{_libdir}/libpcrecpp.a
+%endif
%files -n pcregrep
%defattr(644,root,root,755)
@@ -269,6 +277,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.61 2005/06/22 15:07:04 twittner
+- up to 6.1 (bugfix release), updated -cxx.patch
+- added bcond_without static_libs
+
Revision 1.60 2005/06/12 14:30:40 qboosh
- updated to 6.0, added cxx patch
- added cxx* subpackages with new libpcrecpp (C++ binding)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/pcre.spec?r1=1.60&r2=1.61&f=u
More information about the pld-cvs-commit
mailing list