diff --git a/pcre.spec b/pcre.spec index 2d20609..2a4ef21 100644 --- a/pcre.spec +++ b/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 - 8.13-2 +- Separate utilities from libraries +- Move pcre-config(1) manual to pcre-devel sub-package + * Thu Aug 18 2011 Petr Pisar - 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