|
@@ -1,15 +1,17 @@
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
%define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
|
|
|
|
|
|
-Name: pcre2
|
|
|
|
-Version: 10.34
|
|
|
|
-Release: 1%{?_dist_release}
|
|
|
|
Summary: Perl-compatible regular expression library
|
|
Summary: Perl-compatible regular expression library
|
|
Summary(ja): Perl 互換の正規表現ライブラリ
|
|
Summary(ja): Perl 互換の正規表現ライブラリ
|
|
|
|
+Name: pcre2
|
|
|
|
+Version: 10.35
|
|
|
|
+Release: 1%{?_dist_release}
|
|
|
|
+Group: system
|
|
|
|
+Vendor: Project Vine
|
|
|
|
+Distribution: Vine Linux
|
|
|
|
+Packager: inagaki
|
|
|
|
|
|
-Group: System Environment/Libraries
|
|
|
|
License: BSD
|
|
License: BSD
|
|
-URL: http://www.pcre.org/
|
|
+URL: https://www.pcre.org/
|
|
-
|
|
|
|
Source0: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2
|
|
Source0: https://ftp.pcre.org/pub/pcre/%{name}-%{version}.tar.bz2
|
|
# Upstream thinks RPATH is good idea.
|
|
# Upstream thinks RPATH is good idea.
|
|
Patch0: pcre2-10.31-multilib.patch
|
|
Patch0: pcre2-10.31-multilib.patch
|
|
@@ -21,11 +23,6 @@ BuildRequires: libedit-devel
|
|
# New libtool to get rid of rpath
|
|
# New libtool to get rid of rpath
|
|
BuildRequires: autoconf, automake, libtool
|
|
BuildRequires: autoconf, automake, libtool
|
|
|
|
|
|
-Vendor: Project Vine
|
|
|
|
-Distribution: Vine Linux
|
|
|
|
-
|
|
|
|
-Packager: inagaki
|
|
|
|
-
|
|
|
|
%description
|
|
%description
|
|
Perl-compatible regular expression library.
|
|
Perl-compatible regular expression library.
|
|
PCRE has its own native API, but a set of "wrapper" functions that are based on
|
|
PCRE has its own native API, but a set of "wrapper" functions that are based on
|
|
@@ -34,10 +31,11 @@ just provides a POSIX calling interface to PCRE: the regular expressions
|
|
themselves still follow Perl syntax and semantics. The header file
|
|
themselves still follow Perl syntax and semantics. The header file
|
|
for the POSIX-style functions is called pcreposix.h.
|
|
for the POSIX-style functions is called pcreposix.h.
|
|
|
|
|
|
|
|
+
|
|
%package devel
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Summary: Development files for %{name}
|
|
Summary(ja): %{name} の開発用ファイル
|
|
Summary(ja): %{name} の開発用ファイル
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
Requires: %{name} = %{version}-%{release}
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
%description devel
|
|
%description devel
|
|
@@ -47,7 +45,7 @@ Development files (Headers, libraries for static linking, etc) for %{name}.
|
|
%package -n compat32-%{name}
|
|
%package -n compat32-%{name}
|
|
Summary: Perl-compatible regular expression library
|
|
Summary: Perl-compatible regular expression library
|
|
Summary(ja): Perl 互換の正規表現ライブラリ
|
|
Summary(ja): Perl 互換の正規表現ライブラリ
|
|
-Group: System Environment/Libraries
|
|
+Group: system
|
|
|
|
|
|
%description -n compat32-%{name}
|
|
%description -n compat32-%{name}
|
|
Perl-compatible regular expression library.
|
|
Perl-compatible regular expression library.
|
|
@@ -61,13 +59,16 @@ for the POSIX-style functions is called pcreposix.h.
|
|
%package -n compat32-%{name}-devel
|
|
%package -n compat32-%{name}-devel
|
|
Summary: Development files for %{name}
|
|
Summary: Development files for %{name}
|
|
Summary(ja): %{name} の開発用ファイル
|
|
Summary(ja): %{name} の開発用ファイル
|
|
-Group: Development/Libraries
|
|
+Group: programming
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
Requires: compat32-%{name} = %{version}-%{release}
|
|
|
|
|
|
%description -n compat32-%{name}-devel
|
|
%description -n compat32-%{name}-devel
|
|
Development files (Headers, libraries for static linking, etc) for %{name}.
|
|
Development files (Headers, libraries for static linking, etc) for %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
+%debug_package
|
|
|
|
+
|
|
|
|
+
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
# Get rid of rpath
|
|
# Get rid of rpath
|
|
@@ -81,6 +82,7 @@ for F in ChangeLog; do
|
|
mv "${F}.utf8" "$F"
|
|
mv "${F}.utf8" "$F"
|
|
done
|
|
done
|
|
|
|
|
|
|
|
+
|
|
%build
|
|
%build
|
|
%configure \
|
|
%configure \
|
|
--enable-jit \
|
|
--enable-jit \
|
|
@@ -96,6 +98,7 @@ done
|
|
|
|
|
|
make %{?_smp_mflags}
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
+
|
|
%install
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
@@ -103,6 +106,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
|
|
|
|
|
|
|
|
+
|
|
%check
|
|
%check
|
|
%ifarch s390 s390x ppc
|
|
%ifarch s390 s390x ppc
|
|
# larger stack is needed on s390, ppc
|
|
# larger stack is needed on s390, ppc
|
|
@@ -110,15 +114,15 @@ ulimit -s 10240
|
|
%endif
|
|
%endif
|
|
make %{?_smp_mflags} check VERBOSE=yes
|
|
make %{?_smp_mflags} check VERBOSE=yes
|
|
|
|
|
|
|
|
+
|
|
%clean
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
-%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
+%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
%post -n compat32-%{name} -p /sbin/ldconfig
|
|
%post -n compat32-%{name} -p /sbin/ldconfig
|
|
-
|
|
|
|
%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
@@ -154,6 +158,9 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Thu Oct 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.35-1
|
|
|
|
+- new upstream release.
|
|
|
|
+
|
|
* Sun Mar 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.34-1
|
|
* Sun Mar 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.34-1
|
|
- new upstream release.
|
|
- new upstream release.
|
|
|
|
|