cvsdist 7a5caf1
Name: pcre
7ae822c
Version: 5.0
673f624
Release: 4
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
b3c7f59
Patch0: pcre-5.0-amd64.patch
b3c7f59
Patch1: pcre-5.0-libdir.patch
7ae822c
License: BSD
cvsdist 7a5caf1
Group: System Environment/Libraries
cvsdist 7a5caf1
Prefix: %{_prefix}
cvsdist 7a5caf1
BuildRoot: %{_tmppath}/%{name}-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
b3c7f59
%patch0 -p1 -b .amd64
b3c7f59
%patch1 -p1 -b .libdir
cvsdist 7a5caf1
cvsdist 7a5caf1
%build
3ecca5c
%configure --enable-utf8
3ecca5c
make %{?_smp_mflags}
cvsdist 7a5caf1
cvsdist 7a5caf1
%install
cvsdist 7a5caf1
rm -rf $RPM_BUILD_ROOT
cvsdist 64a1270
cvsdist 7a5caf1
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist 64a1270
cvsdist 64a1270
mkdir -p $RPM_BUILD_ROOT/%{_lib}
cvsdist 64a1270
mv $RPM_BUILD_ROOT%{_libdir}/libpcre.so.* $RPM_BUILD_ROOT/%{_lib}/
cvsdist abd371a
pushd $RPM_BUILD_ROOT%{_libdir}
cvsdist abd371a
ln -fs ../../%{_lib}/libpcre.so.0 libpcre.so
cvsdist abd371a
popd
cvsdist 64a1270
rm -f $RPM_BUILD_ROOT%{_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
cvsdist 64a1270
rm -rf $RPM_BUILD_ROOT
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
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...