102 lines
2.5 KiB
RPMSpec
102 lines
2.5 KiB
RPMSpec
Name: pcre2
|
|
Version: 10.34
|
|
Release: 1mamba
|
|
Summary: PCRE - Perl Compatible Regular Expressions
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://pcre.org/
|
|
Source: https://ftp.pcre.org/pub/pcre/pcre2-%{version}.tar.bz2
|
|
License: BSD
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%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
|
|
|
|
sed -i "s| man/man| share/man/man|" CMakeLists.txt
|
|
|
|
%build
|
|
%configure
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%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/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-posix.so.*
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%{_bindir}/pcre2-config
|
|
%{_includedir}/pcre2.h
|
|
%{_includedir}/pcre2posix.h
|
|
%{_libdir}/libpcre2-8.a
|
|
%{_libdir}/libpcre2-8.la
|
|
%{_libdir}/libpcre2-8.so
|
|
%{_libdir}/libpcre2-posix.a
|
|
%{_libdir}/libpcre2-posix.la
|
|
%{_libdir}/libpcre2-posix.so
|
|
%{_libdir}/pkgconfig/libpcre2-8.pc
|
|
%{_libdir}/pkgconfig/libpcre2-posix.pc
|
|
%dir %{_datadir}/doc/pcre2
|
|
%dir %{_datadir}/doc/pcre2
|
|
%{_datadir}/doc/pcre2/*
|
|
%{_mandir}/man3/pcre2*.3*
|
|
%doc ChangeLog NEWS README
|
|
|
|
%changelog
|
|
* Tue Nov 26 2019 Automatic Build System <autodist@mambasoft.it> 10.34-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 10.33-1mamba
|
|
- update to 10.33
|
|
|
|
* Mon Mar 18 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 10.32-1mamba
|
|
- package created using the webbuild interface
|