SPECS: crossmingw32-pcre.spec - updated to 6.0 (with cxx patch) - ...

qboosh qboosh at pld-linux.org
Sun Jun 12 17:48:20 CEST 2005


Author: qboosh                       Date: Sun Jun 12 15:48:20 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 6.0 (with cxx patch)
- package pcreposix,pcrecpp libs too

---- Files affected:
SPECS:
   crossmingw32-pcre.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: SPECS/crossmingw32-pcre.spec
diff -u SPECS/crossmingw32-pcre.spec:1.8 SPECS/crossmingw32-pcre.spec:1.9
--- SPECS/crossmingw32-pcre.spec:1.8	Sat Oct  9 13:04:07 2004
+++ SPECS/crossmingw32-pcre.spec	Sun Jun 12 17:48:15 2005
@@ -3,18 +3,20 @@
 Summary:	Perl-Compatible Regular Expression library - Mingw32 cross version
 Summary(pl):	Biblioteka perlowych wyrażeń regularnych - wersja skrośna dla Mingw32
 Name:		crossmingw32-%{realname}
-Version:	5.0
-Release:	3
+Version:	6.0
+Release:	1
 License:	BSD (see LICENCE)
 Group:		Libraries
 Source0:	ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{realname}-%{version}.tar.bz2
 # Source0-md5:	813850808894d99fb5b1c41ec6335d4f
-Requires:	crossmingw32-runtime
+Patch0:		pcre-cxx.patch
+URL:		http://www.cpre.org/
 BuildRequires:	autoconf
 BuildRequires:	automake
-BuildRequires:	crossmingw32-gcc
+BuildRequires:	crossmingw32-gcc-c++
 BuildRequires:	crossmingw32-w32api
 BuildRequires:	libtool
+Requires:	crossmingw32-runtime
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		no_install_post_strip	1
@@ -56,6 +58,7 @@
 
 %prep
 %setup -q -n %{realname}-%{version}
+%patch0 -p1
 
 %build
 CC=%{target}-gcc ; export CC
@@ -82,7 +85,9 @@
 cc -c %{rpmcflags} -I. dftables.c
 cc %{rpmcflags} -I. -I. -o dftables dftables.o
 
-%{__make} winshared
+# override EXEEXT to use host binaries
+%{__make} winshared \
+	EXEEXT=
 
 %if 0%{!?debug:1}
 %{target}-strip .libs/*.dll
@@ -94,9 +99,11 @@
 install -d $RPM_BUILD_ROOT%{arch}/{include,lib}
 install -d $RPM_BUILD_ROOT%{_datadir}/wine/windows/system
 
-install pcre.h $RPM_BUILD_ROOT%{arch}/include
-install .libs/libpcre{,.dll}.a $RPM_BUILD_ROOT%{arch}/lib
-install .libs/pcre.dll $RPM_BUILD_ROOT%{_datadir}/wine/windows/system
+install pcre.h pcreposix.h pcrecpp.h pcre_scanner.h pcre_stringpiece.h \
+	$RPM_BUILD_ROOT%{arch}/include
+install .libs/libpcre{,posix,cpp}.a $RPM_BUILD_ROOT%{arch}/lib
+install .libs/{libpcre,pcreposix,pcrecpp}.dll.a $RPM_BUILD_ROOT%{arch}/lib
+install .libs/pcre{,posix,cpp}.dll $RPM_BUILD_ROOT%{_datadir}/wine/windows/system
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -116,6 +123,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2005/06/12 15:48:15  qboosh
+- updated to 6.0 (with cxx patch)
+- package pcreposix,pcrecpp libs too
+
 Revision 1.8  2004/10/09 11:04:07  wolf
 - rel++
 - R: crossmingw32-runtime
@@ -141,4 +152,3 @@
 
 Revision 1.1  2003/12/25 16:57:38  wolf
 - blah
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/crossmingw32-pcre.spec?r1=1.8&r2=1.9&f=u




More information about the pld-cvs-commit mailing list