2024-01-06 05:21:36 +01:00
|
|
|
Name: libpcre
|
2024-01-06 05:21:37 +01:00
|
|
|
Version: 8.45
|
|
|
|
Release: 1mamba
|
2024-01-06 05:21:36 +01:00
|
|
|
Summary: PCRE is a Perl-compatible regular expression library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.pcre.org
|
2024-01-06 05:21:36 +01:00
|
|
|
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
|
2024-01-06 05:21:36 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libreadline-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Provides: libpcre.so.3
|
|
|
|
Provides: libpcre3
|
|
|
|
|
|
|
|
%description
|
|
|
|
PCRE has its own native API, but a set of "wrapper" functions that are based on the POSIX API are also supplied in the library libpcreposix.
|
|
|
|
Note that this just provides a POSIX calling interface to PCRE: the regular expressions themselves still follow Perl syntax and semantics.
|
|
|
|
The header file for the POSIX-style functions is called pcreposix.h.
|
|
|
|
The official POSIX name is regex.h, but I didn't want to risk possible problems with existing files of that name by distributing it that way.
|
|
|
|
To use it with an existing program that uses the POSIX API, it will have to be renamed or pointed at by a link.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development for PCRE libraries
|
|
|
|
Group: Development/Libraries
|
2024-01-06 05:21:36 +01:00
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 05:21:36 +01:00
|
|
|
Provides: libpcre3-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Development files needed to build software that makes use of PCRE libraries.
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
%package tools
|
|
|
|
Summary: Tools provided with PCRE libraries
|
|
|
|
Group: System/Tools
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
Tools provided with PCRE libraries.
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n pcre-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-utf8 \
|
|
|
|
--enable-unicode-properties \
|
2024-01-06 05:21:36 +01:00
|
|
|
--enable-pcre16 \
|
|
|
|
--enable-pcre32 \
|
2024-01-06 05:21:36 +01:00
|
|
|
--enable-pcregrep-libz \
|
|
|
|
--enable-pcregrep-libbz2 \
|
|
|
|
--enable-pcretest-libreadline
|
|
|
|
|
|
|
|
%make CC_FOR_BUILD=gcc
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
rm -f %{buildroot}%{_docdir}/pcre/{AUTHORS,COPYING,ChangeLog,LICENCE,NEWS,README}
|
|
|
|
|
|
|
|
ln -s libpcre.so.1 %{buildroot}%{_libdir}/libpcre.so.3
|
|
|
|
ln -s libpcreposix.so.0 %{buildroot}%{_libdir}/libpcreposix.so.3
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libpcre.so.1*
|
|
|
|
%{_libdir}/libpcre.so.3
|
2024-01-06 05:21:36 +01:00
|
|
|
%{_libdir}/libpcre16.so.*
|
|
|
|
%{_libdir}/libpcre32.so.*
|
2024-01-06 05:21:36 +01:00
|
|
|
%{_libdir}/libpcrecpp.so.*
|
|
|
|
%{_libdir}/libpcreposix.so.*
|
|
|
|
%doc AUTHORS LICENCE
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/pcre-config
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/libpcre.a
|
|
|
|
%{_libdir}/libpcre.la
|
|
|
|
%{_libdir}/libpcre.so
|
2024-01-06 05:21:36 +01:00
|
|
|
%{_libdir}/libpcre16.a
|
|
|
|
%{_libdir}/libpcre16.la
|
|
|
|
%{_libdir}/libpcre16.so
|
|
|
|
%{_libdir}/libpcre32.a
|
|
|
|
%{_libdir}/libpcre32.la
|
|
|
|
%{_libdir}/libpcre32.so
|
2024-01-06 05:21:36 +01:00
|
|
|
%{_libdir}/libpcrecpp.a
|
|
|
|
%{_libdir}/libpcrecpp.la
|
|
|
|
%{_libdir}/libpcrecpp.so
|
|
|
|
%{_libdir}/libpcreposix.a
|
|
|
|
%{_libdir}/libpcreposix.la
|
|
|
|
%{_libdir}/libpcreposix.so
|
|
|
|
%{_libdir}/pkgconfig/libpcre.pc
|
2024-01-06 05:21:36 +01:00
|
|
|
%{_libdir}/pkgconfig/libpcre16.pc
|
|
|
|
%{_libdir}/pkgconfig/libpcre32.pc
|
2024-01-06 05:21:36 +01:00
|
|
|
%{_libdir}/pkgconfig/libpcrecpp.pc
|
|
|
|
%{_libdir}/pkgconfig/libpcreposix.pc
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
%dir %{_docdir}/pcre
|
|
|
|
%{_docdir}/pcre/*
|
|
|
|
%doc ChangeLog NEWS README
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/pcregrep
|
|
|
|
%{_bindir}/pcretest
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
%changelog
|
2024-01-06 05:21:37 +01:00
|
|
|
* Wed Jun 16 2021 Automatic Build System <autodist@mambasoft.it> 8.45-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
* Wed Sep 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.44-2mamba
|
|
|
|
- add a -tools package
|
|
|
|
|
|
|
|
* Wed Sep 09 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 8.44-1mamba
|
|
|
|
- update to 8.44
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
* Fri Mar 01 2019 Automatic Build System <autodist@mambasoft.it> 8.43-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
* Sat Apr 07 2018 Automatic Build System <autodist@mambasoft.it> 8.42-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
* Mon Aug 07 2017 Automatic Build System <autodist@mambasoft.it> 8.41-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
* Sat Feb 11 2017 Automatic Build System <autodist@mambasoft.it> 8.40-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
* Tue Sep 13 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 8.39-2mamba
|
|
|
|
- rebuilt with --enable-pcre16 --enable-pcre32
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
* Fri Jun 24 2016 Automatic Build System <autodist@mambasoft.it> 8.39-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
* Tue Dec 08 2015 Automatic Build System <autodist@mambasoft.it> 8.38-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
* Fri May 08 2015 Automatic Build System <autodist@mambasoft.it> 8.37-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
* Wed Oct 08 2014 Automatic Build System <autodist@mambasoft.it> 8.36-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:21:36 +01:00
|
|
|
* Sat Apr 12 2014 Automatic Build System <autodist@mambasoft.it> 8.35-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Dec 18 2013 Automatic Build System <autodist@mambasoft.it> 8.34-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 04 2013 Automatic Build System <autodist@mambasoft.it> 8.33-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 8.32-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Aug 15 2012 Automatic Build System <autodist@mambasoft.it> 8.31-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Jun 30 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 8.30-2mamba
|
|
|
|
- also provide libpcreposix.so.3 compatibility symlink to libpcreposix.so.0
|
|
|
|
|
|
|
|
* Fri May 25 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 8.30-1mamba
|
|
|
|
- update to 8.30
|
|
|
|
- enabled: unicode-properties pcregrep-libz pcregrep-libbz2 pcretest-libreadline
|
|
|
|
- provide libpcre.so.3 symlink to libpcre.so.1 for Debian/Ubuntu compatibility
|
|
|
|
|
|
|
|
* Tue Aug 16 2011 Automatic Build System <autodist@mambasoft.it> 8.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jan 20 2011 Automatic Build System <autodist@mambasoft.it> 8.12-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 11 2010 Automatic Build System <autodist@mambasoft.it> 8.11-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 29 2010 Automatic Build System <autodist@mambasoft.it> 8.10-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 22 2010 Automatic Build System <autodist@mambasoft.it> 8.02-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jan 26 2010 Automatic Build System <autodist@mambasoft.it> 8.01-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Oct 26 2009 Automatic Build System <autodist@mambasoft.it> 8.00-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat May 23 2009 Automatic Build System <autodist@mambasoft.it> 7.9-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Dec 19 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 7.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 17 2008 gil <puntogil@libero.it> 7.7-1mamba
|
|
|
|
- update to 7.7
|
|
|
|
|
|
|
|
* Thu Oct 18 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4-1mamba
|
|
|
|
- update to 7.4
|
|
|
|
|
|
|
|
* Thu Apr 13 2006 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 6.4-2qilnx
|
|
|
|
- added UTF8 support
|
|
|
|
|
|
|
|
* Tue Sep 13 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4-1qilnx
|
|
|
|
- update to version 6.4 by autospec
|
|
|
|
|
|
|
|
* Tue Aug 30 2005 Davide Madrisan <davide.madrisan@qilinux.it> 6.3-1qilnx
|
|
|
|
- update to version 6.3 by autospec
|
|
|
|
|
|
|
|
* Sun May 25 2003 Silvan Calarco <silvan.calarco@qinet.it> 4.3-2qilnx
|
|
|
|
- removed package pcre (bins moved to libpcre)
|
|
|
|
|
|
|
|
* Sun May 25 2003 Silvan Calarco <silvan.calarco@qinet.it> 4.3-1qilnx
|
|
|
|
- first build
|