|
|
|
|
@@ -15,18 +15,29 @@
|
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
%define realname pcre2
|
|
|
|
|
%define realversion 10.34
|
|
|
|
|
|
|
|
|
|
Name: pcre2
|
|
|
|
|
Version: 10.34
|
|
|
|
|
Name: pcre2-sle12
|
|
|
|
|
# NOTE ABOUT VERSION HACK
|
|
|
|
|
# The real version of this package is "10.34". We had to fake the version
|
|
|
|
|
# number by adding and extra ".1" to it.
|
|
|
|
|
# The reason is that, after having to rename the package due to Git workflow restrictions,
|
|
|
|
|
# the release number counter is reset for this new package, and therefore the
|
|
|
|
|
# new binaries are using an lower release number than previous builds before the package renaming.
|
|
|
|
|
# To avoid the Salt Bundle to take older binaries we just faked the version here to a higher one.
|
|
|
|
|
# NOTE: Once we upgrade this package to a higher version than 10.34, we can just drop this
|
|
|
|
|
# hack.
|
|
|
|
|
Version: 10.34.1
|
|
|
|
|
Release: 0
|
|
|
|
|
Summary: A library for Perl-compatible regular expressions
|
|
|
|
|
License: BSD-3-Clause
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
URL: https://www.pcre.org/
|
|
|
|
|
#SVN-Clone: svn://vcs.exim.org/pcre/code/trunk
|
|
|
|
|
Source: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2
|
|
|
|
|
Source2: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2.sig
|
|
|
|
|
Source3: %{name}.keyring
|
|
|
|
|
Source: https://ftp.pcre.org/pub/pcre/%{realname}-%{realversion}.tar.bz2
|
|
|
|
|
Source2: https://ftp.pcre.org/pub/pcre/%{realname}-%{realversion}.tar.bz2.sig
|
|
|
|
|
Source3: %{realname}.keyring
|
|
|
|
|
Source4: baselibs.conf
|
|
|
|
|
#PATCH-FIX-OPENSUSE tchvatal@suse.cz upstream thinks it is good idea to use rpath, taken from RH
|
|
|
|
|
Patch1: pcre2-10.10-multilib.patch
|
|
|
|
|
@@ -55,7 +66,8 @@ as Perl 5.
|
|
|
|
|
PCRE2 is a re-working of the original PCRE library to provide an entirely new
|
|
|
|
|
API.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
|
|
|
|
|
%package -n pcre2-devel
|
|
|
|
|
Summary: A library for Perl-compatible regular expressions
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
Requires: libpcre2-16-0 = %{version}
|
|
|
|
|
@@ -64,7 +76,7 @@ Requires: libpcre2-8-0 = %{version}
|
|
|
|
|
Requires: libpcre2-posix2 = %{version}
|
|
|
|
|
Requires: libstdc++-devel
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
%description -n pcre2-devel
|
|
|
|
|
The PCRE2 library is a set of functions that implement regular
|
|
|
|
|
expression pattern matching using the same syntax and semantics
|
|
|
|
|
as Perl 5.
|
|
|
|
|
@@ -72,12 +84,12 @@ as Perl 5.
|
|
|
|
|
PCRE2 is a re-working of the original PCRE library to provide an entirely new
|
|
|
|
|
API.
|
|
|
|
|
|
|
|
|
|
%package devel-static
|
|
|
|
|
%package -n pcre2-devel-static
|
|
|
|
|
Summary: A library for Perl-compatible regular expressions
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
Requires: pcre2-devel = %{version}
|
|
|
|
|
|
|
|
|
|
%description devel-static
|
|
|
|
|
%description -n pcre2-devel-static
|
|
|
|
|
The PCRE2 library is a set of functions that implement regular
|
|
|
|
|
expression pattern matching using the same syntax and semantics
|
|
|
|
|
as Perl 5.
|
|
|
|
|
@@ -144,12 +156,12 @@ API.
|
|
|
|
|
|
|
|
|
|
pcre2-posix provides a POSIX-compatible API to the PCRE2 engine.
|
|
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
|
%package -n pcre2-doc
|
|
|
|
|
Summary: A library for Perl-compatible regular expressions
|
|
|
|
|
Group: Documentation/HTML
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
%description -n pcre2-doc
|
|
|
|
|
The PCRE2 library is a set of functions that implement regular
|
|
|
|
|
expression pattern matching using the same syntax and semantics
|
|
|
|
|
as Perl 5.
|
|
|
|
|
@@ -157,12 +169,12 @@ as Perl 5.
|
|
|
|
|
PCRE2 is a re-working of the original PCRE library to provide an entirely new
|
|
|
|
|
API.
|
|
|
|
|
|
|
|
|
|
%package tools
|
|
|
|
|
%package -n pcre2-tools
|
|
|
|
|
Summary: A library for Perl-compatible regular expressions
|
|
|
|
|
Group: Productivity/Text/Utilities
|
|
|
|
|
Recommends: %{name}-doc
|
|
|
|
|
Recommends: %{realname}-doc
|
|
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
|
%description -n pcre2-tools
|
|
|
|
|
The PCRE2 library is a set of functions that implement regular
|
|
|
|
|
expression pattern matching using the same syntax and semantics
|
|
|
|
|
as Perl 5.
|
|
|
|
|
@@ -171,7 +183,7 @@ PCRE2 is a re-working of the original PCRE library to provide an entirely new
|
|
|
|
|
API.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%setup -q -n %{realname}-%{realversion}
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
%patch3 -p1
|
|
|
|
|
@@ -245,20 +257,20 @@ make check -j1
|
|
|
|
|
%doc LICENCE
|
|
|
|
|
%{_libdir}/libpcre2-posix.so.*
|
|
|
|
|
|
|
|
|
|
%files tools
|
|
|
|
|
%files -n pcre2-tools
|
|
|
|
|
%doc LICENCE
|
|
|
|
|
%{_bindir}/pcre2grep
|
|
|
|
|
%{_bindir}/pcre2test
|
|
|
|
|
%{_mandir}/man1/pcre2grep.1%{?ext_man}
|
|
|
|
|
%{_mandir}/man1/pcre2test.1%{?ext_man}
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%files -n pcre2-doc
|
|
|
|
|
%license COPYING
|
|
|
|
|
%doc AUTHORS ChangeLog LICENCE NEWS README
|
|
|
|
|
%doc doc/html doc/*.txt
|
|
|
|
|
%doc %{_defaultdocdir}/pcre2-doc
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%files -n pcre2-devel
|
|
|
|
|
%doc LICENCE
|
|
|
|
|
%{_bindir}/pcre2-config
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
@@ -270,7 +282,7 @@ make check -j1
|
|
|
|
|
%{_mandir}/man1/pcre2-config.1%{?ext_man}
|
|
|
|
|
%{_mandir}/man3/*%{ext_man}
|
|
|
|
|
|
|
|
|
|
%files devel-static
|
|
|
|
|
%files -n pcre2-devel-static
|
|
|
|
|
%{_libdir}/*.a
|
|
|
|
|
|
|
|
|
|
%changelog
|