cvsdist 7a5caf1
Name: pcre
dd269d8
Version: 6.7
dd269d8
Release: 1
cvsdist 7a5caf1
Summary: Perl-compatible regular expression library
cvsdist 7a5caf1
URL: http://www.pcre.org/
cvsdist abd371a
Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
dba96c6
Patch1: pcre-6.6-multilib.patch
dd269d8
Patch2: pcre-6.6-stack.patch
7ae822c
License: BSD
cvsdist 7a5caf1
Group: System Environment/Libraries
cvsdist 7a5caf1
Prefix: %{_prefix}
8d4a32e
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
cvsdist 2166802
Prereq: /sbin/ldconfig
cvsdist 64a1270
BuildPrereq: sed
cvsdist 7a5caf1
cvsdist 7a5caf1
%description
cvsdist 7a5caf1
Perl-compatible regular expression library.
cvsdist 7a5caf1
PCRE has its own native API, but a set of "wrapper" functions that are based on
cvsdist 7a5caf1
the POSIX API are also supplied in the library libpcreposix. Note that this
cvsdist 7a5caf1
just provides a POSIX calling interface to PCRE: the regular expressions
cvsdist 7a5caf1
themselves still follow Perl syntax and semantics. The header file
cvsdist 7a5caf1
for the POSIX-style functions is called pcreposix.h.
cvsdist 7a5caf1
cvsdist 7a5caf1
%package devel
cvsdist 7a5caf1
Summary: Development files for %{name}
cvsdist 7a5caf1
Group: Development/Libraries
cvsdist 7a5caf1
Requires: %{name} = %{version}-%{release}
cvsdist 7a5caf1
cvsdist 7a5caf1
%description devel
cvsdist 7a5caf1
Development files (Headers, libraries for static linking, etc) for %{name}.
cvsdist 7a5caf1
cvsdist 7a5caf1
%prep
cvsdist 2166802
%setup -q
dba96c6
%patch1 -p1 -b .multilib
dd269d8
%patch2 -p1 -b .stack
cvsdist 7a5caf1
cvsdist 7a5caf1
%build
dd269d8
%configure --enable-utf8 --enable-unicode-properties
dba96c6
3ecca5c
make %{?_smp_mflags}
cvsdist 7a5caf1
cvsdist 7a5caf1
%install
dba96c6
rm -rf %{buildroot}
cvsdist 64a1270
dba96c6
make install DESTDIR=%{buildroot}
cvsdist 64a1270
dba96c6
mkdir -p %{buildroot}/%{_lib}
dba96c6
mv %{buildroot}%{_libdir}/libpcre.so.* %{buildroot}/%{_lib}/
dba96c6
pushd %{buildroot}%{_libdir}
cvsdist abd371a
ln -fs ../../%{_lib}/libpcre.so.0 libpcre.so
cvsdist abd371a
popd
dba96c6
dba96c6
# get rid of unneeded *.la files
dba96c6
rm -f %{buildroot}%{_libdir}/*.la
cvsdist 7a5caf1
3ecca5c
%check
3ecca5c
make check
3ecca5c
cvsdist 7a5caf1
%post -p /sbin/ldconfig
cvsdist 7a5caf1
cvsdist 7a5caf1
%postun -p /sbin/ldconfig
cvsdist 7a5caf1
cvsdist 64a1270
%clean
dba96c6
rm -rf %{buildroot}
cvsdist 64a1270
cvsdist 7a5caf1
%files
cvsdist 7a5caf1
%defattr(-,root,root)
cvsdist 64a1270
/%{_lib}/*.so.*
cvsdist 7a5caf1
%{_libdir}/*.so.*
cvsdist 7a5caf1
%{_mandir}/man1/*
cvsdist 7a5caf1
%{_bindir}/pcregrep
cvsdist e1fe3a7
%{_bindir}/pcretest
3ecca5c
%doc LICENCE AUTHORS
cvsdist 7a5caf1
cvsdist 7a5caf1
%files devel
cvsdist 7a5caf1
%defattr(-,root,root)
cvsdist 7a5caf1
%{_libdir}/*.so
cvsdist 7a5caf1
%{_libdir}/*.a
7ae822c
%{_libdir}/pkgconfig/*
7ae822c
%{_includedir}/*.h
cvsdist 7a5caf1
%{_mandir}/man3/*
cvsdist 7a5caf1
%{_bindir}/pcre-config
cvsdist 7a5caf1
cvsdist 7a5caf1
%changelog
dd269d8
* Mon Nov 27 2006 Than Ngo <than@redhat.com> - 6.7-1
dd269d8
- update to 6.7
dd269d8
- fix #217303, enable-unicode-properties
dd269d8
- sane stack limit
dd269d8
900923f
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 6.6-1.1
900923f
- rebuild
900923f
dba96c6
* Tue May 09 2006 Than Ngo <than@redhat.com> 6.6-1
dba96c6
- update to 6.6
dba96c6
- fix multilib problem
dba96c6
cae5019
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 6.3-1.2.1
cae5019
- bump again for double-long bug on ppc(64)
cae5019
e31304c
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 6.3-1.2
e31304c
- rebuilt for new gcc4.1 snapshot and glibc changes
e31304c
957659a
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
957659a
- rebuilt
957659a
8d4a32e
* Wed Aug 24 2005 Than Ngo <than@redhat.com> 6.3-1
8d4a32e
- update to 6.3
8d4a32e
673f624
* Fri Mar  4 2005 Joe Orton <jorton@redhat.com> 5.0-4
673f624
- rebuild
673f624
b3c7f59
* Fri Feb 11 2005 Joe Orton <jorton@redhat.com> 5.0-3
b3c7f59
- don't print $libdir in 'pcre-config --libs' output
b3c7f59
3ecca5c
* Thu Nov 18 2004 Joe Orton <jorton@redhat.com> 5.0-2
3ecca5c
- include LICENCE, AUTHORS in docdir
3ecca5c
- run make check
3ecca5c
- move %%configure to %%build
3ecca5c
7ae822c
* Thu Nov 18 2004 Than Ngo <than@redhat.com> 5.0-1
7ae822c
- update to 5.0
7ae822c
- change License: BSD
7ae822c
- fix header location #64248
7ae822c
cvsdist 5956667
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 5956667
- rebuilt
cvsdist 5956667
cvsdist e3f2c67
* Tue Mar 23 2004 Than Ngo <than@redhat.com> 4.5-2
cvsdist e3f2c67
- add the correct pcre license, #118781
cvsdist e3f2c67
cvsdist 2166802
* Fri Mar 12 2004 Than Ngo <than@redhat.com> 4.5-1
cvsdist 2166802
- update to 4.5
cvsdist 2166802
cvsdist 2166802
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 2166802
- rebuilt
cvsdist 2166802
cvsdist 2166802
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 2166802
- rebuilt
cvsdist 2166802
cvsdist abd371a
* Fri Sep 26 2003 Harald Hoyer <harald@redhat.de> 4.4-1
cvsdist abd371a
- 4.4
cvsdist abd371a
cvsdist abd371a
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist abd371a
- rebuilt
cvsdist abd371a
cvsdist abd371a
* Wed May  7 2003 Than Ngo <than@redhat.com> 4.2-1
cvsdist abd371a
- update to 4.2
cvsdist abd371a
cvsdist 64a1270
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 64a1270
- rebuilt
cvsdist 64a1270
cvsdist 64a1270
* Tue Jan 21 2003 Than Ngo <than@redhat.com> 3.9-9
cvsdist 64a1270
- build with utf8, bug #81504
cvsdist 64a1270
cvsdist 64a1270
* Fri Nov 22 2002 Elliot Lee <sopwith@redhat.com> 3.9-8
cvsdist 64a1270
- Really remove .la files
cvsdist 64a1270
cvsdist 64a1270
* Fri Oct 11 2002 Than Ngo <than@redhat.com> 3.9-7
cvsdist 64a1270
- remove .la
cvsdist 64a1270
cvsdist 64a1270
* Thu Oct 10 2002 Than Ngo <than@redhat.com> 3.9-7
cvsdist 64a1270
- Typo bug
cvsdist 64a1270
cvsdist 64a1270
* Wed Oct  9 2002 Than Ngo <than@redhat.com> 3.9-6
cvsdist 64a1270
- Added missing so symlink
cvsdist 64a1270
cvsdist 64a1270
* Thu Sep 19 2002 Than Ngo <than@redhat.com> 3.9-5.1
cvsdist 64a1270
- Fixed to build s390/s390x/x86_64
cvsdist 64a1270
cvsdist e1fe3a7
* Wed Jun 27 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.9-5
cvsdist e1fe3a7
- Fix #65009
cvsdist e1fe3a7
cvsdist 8284635
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 8284635
- automated rebuild
cvsdist 8284635
cvsdist 8284635
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 8284635
- automated rebuild
cvsdist 8284635
cvsdist 439d37b
* Mon Mar  4 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.9-2
cvsdist 439d37b
- rebuild
cvsdist 439d37b
cvsdist 439d37b
* Fri Jan 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.9-1
cvsdist 439d37b
- Update to 3.9
cvsdist 439d37b
cvsdist 439d37b
* Wed Nov 14 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.7-1
cvsdist 439d37b
- Update to 3.7
cvsdist 439d37b
cvsdist 7a5caf1
* Thu May 17 2001 Bernhard Rosenkraenzer <bero@redhat.com> 3.4-2
cvsdist 7a5caf1
- Move libpcre to /lib, grep uses it these days (#41104)
cvsdist 7a5caf1
cvsdist 7a5caf1
* Wed Apr 18 2001 Bernhard Rosenkraenzer <bero@redhat.com>
cvsdist 7a5caf1
- Move this to a separate package, used to be in kdesupport, but it's
cvsdist 7a5caf1
  generally useful...