enable 16 and 32 bit character support [release 10.36-2mamba;Wed Mar 10 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 08:27:32 +01:00
parent fe6c0a3b63
commit 04449b0179

View File

@ -1,6 +1,6 @@
Name: pcre2
Version: 10.36
Release: 1mamba
Release: 2mamba
Summary: PCRE - Perl Compatible Regular Expressions
Group: System/Libraries
Vendor: openmamba
@ -13,7 +13,6 @@ License: BSD
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
PCRE - Perl Compatible Regular Expressions.
@ -43,7 +42,9 @@ This package contains libraries and header files for developing applications tha
sed -i "s| man/man| share/man/man|" CMakeLists.txt
%build
%configure
%configure \
--enable-pcre2-16 \
--enable-pcre2-32
%make
@ -64,12 +65,14 @@ sed -i "s| man/man| share/man/man|" CMakeLists.txt
%{_mandir}/man1/pcre2-config.1*
%{_mandir}/man1/pcre2grep.1*
%{_mandir}/man1/pcre2test.1*
%doc AUTHORS COPYING LICENCE
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libpcre2-8.so.*
%{_libdir}/libpcre2-16.so.*
%{_libdir}/libpcre2-32.so.*
%{_libdir}/libpcre2-posix.so.*
%doc AUTHORS COPYING LICENCE
%files -n lib%{name}-devel
%defattr(-,root,root)
@ -79,10 +82,18 @@ sed -i "s| man/man| share/man/man|" CMakeLists.txt
%{_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
%dir %{_datadir}/doc/pcre2
%dir %{_datadir}/doc/pcre2
@ -91,6 +102,9 @@ sed -i "s| man/man| share/man/man|" CMakeLists.txt
%doc ChangeLog NEWS README
%changelog
* Wed Mar 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 10.36-2mamba
- enable 16 and 32 bit character support
* Wed Dec 16 2020 Automatic Build System <autodist@mambasoft.it> 10.36-1mamba
- automatic version update by autodist