113 lines
3.0 KiB
RPMSpec
113 lines
3.0 KiB
RPMSpec
Name: libressl
|
|
Version: 3.9.0
|
|
Release: 1mamba
|
|
Summary: Free version of the TLS/crypto stack forked from OpenSSL
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://www.libressl.org/
|
|
Source: https://cdn.openbsd.org/pub/OpenBSD/LibreSSL/libressl-%{version}.tar.gz
|
|
License: ISC
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: cmake
|
|
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description
|
|
Free version of the TLS/crypto stack forked from OpenSSL.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
Requires: pkgconf
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package tools
|
|
Group: Network/Security
|
|
Summary: Utility applications for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description tools
|
|
This package contains utility applications for %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
autoreconf -fi
|
|
|
|
%build
|
|
%configure \
|
|
--with-openssldir=%{_sysconfdir}/libressl \
|
|
--libdir=%{_libdir}/libressl \
|
|
--includedir=%{_includedir}/libressl \
|
|
--program-prefix="libressl-"
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
# Remove symlink man pages that point to OpenSSL ones since the prefix is not accounted for
|
|
for manlink in $(find -L %{buildroot}%{_mandir}/man3/ -type l) ;
|
|
do
|
|
rm "${manlink}" ;
|
|
done
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libressl/libcrypto.so.*
|
|
%{_libdir}/libressl/libssl.so.*
|
|
%{_libdir}/libressl/libtls.so.*
|
|
%doc COPYING
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libressl
|
|
%dir %{_includedir}/libressl/openssl
|
|
%{_includedir}/libressl/openssl/*
|
|
%{_includedir}/libressl/tls.h
|
|
%{_libdir}/libressl/libcrypto.a
|
|
%{_libdir}/libressl/libcrypto.so
|
|
%{_libdir}/libressl/libssl.a
|
|
%{_libdir}/libressl/libssl.so
|
|
%{_libdir}/libressl/libtls.a
|
|
%{_libdir}/libressl/libtls.so
|
|
%{_libdir}/libressl/pkgconfig/libcrypto.pc
|
|
%{_libdir}/libressl/pkgconfig/libssl.pc
|
|
%{_libdir}/libressl/pkgconfig/libtls.pc
|
|
%{_libdir}/libressl/pkgconfig/openssl.pc
|
|
%{_mandir}/man3/libressl-*3*
|
|
%doc ChangeLog README.md README.windows
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%{_sysconfdir}/libressl/cert.pem
|
|
%{_sysconfdir}/libressl/openssl.cnf
|
|
%{_sysconfdir}/libressl/x509v3.cnf
|
|
%{_bindir}/libressl-ocspcheck
|
|
%{_bindir}/libressl-openssl
|
|
%{_mandir}/man1/libressl-openssl.1*
|
|
%{_mandir}/man5/libressl-openssl.cnf.5*
|
|
%{_mandir}/man5/libressl-x509v3.cnf.5*
|
|
%{_mandir}/man8/libressl-ocspcheck.8*
|
|
|
|
%changelog
|
|
* Tue Mar 12 2024 Automatic Build System <autodist@openmamba.org> 3.9.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Nov 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.2-1mamba
|
|
- package created using the webbuild interface
|