66 lines
1.9 KiB
RPMSpec
66 lines
1.9 KiB
RPMSpec
|
%define majversion %(echo %version | cut -d. -f 1-2)
|
||
|
|
||
|
Name: tls
|
||
|
Version: 1.6
|
||
|
Release: 2mamba
|
||
|
Summary: OpenSSL/RSA-bsafe Tcl extension
|
||
|
Group: Development/Bindings
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||
|
URL: http://tls.sourceforge.net
|
||
|
Source: http://downloads.sourceforge.net/tls/tls%{version}-src.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: libtcl85-devel
|
||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||
|
|
||
|
%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 %{name}%{majversion}
|
||
|
#%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)
|
||
|
%{_includedir}/*.h
|
||
|
#%{_libdir}/*.so
|
||
|
%{_libdir}/%{name}%{version}
|
||
|
%doc ChangeLog README.txt license.terms tls.htm
|
||
|
|
||
|
%changelog
|
||
|
* 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
|