- include LICENCE, AUTHORS in docdir
- run make check - move %configure to %build
This commit is contained in:
parent
7ae822c6b4
commit
3ecca5c01e
15
pcre.spec
15
pcre.spec
@ -1,6 +1,6 @@
|
|||||||
Name: pcre
|
Name: pcre
|
||||||
Version: 5.0
|
Version: 5.0
|
||||||
Release: 1
|
Release: 2
|
||||||
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.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
|
Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2
|
||||||
@ -31,10 +31,10 @@ Development files (Headers, libraries for static linking, etc) for %{name}.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1 -b .amd64
|
%patch -p1 -b .amd64
|
||||||
%configure --enable-utf8
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make
|
%configure --enable-utf8
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -48,6 +48,9 @@ ln -fs ../../%{_lib}/libpcre.so.0 libpcre.so
|
|||||||
popd
|
popd
|
||||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||||
|
|
||||||
|
%check
|
||||||
|
make check
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
@ -62,6 +65,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
%{_bindir}/pcregrep
|
%{_bindir}/pcregrep
|
||||||
%{_bindir}/pcretest
|
%{_bindir}/pcretest
|
||||||
|
%doc LICENCE AUTHORS
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -73,6 +77,11 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_bindir}/pcre-config
|
%{_bindir}/pcre-config
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 18 2004 Joe Orton <jorton@redhat.com> 5.0-2
|
||||||
|
- include LICENCE, AUTHORS in docdir
|
||||||
|
- run make check
|
||||||
|
- move %%configure to %%build
|
||||||
|
|
||||||
* Thu Nov 18 2004 Than Ngo <than@redhat.com> 5.0-1
|
* Thu Nov 18 2004 Than Ngo <than@redhat.com> 5.0-1
|
||||||
- update to 5.0
|
- update to 5.0
|
||||||
- change License: BSD
|
- change License: BSD
|
||||||
|
Loading…
Reference in New Issue
Block a user