auto-import changelog data from pcre-3.9-10.src.rpm

Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
Tue Jan 21 2003 Than Ngo <than@redhat.com> 3.9-9
- build with utf8, bug 
Fri Nov 22 2002 Elliot Lee <sopwith@redhat.com> 3.9-8
- Really remove .la files
Fri Oct 11 2002 Than Ngo <than@redhat.com> 3.9-7
- remove .la
Thu Oct 10 2002 Than Ngo <than@redhat.com> 3.9-7
- Typo bug
Wed Oct 09 2002 Than Ngo <than@redhat.com> 3.9-6
- Added missing so symlink
Thu Sep 19 2002 Than Ngo <than@redhat.com> 3.9-5.1
- Fixed to build s390/s390x/x86_64
This commit is contained in:
cvsdist 2004-09-09 09:58:55 +00:00
parent e1fe3a7c6a
commit 64a1270abf

View File

@ -1,13 +1,15 @@
Name: pcre
Version: 3.9
Release: 5
Release: 10
Summary: Perl-compatible regular expression library
URL: http://www.pcre.org/
Source: ftp://ftp.sourceforge.net/projects/pcre/%{name}-%{version}.tar.bz2
Patch: pcre-3.9-libtool.patch
License: GPL
Group: System Environment/Libraries
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-root
BuildPrereq: sed
%description
Perl-compatible regular expression library.
@ -27,26 +29,32 @@ Development files (Headers, libraries for static linking, etc) for %{name}.
%prep
%setup
%configure --includedir=%{_includedir}/%{name}
%patch -p1 -b .libtool
%configure --includedir=%{_includedir}/%{name} --enable-utf8
%build
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/lib
mv $RPM_BUILD_ROOT%{_libdir}/libpcre.so* $RPM_BUILD_ROOT/lib
sed -e "s,/usr/lib,/lib,g" $RPM_BUILD_ROOT%{_libdir}/libpcre.la >$RPM_BUILD_ROOT/lib/libpcre.la
rm -f $RPM_BUILD_ROOT%{_libdir}/libpcre.la
mkdir -p $RPM_BUILD_ROOT/%{_lib}
mv $RPM_BUILD_ROOT%{_libdir}/libpcre.so.* $RPM_BUILD_ROOT/%{_lib}/
( cd $RPM_BUILD_ROOT%{_libdir} && ln -fs ../../%{_lib}/libpcre.so.0 libpcre.so )
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
/lib/*.so.*
/%{_lib}/*.so.*
%{_libdir}/*.so.*
%{_mandir}/man1/*
%{_bindir}/pcregrep
@ -54,20 +62,35 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libpcre.la
%files devel
%defattr(-,root,root)
/lib/*.so
/lib/*.la
%{_libdir}/*.so
%{_libdir}/*.la
%{_libdir}/*.a
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*
%{_mandir}/man3/*
%{_bindir}/pcre-config
%clean
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}
%changelog
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Tue Jan 21 2003 Than Ngo <than@redhat.com> 3.9-9
- build with utf8, bug #81504
* Fri Nov 22 2002 Elliot Lee <sopwith@redhat.com> 3.9-8
- Really remove .la files
* Fri Oct 11 2002 Than Ngo <than@redhat.com> 3.9-7
- remove .la
* Thu Oct 10 2002 Than Ngo <than@redhat.com> 3.9-7
- Typo bug
* Wed Oct 9 2002 Than Ngo <than@redhat.com> 3.9-6
- Added missing so symlink
* Thu Sep 19 2002 Than Ngo <than@redhat.com> 3.9-5.1
- Fixed to build s390/s390x/x86_64
* Wed Jun 27 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.9-5
- Fix #65009