diff --git a/libpcre.spec b/libpcre.spec index 7b5a66e..0539102 100644 --- a/libpcre.spec +++ b/libpcre.spec @@ -1,19 +1,21 @@ Name: libpcre -Version: 8.43 -Release: 1mamba +Version: 8.44 +Release: 2mamba Summary: PCRE is a Perl-compatible regular expression library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.pcre.org -Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-%{version}.tar.bz2 +Source: https://ftp.pcre.org/pub/pcre/pcre-%{version}.tar.bz2 +#Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-%{version}.tar.bz2 License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: ldconfig BuildRequires: libbzip2-devel BuildRequires: libgcc -BuildRequires: libncurses5 +BuildRequires: libncurses-devel BuildRequires: libreadline-devel BuildRequires: libstdc++6-devel BuildRequires: libz-devel @@ -32,12 +34,20 @@ To use it with an existing program that uses the POSIX API, it will have to be r %package devel Summary: Development for PCRE libraries Group: Development/Libraries -Requires: %{name} = %{version} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Provides: libpcre3-devel %description devel Development files needed to build software that makes use of PCRE libraries. +%package tools +Summary: Tools provided with PCRE libraries +Group: System/Tools +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description tools +Tools provided with PCRE libraries. + %debug_package %prep @@ -71,15 +81,12 @@ ln -s libpcreposix.so.0 %{buildroot}%{_libdir}/libpcreposix.so.3 %files %defattr(-,root,root) -%{_bindir}/pcregrep -%{_bindir}/pcretest %{_libdir}/libpcre.so.1* %{_libdir}/libpcre.so.3 %{_libdir}/libpcre16.so.* %{_libdir}/libpcre32.so.* %{_libdir}/libpcrecpp.so.* %{_libdir}/libpcreposix.so.* -%{_mandir}/man1/* %doc AUTHORS LICENCE %files devel @@ -111,7 +118,19 @@ ln -s libpcreposix.so.0 %{buildroot}%{_libdir}/libpcreposix.so.3 %{_docdir}/pcre/* %doc ChangeLog NEWS README +%files tools +%defattr(-,root,root) +%{_bindir}/pcregrep +%{_bindir}/pcretest +%{_mandir}/man1/* + %changelog +* Wed Sep 09 2020 Silvan Calarco 8.44-2mamba +- add a -tools package + +* Wed Sep 09 2020 Silvan Calarco 8.44-1mamba +- update to 8.44 + * Fri Mar 01 2019 Automatic Build System 8.43-1mamba - automatic version update by autodist