tls/tls.spec

72 lines
2.1 KiB
RPMSpec
Raw Permalink Normal View History

%define majversion %(echo %version | cut -d. -f 1-2)
Name: tls
Version: 1.7.22
Release: 1mamba
Summary: OpenSSL/RSA-bsafe Tcl extension
Group: Development/Bindings
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://core.tcl-lang.org/tcltls/home
Source: https://core.tcl-lang.org/tcltls/uv/tcltls-%{version}.tar.gz
Patch: %{name}-1.5.0-ciphertest.patch
Patch1: %{name}-1.5.0-pkgIndex.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libopenssl-devel
## AUTOBUILDREQ-END
BuildRequires: libtcl-devel
Provides: tcltls
%description
TLS is an OpenSSL / RSA-bsafe Tcl extension that provides secure connections on top of the Tcl socket mechanism.
Within a few lines of code, users can query https servers (see the tclhttpd project for an https server using TLS).
%prep
%setup -q -n tcltls-%{version}
#%patch -p1
#%patch1 -p1
%build
%configure \
--with-ssl-dir=%{_prefix}
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall \
pkglibdir=%{buildroot}%{_libdir}/%{name}%{version}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%dir %{_libdir}/tcltls%{version}
%{_libdir}/tcltls%{version}/pkgIndex.tcl
%{_libdir}/tcltls%{version}/tcltls.so
%doc license.terms
%changelog
* Sat Nov 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.22-1mamba
- update to 1.7.22
* Thu Jan 21 2016 Automatic Build System <autodist@mambasoft.it> 1.6.7-1mamba
- automatic version update by autodist
* Wed Nov 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6-2mamba
- rebuilt with openssl 1.0
* Mon Mar 30 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6-1mamba
- automatic update by autodist
* Fri May 09 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.5.0-2mamba
- minor version fix in pkgIndex.tcl to work with amsn
* Fri Apr 20 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.5.0-1mamba
- package created by autospec