2024-01-06 08:27:32 +01:00
|
|
|
Name: pcre2
|
2024-02-22 08:52:14 +01:00
|
|
|
Version: 10.43
|
2024-04-30 09:56:47 +02:00
|
|
|
Release: 2mamba
|
2024-01-06 08:27:32 +01:00
|
|
|
Summary: PCRE - Perl Compatible Regular Expressions
|
2024-01-06 08:27:32 +01:00
|
|
|
Group: System/Libraries
|
2024-01-06 08:27:32 +01:00
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 08:27:33 +01:00
|
|
|
URL: https://github.com/PCRE2Project/pcre2
|
|
|
|
Source: https://github.com/PCRE2Project/pcre2.git/pcre2-%{version}/pcre2-%{version}.tar.bz2
|
2024-04-30 09:56:47 +02:00
|
|
|
Patch0: pcre2-10.43-x86_xgetbv_feature_detection.patch
|
|
|
|
Patch1: pcre2-10.43-fix_locking_region_in_sjlit_malloc_exec.patch
|
2024-01-06 08:27:32 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 08:27:33 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libreadline-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-06 08:27:32 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
PCRE - Perl Compatible Regular Expressions.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-04-30 09:56:47 +02:00
|
|
|
cd src/sljit
|
|
|
|
%patch 0 -p2 -b .x86_xgetbv_feature_detection
|
|
|
|
%patch 1 -p2 -b .fix_locking_region_in_sjlit_malloc_exec
|
2024-01-06 08:27:32 +01:00
|
|
|
|
2024-04-30 09:56:47 +02:00
|
|
|
cd ../..
|
2024-01-06 08:27:32 +01:00
|
|
|
sed -i "s| man/man| share/man/man|" CMakeLists.txt
|
|
|
|
|
|
|
|
%build
|
2024-01-06 08:27:33 +01:00
|
|
|
%cmake -d build \
|
|
|
|
-DPCRE2_BUILD_PCRE2_16=ON \
|
2024-04-30 09:56:47 +02:00
|
|
|
-DPCRE2_BUILD_PCRE2_32=ON \
|
|
|
|
-DPCRE2_SUPPORT_JIT=ON
|
2024-01-06 08:27:32 +01:00
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 08:27:33 +01:00
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
mv %{buildroot}/usr/cmake %{buildroot}%{_libdir}/cmake
|
2024-01-06 08:27:32 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/pcre2grep
|
|
|
|
%{_bindir}/pcre2test
|
|
|
|
%{_mandir}/man1/pcre2grep.1*
|
|
|
|
%{_mandir}/man1/pcre2test.1*
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libpcre2-8.so.*
|
2024-01-06 08:27:32 +01:00
|
|
|
%{_libdir}/libpcre2-16.so.*
|
|
|
|
%{_libdir}/libpcre2-32.so.*
|
2024-01-06 08:27:32 +01:00
|
|
|
%{_libdir}/libpcre2-posix.so.*
|
2024-01-06 08:27:32 +01:00
|
|
|
%doc AUTHORS COPYING LICENCE
|
2024-01-06 08:27:32 +01:00
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/pcre2-config
|
|
|
|
%{_includedir}/pcre2.h
|
|
|
|
%{_includedir}/pcre2posix.h
|
|
|
|
%{_libdir}/libpcre2-8.a
|
|
|
|
%{_libdir}/libpcre2-8.so
|
2024-01-06 08:27:32 +01:00
|
|
|
%{_libdir}/libpcre2-16.a
|
|
|
|
%{_libdir}/libpcre2-16.so
|
|
|
|
%{_libdir}/libpcre2-32.a
|
|
|
|
%{_libdir}/libpcre2-32.so
|
2024-01-06 08:27:32 +01:00
|
|
|
%{_libdir}/libpcre2-posix.a
|
|
|
|
%{_libdir}/libpcre2-posix.so
|
|
|
|
%{_libdir}/pkgconfig/libpcre2-8.pc
|
2024-01-06 08:27:32 +01:00
|
|
|
%{_libdir}/pkgconfig/libpcre2-16.pc
|
|
|
|
%{_libdir}/pkgconfig/libpcre2-32.pc
|
2024-01-06 08:27:32 +01:00
|
|
|
%{_libdir}/pkgconfig/libpcre2-posix.pc
|
2024-01-06 08:27:33 +01:00
|
|
|
%{_libdir}/cmake/pcre2-config*.cmake
|
2024-01-06 08:27:32 +01:00
|
|
|
%dir %{_datadir}/doc/pcre2
|
|
|
|
%{_datadir}/doc/pcre2/*
|
2024-02-22 08:52:14 +01:00
|
|
|
%{_mandir}/man1/pcre2-config.1*
|
2024-01-06 08:27:32 +01:00
|
|
|
%{_mandir}/man3/pcre2*.3*
|
|
|
|
%doc ChangeLog NEWS README
|
|
|
|
|
|
|
|
%changelog
|
2024-04-30 09:56:47 +02:00
|
|
|
* Mon Apr 29 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 10.43-2mamba
|
|
|
|
- enabled JIT; added patches to fix instruction detection on x86 and thread safety problem
|
|
|
|
|
2024-02-22 08:52:14 +01:00
|
|
|
* Tue Feb 20 2024 Automatic Build System <autodist@openmamba.org> 10.43-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:27:33 +01:00
|
|
|
* Sat Dec 17 2022 Automatic Build System <autodist@mambasoft.it> 10.42-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:27:33 +01:00
|
|
|
* Fri Dec 09 2022 Automatic Build System <autodist@mambasoft.it> 10.41-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:27:33 +01:00
|
|
|
* Sat May 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 10.40-1mamba
|
|
|
|
- update to 10.40
|
|
|
|
|
2024-01-06 08:27:33 +01:00
|
|
|
* Thu May 27 2021 Automatic Build System <autodist@mambasoft.it> 10.37-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:27:32 +01:00
|
|
|
* Wed Mar 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 10.36-2mamba
|
|
|
|
- enable 16 and 32 bit character support
|
|
|
|
|
2024-01-06 08:27:32 +01:00
|
|
|
* Wed Dec 16 2020 Automatic Build System <autodist@mambasoft.it> 10.36-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:27:32 +01:00
|
|
|
* Wed May 20 2020 Automatic Build System <autodist@mambasoft.it> 10.35-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:27:32 +01:00
|
|
|
* Tue Nov 26 2019 Automatic Build System <autodist@mambasoft.it> 10.34-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 08:27:32 +01:00
|
|
|
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 10.33-1mamba
|
|
|
|
- update to 10.33
|
|
|
|
|
2024-01-06 08:27:32 +01:00
|
|
|
* Mon Mar 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 10.32-1mamba
|
|
|
|
- package created using the webbuild interface
|