update to 10.40 [release 10.40-1mamba;Sat May 28 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 08:27:33 +01:00
parent 253e6f3aea
commit 9a97addeab

View File

@ -1,16 +1,19 @@
Name: pcre2 Name: pcre2
Version: 10.37 Version: 10.40
Release: 1mamba Release: 1mamba
Summary: PCRE - Perl Compatible Regular Expressions Summary: PCRE - Perl Compatible Regular Expressions
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pcre.org/ URL: https://github.com/PCRE2Project/pcre2
Source: https://ftp.pcre.org/pub/pcre/pcre2-%{version}.tar.bz2 Source: https://github.com/PCRE2Project/pcre2.git/pcre2-%{version}/pcre2-%{version}.tar.bz2
License: BSD License: BSD
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libreadline-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
@ -33,7 +36,6 @@ Requires: pkg-config
%description -n lib%{name}-devel %description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}. This package contains libraries and header files for developing applications that use %{name}.
%debug_package %debug_package
%prep %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 sed -i "s| man/man| share/man/man|" CMakeLists.txt
%build %build
%configure \ %cmake -d build \
--enable-pcre2-16 \ -DPCRE2_BUILD_PCRE2_16=ON \
--enable-pcre2-32 -DPCRE2_BUILD_PCRE2_32=ON
#% configure \
# --enable-pcre2-16 \
# --enable-pcre2-32
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall -C build
mv %{buildroot}/usr/cmake %{buildroot}%{_libdir}/cmake
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -80,21 +88,18 @@ sed -i "s| man/man| share/man/man|" CMakeLists.txt
%{_includedir}/pcre2.h %{_includedir}/pcre2.h
%{_includedir}/pcre2posix.h %{_includedir}/pcre2posix.h
%{_libdir}/libpcre2-8.a %{_libdir}/libpcre2-8.a
%{_libdir}/libpcre2-8.la
%{_libdir}/libpcre2-8.so %{_libdir}/libpcre2-8.so
%{_libdir}/libpcre2-16.a %{_libdir}/libpcre2-16.a
%{_libdir}/libpcre2-16.la
%{_libdir}/libpcre2-16.so %{_libdir}/libpcre2-16.so
%{_libdir}/libpcre2-32.a %{_libdir}/libpcre2-32.a
%{_libdir}/libpcre2-32.la
%{_libdir}/libpcre2-32.so %{_libdir}/libpcre2-32.so
%{_libdir}/libpcre2-posix.a %{_libdir}/libpcre2-posix.a
%{_libdir}/libpcre2-posix.la
%{_libdir}/libpcre2-posix.so %{_libdir}/libpcre2-posix.so
%{_libdir}/pkgconfig/libpcre2-8.pc %{_libdir}/pkgconfig/libpcre2-8.pc
%{_libdir}/pkgconfig/libpcre2-16.pc %{_libdir}/pkgconfig/libpcre2-16.pc
%{_libdir}/pkgconfig/libpcre2-32.pc %{_libdir}/pkgconfig/libpcre2-32.pc
%{_libdir}/pkgconfig/libpcre2-posix.pc %{_libdir}/pkgconfig/libpcre2-posix.pc
%{_libdir}/cmake/pcre2-config*.cmake
%dir %{_datadir}/doc/pcre2 %dir %{_datadir}/doc/pcre2
%dir %{_datadir}/doc/pcre2 %dir %{_datadir}/doc/pcre2
%{_datadir}/doc/pcre2/* %{_datadir}/doc/pcre2/*
@ -102,6 +107,9 @@ sed -i "s| man/man| share/man/man|" CMakeLists.txt
%doc ChangeLog NEWS README %doc ChangeLog NEWS README
%changelog %changelog
* Sat May 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 10.40-1mamba
- update to 10.40
* Thu May 27 2021 Automatic Build System <autodist@mambasoft.it> 10.37-1mamba * Thu May 27 2021 Automatic Build System <autodist@mambasoft.it> 10.37-1mamba
- automatic version update by autodist - automatic version update by autodist