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 #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 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:
parent
e1fe3a7c6a
commit
64a1270abf
49
pcre.spec
49
pcre.spec
@ -1,13 +1,15 @@
|
|||||||
Name: pcre
|
Name: pcre
|
||||||
Version: 3.9
|
Version: 3.9
|
||||||
Release: 5
|
Release: 10
|
||||||
Summary: Perl-compatible regular expression library
|
Summary: Perl-compatible regular expression library
|
||||||
URL: http://www.pcre.org/
|
URL: http://www.pcre.org/
|
||||||
Source: ftp://ftp.sourceforge.net/projects/pcre/%{name}-%{version}.tar.bz2
|
Source: ftp://ftp.sourceforge.net/projects/pcre/%{name}-%{version}.tar.bz2
|
||||||
|
Patch: pcre-3.9-libtool.patch
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
Prefix: %{_prefix}
|
Prefix: %{_prefix}
|
||||||
BuildRoot: %{_tmppath}/%{name}-root
|
BuildRoot: %{_tmppath}/%{name}-root
|
||||||
|
BuildPrereq: sed
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Perl-compatible regular expression library.
|
Perl-compatible regular expression library.
|
||||||
@ -27,26 +29,32 @@ Development files (Headers, libraries for static linking, etc) for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
%configure --includedir=%{_includedir}/%{name}
|
%patch -p1 -b .libtool
|
||||||
|
%configure --includedir=%{_includedir}/%{name} --enable-utf8
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
make install DESTDIR=$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
|
mkdir -p $RPM_BUILD_ROOT/%{_lib}
|
||||||
sed -e "s,/usr/lib,/lib,g" $RPM_BUILD_ROOT%{_libdir}/libpcre.la >$RPM_BUILD_ROOT/lib/libpcre.la
|
mv $RPM_BUILD_ROOT%{_libdir}/libpcre.so.* $RPM_BUILD_ROOT/%{_lib}/
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/libpcre.la
|
( cd $RPM_BUILD_ROOT%{_libdir} && ln -fs ../../%{_lib}/libpcre.so.0 libpcre.so )
|
||||||
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/lib/*.so.*
|
/%{_lib}/*.so.*
|
||||||
%{_libdir}/*.so.*
|
%{_libdir}/*.so.*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_bindir}/pcregrep
|
%{_bindir}/pcregrep
|
||||||
@ -54,20 +62,35 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libpcre.la
|
|||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/lib/*.so
|
|
||||||
/lib/*.la
|
|
||||||
%{_libdir}/*.so
|
%{_libdir}/*.so
|
||||||
%{_libdir}/*.la
|
|
||||||
%{_libdir}/*.a
|
%{_libdir}/*.a
|
||||||
%dir %{_includedir}/%{name}
|
%dir %{_includedir}/%{name}
|
||||||
%{_includedir}/%{name}/*
|
%{_includedir}/%{name}/*
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
%{_bindir}/pcre-config
|
%{_bindir}/pcre-config
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}
|
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 27 2002 Bernhard Rosenkraenzer <bero@redhat.com> 3.9-5
|
||||||
- Fix #65009
|
- Fix #65009
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user