From 9a97addeabf526fd585e368534387e4325407bfa Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 08:27:33 +0100 Subject: [PATCH] update to 10.40 [release 10.40-1mamba;Sat May 28 2022] --- pcre2.spec | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/pcre2.spec b/pcre2.spec index 5009f99..3d9add2 100644 --- a/pcre2.spec +++ b/pcre2.spec @@ -1,16 +1,19 @@ Name: pcre2 -Version: 10.37 +Version: 10.40 Release: 1mamba Summary: PCRE - Perl Compatible Regular Expressions Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: https://pcre.org/ -Source: https://ftp.pcre.org/pub/pcre/pcre2-%{version}.tar.bz2 +URL: https://github.com/PCRE2Project/pcre2 +Source: https://github.com/PCRE2Project/pcre2.git/pcre2-%{version}/pcre2-%{version}.tar.bz2 License: BSD ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libbzip2-devel +BuildRequires: libreadline-devel +BuildRequires: libz-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} @@ -33,7 +36,6 @@ Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. - %debug_package %prep @@ -42,15 +44,21 @@ This package contains libraries and header files for developing applications tha sed -i "s| man/man| share/man/man|" CMakeLists.txt %build -%configure \ - --enable-pcre2-16 \ - --enable-pcre2-32 +%cmake -d build \ + -DPCRE2_BUILD_PCRE2_16=ON \ + -DPCRE2_BUILD_PCRE2_32=ON + +#% configure \ +# --enable-pcre2-16 \ +# --enable-pcre2-32 %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall -C build + +mv %{buildroot}/usr/cmake %{buildroot}%{_libdir}/cmake %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -80,21 +88,18 @@ sed -i "s| man/man| share/man/man|" CMakeLists.txt %{_includedir}/pcre2.h %{_includedir}/pcre2posix.h %{_libdir}/libpcre2-8.a -%{_libdir}/libpcre2-8.la %{_libdir}/libpcre2-8.so %{_libdir}/libpcre2-16.a -%{_libdir}/libpcre2-16.la %{_libdir}/libpcre2-16.so %{_libdir}/libpcre2-32.a -%{_libdir}/libpcre2-32.la %{_libdir}/libpcre2-32.so %{_libdir}/libpcre2-posix.a -%{_libdir}/libpcre2-posix.la %{_libdir}/libpcre2-posix.so %{_libdir}/pkgconfig/libpcre2-8.pc %{_libdir}/pkgconfig/libpcre2-16.pc %{_libdir}/pkgconfig/libpcre2-32.pc %{_libdir}/pkgconfig/libpcre2-posix.pc +%{_libdir}/cmake/pcre2-config*.cmake %dir %{_datadir}/doc/pcre2 %dir %{_datadir}/doc/pcre2 %{_datadir}/doc/pcre2/* @@ -102,6 +107,9 @@ sed -i "s| man/man| share/man/man|" CMakeLists.txt %doc ChangeLog NEWS README %changelog +* Sat May 28 2022 Silvan Calarco 10.40-1mamba +- update to 10.40 + * Thu May 27 2021 Automatic Build System 10.37-1mamba - automatic version update by autodist