libretls/libretls.spec

62 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: libretls
Version: 3.8.1
Release: 1mamba
Summary: A new TLS library, designed to make it easier to write foolproof applications
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://git.causal.agency/libretls
Source: https://causal.agency/libretls/libretls-%{version}.tar.gz
License: ISC, BSD, MIT
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
%description
libtls is a new TLS library, designed to make it easier to write foolproof applications.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libtls.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/tls.h
%{_libdir}/libtls.a
%{_libdir}/libtls.so
%{_libdir}/pkgconfig/libtls.pc
%{_mandir}/man3/tls_*.3*
%changelog
* Sat Feb 24 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.1-1mamba
- package created using the webbuild interface