2024-01-05 18:34:24 +01:00
|
|
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
|
|
|
|
|
|
|
Name: tls
|
2024-01-05 18:34:25 +01:00
|
|
|
Version: 1.7.22
|
2024-01-05 18:34:24 +01:00
|
|
|
Release: 1mamba
|
2024-01-05 18:34:24 +01:00
|
|
|
Summary: OpenSSL/RSA-bsafe Tcl extension
|
|
|
|
Group: Development/Bindings
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-05 18:34:25 +01:00
|
|
|
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
|
2024-01-05 18:34:24 +01:00
|
|
|
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
|
2024-01-05 18:34:24 +01:00
|
|
|
BuildRequires: libtcl-devel
|
2024-01-05 18:34:25 +01:00
|
|
|
Provides: tcltls
|
2024-01-05 18:34:24 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-05 18:34:25 +01:00
|
|
|
%setup -q -n tcltls-%{version}
|
2024-01-05 18:34:24 +01:00
|
|
|
#%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)
|
2024-01-05 18:34:25 +01:00
|
|
|
%dir %{_libdir}/tcltls%{version}
|
|
|
|
%{_libdir}/tcltls%{version}/pkgIndex.tcl
|
|
|
|
%{_libdir}/tcltls%{version}/tcltls.so
|
|
|
|
%doc license.terms
|
2024-01-05 18:34:24 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-05 18:34:25 +01:00
|
|
|
* Sat Nov 26 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.22-1mamba
|
|
|
|
- update to 1.7.22
|
|
|
|
|
2024-01-05 18:34:24 +01:00
|
|
|
* Thu Jan 21 2016 Automatic Build System <autodist@mambasoft.it> 1.6.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 18:34:24 +01:00
|
|
|
* 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
|