automatic version update by autodist [release 8.35-1mamba;Sat Apr 12 2014]
This commit is contained in:
parent
469e2569dc
commit
b26a6e6bc0
@ -1,2 +1,8 @@
|
||||
# libpcre
|
||||
|
||||
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.
|
||||
|
||||
|
172
libpcre.spec
Normal file
172
libpcre.spec
Normal file
@ -0,0 +1,172 @@
|
||||
Name: libpcre
|
||||
Version: 8.35
|
||||
Release: 1mamba
|
||||
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
|
||||
Source: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-%{version}.tar.bz2
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libbzip2-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libreadline-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: pkg-config
|
||||
## AUTOBUILDREQ-END
|
||||
Provides: libpcre.so.3
|
||||
Provides: libpcre3
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%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
|
||||
Requires: %{name} = %{version}
|
||||
Provides: libpcre3-devel
|
||||
|
||||
%description devel
|
||||
Development files needed to build software that makes use of PCRE libraries.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n pcre-%{version}
|
||||
|
||||
%build
|
||||
%configure \
|
||||
--enable-utf8 \
|
||||
--enable-unicode-properties \
|
||||
--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)
|
||||
%{_bindir}/pcregrep
|
||||
%{_bindir}/pcretest
|
||||
%{_libdir}/libpcre.so.1*
|
||||
%{_libdir}/libpcre.so.3
|
||||
%{_libdir}/libpcrecpp.so.*
|
||||
%{_libdir}/libpcreposix.so.*
|
||||
%{_mandir}/man1/*
|
||||
%doc AUTHORS LICENCE
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/pcre-config
|
||||
%{_includedir}/*
|
||||
%{_libdir}/libpcre.a
|
||||
%{_libdir}/libpcre.la
|
||||
%{_libdir}/libpcre.so
|
||||
%{_libdir}/libpcrecpp.a
|
||||
%{_libdir}/libpcrecpp.la
|
||||
%{_libdir}/libpcrecpp.so
|
||||
%{_libdir}/libpcreposix.a
|
||||
%{_libdir}/libpcreposix.la
|
||||
%{_libdir}/libpcreposix.so
|
||||
%{_libdir}/pkgconfig/libpcre.pc
|
||||
%{_libdir}/pkgconfig/libpcrecpp.pc
|
||||
%{_libdir}/pkgconfig/libpcreposix.pc
|
||||
%{_mandir}/man3/*
|
||||
%dir %{_docdir}/pcre
|
||||
%{_docdir}/pcre/*
|
||||
%doc ChangeLog NEWS README
|
||||
|
||||
%changelog
|
||||
* 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
|
Loading…
Reference in New Issue
Block a user