44ae2816 |
Summary: Grep for perl compatible regular expressions
Name: pcre |
26a23e3e |
Version: 8.42 |
17a2eae6 |
Release: 1%{?dist} |
44ae2816 |
License: BSD |
9cdda953 |
URL: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-%{version}.tar.bz2 |
44ae2816 |
Group: Applications/System
Vendor: VMware, Inc.
Distribution: Photon
Source0: ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/%{name}-%{version}.tar.bz2 |
26a23e3e |
%define sha1 pcre=df0d1c2ff04c359220cb902539a6e134af4497f4 |
44ae2816 |
BuildRequires: bzip2-devel
BuildRequires: readline-devel |
f4d17450 |
Requires: libgcc |
17a2eae6 |
Requires: readline |
f4d17450 |
Requires: libstdc++ |
7fbd3a1e |
Requires: pcre-libs = %{version}-%{release} |
f4d17450 |
%description
The PCRE package contains Perl Compatible Regular Expression libraries. These are useful for implementing regular expression pattern matching using the same syntax and semantics as Perl 5.
|
44ae2816 |
%package devel |
f4d17450 |
Group: Development/Libraries
Summary: Headers and static lib for pcre development |
7fbd3a1e |
Requires: %{name} = %{version}-%{release} |
44ae2816 |
Provides: pkgconfig(libpcre)
%description devel |
f4d17450 |
Install this package if you want do compile applications using the pcre
library.
|
7fbd3a1e |
%package libs
Summary: Libraries for pcre
Group: System Environment/Libraries
%description libs
This package contains minimal set of shared pcre libraries.
|
f4d17450 |
%prep
%setup -q
%build
./configure --prefix=/usr \ |
9cdda953 |
--docdir=/usr/share/doc/pcre-%{version} \ |
f4d17450 |
--enable-unicode-properties \
--enable-pcre16 \
--enable-pcre32 \
--enable-pcregrep-libz \
--enable-pcregrep-libbz2 \
--enable-pcretest-libreadline \ |
1d5a874b |
--with-match-limit-recursion=16000 \ |
f4d17450 |
--disable-static
make %{?_smp_mflags} |
1d5a874b |
|
f4d17450 |
%install
make DESTDIR=%{buildroot} install
mv -v %{buildroot}/usr/lib/libpcre.so.* %{buildroot}/lib &&
ln -sfv ../../lib/$(readlink %{buildroot}/usr/lib/libpcre.so) %{buildroot}/usr/lib/libpcre.so |
b6945b69 |
ln -sfv $(readlink %{buildroot}/usr/lib/libpcre.so) %{buildroot}/usr/lib/libpcre.so.0 |
9067c3d4 |
%check
make %{?_smp_mflags} check
|
44ae2816 |
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig |
f4d17450 |
%files
%defattr(-,root,root) |
17a2eae6 |
%{_bindir}/pcregrep |
f4d17450 |
%{_bindir}/pcretest
%{_mandir}/man1/pcregrep.1*
%{_mandir}/man1/pcretest.1*
%{_libdir}/*.so.* |
7fbd3a1e |
%exclude %{_libdir}/libpcre.so.* |
f4d17450 |
%files devel
%defattr(-, root, root)
%{_bindir}/* |
17a2eae6 |
%exclude %{_bindir}/pcregrep |
1cb5fb91 |
%exclude %{_bindir}/pcretest |
f4d17450 |
%{_defaultdocdir}/%{name}-%{version}/*
%{_mandir}/*/*
%{_libdir}/*.so
%{_libdir}/*.la
%{_libdir}/pkgconfig/*.pc
%{_includedir}/* |
7fbd3a1e |
%files libs
%defattr(-, root, root)
%{_libdir}/libpcre.so.*
|
f4d17450 |
%changelog |
26a23e3e |
* Tue Sep 11 2018 Him Kalyan Bordoloi <bordoloih@vmware.com> 8.42-1
- Update to version 8.42 |
17a2eae6 |
* Wed Dec 20 2017 Xiaolin Li <xiaolinl@vmware.com> 8.41-1
- Update to version 8.41 |
1d5a874b |
* Wed Jul 19 2017 Harish Udaiya Kumar <hudaiyakumar@vmware.com> 8.40-4
- Added fix for CVE-2017-11164 by adding stack recursion limit |
5f155476 |
* Wed May 24 2017 Divya Thaluru <dthaluru@vmware.com> 8.40-3
- Added fixes for CVE-2017-7244, CVE-2017-7245, CVE-2017-7246, CVE-2017-7186 |
7fbd3a1e |
* Fri Apr 14 2017 Alexey Makhalov <amakhalov@vmware.com> 8.40-2
- Added -libs subpackage |
9cdda953 |
* Mon Apr 03 2017 Robert Qi <qij@vmware.com> 8.40-1
- Update to 8.40 |
9067c3d4 |
* Wed Oct 05 2016 ChangLee <changlee@vmware.com> 8.39-2
- Modified %check |
44ae2816 |
* Fri Sep 9 2016 Xiaolin Li <xiaolinl@vmware.com> 8.39-1
- Update to version 8.39
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 8.38-3
- GA - Bump release of all rpms
* Fri Mar 18 2016 Anish Swaminathan <anishs@vmware.com> 8.38-2
- Add upstream fixes patch
* Thu Jan 21 2016 Xiaolin Li <xiaolinl@vmware.com> 8.38-1
- Updated to version 8.38
* Mon Nov 30 2015 Sharath George <sharathg@vmware.com> 8.36-2
Add symlink for libpcre.so.1
* Thu Nov 06 2014 Sharath George <sharathg@vmware.com> 8.36-1 |
17a2eae6 |
Initial version |