Separate utilities from libraries
This commit is contained in:
parent
1e7d91f17b
commit
c1e7548002
24
pcre.spec
24
pcre.spec
@ -1,6 +1,6 @@
|
||||
Name: pcre
|
||||
Version: 8.13
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Perl-compatible regular expression library
|
||||
Group: System Environment/Libraries
|
||||
License: BSD
|
||||
@ -35,6 +35,13 @@ Group: Development/Libraries
|
||||
%description static
|
||||
Library for static linking for %{name}.
|
||||
|
||||
%package tools
|
||||
Summary: Auxiliary utilities for %{name}
|
||||
Group: Development/Tools
|
||||
|
||||
%description tools
|
||||
Utilities demonstrating PCRE capabilities like pcregrep or pcretest.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# Get rid of rpath
|
||||
@ -79,9 +86,6 @@ make check
|
||||
%defattr(-,root,root)
|
||||
/%{_lib}/*.so.*
|
||||
%{_libdir}/*.so.*
|
||||
%{_mandir}/man1/*
|
||||
%{_bindir}/pcregrep
|
||||
%{_bindir}/pcretest
|
||||
%doc AUTHORS COPYING LICENCE NEWS README ChangeLog
|
||||
|
||||
%files devel
|
||||
@ -89,6 +93,7 @@ make check
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_includedir}/*.h
|
||||
%{_mandir}/man1/pcre-config.*
|
||||
%{_mandir}/man3/*
|
||||
%{_bindir}/pcre-config
|
||||
%doc doc/*.txt doc/html
|
||||
@ -99,7 +104,18 @@ make check
|
||||
%{_libdir}/*.a
|
||||
%doc COPYING LICENCE
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/pcregrep
|
||||
%{_bindir}/pcretest
|
||||
%{_mandir}/man1/pcregrep.*
|
||||
%{_mandir}/man1/pcretest.*
|
||||
|
||||
%changelog
|
||||
* Thu Aug 18 2011 Petr Pisar <ppisar@redhat.com> - 8.13-2
|
||||
- Separate utilities from libraries
|
||||
- Move pcre-config(1) manual to pcre-devel sub-package
|
||||
|
||||
* Thu Aug 18 2011 Petr Pisar <ppisar@redhat.com> - 8.13-1
|
||||
- 8.13 bump: Bug-fix version, Unicode tables updated to 6.0.0, new pcregrep
|
||||
option --buffer-size to adjust to long lines, new feature is passing of
|
||||
|
Loading…
Reference in New Issue
Block a user