ALT Linux repositórios
Group :: Desenvolvimento/Tcl
RPM: tcl-tls
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# -*- rpm-spec -*-
# $Id: tcl-tls,v 1.13 2006/07/22 15:59:26 me Exp $
%def_without test
%define snapshot 20060330
%define teaname tls
Name: tcl-%teaname
Version: 1.5.1
Release: alt3.1
Summary: A tcl extension, wich adds SSL ability to any Tcl channel
License: BSD
Group: Development/Tcl
Url: http://%teaname.sourceforge.net/
%ifdef snapshot
Source: %name-%snapshot.tar.bz2
%else
Source: http://download.sourceforge.net/%teaname/%teaname%version-src.tar.bz2
%endif
Patch0: %name-1.5.0-ciphers.patch
BuildPreReq: rpm-build-tcl >= 0.2-alt1
BuildRequires: libssl-devel tcl-devel >= 8.4.0-alt1
Requires: tcl >= 8.4.0-alt1
%description
TLS is a Tcl extension, wich adds SSL ability to any Tcl channel.
Both client and server-side sockets are possible, and this code should work
on any platform as it uses a generic mechanism for layering on SSL and Tcl.
%prep
%setup -q %{?snapshot:-c}%{!?snapshot:-n %teaname}
%patch0 -p1
%teapatch
%build
%configure --with-ssl-dir=%_prefix
%__make
%if_with test
%__make test TCLSH_ENV='LD_LIBRARY_PATH=.'
%endif
%install
%makeinstall
%files
%doc ChangeLog README.txt license.terms tls.htm
%_tcllibdir/lib%teaname%version.so
%_tcldatadir/%teaname%version
%_includedir/tls.h
%changelog
…
Todas as alterações você pod ver aqui
# $Id: tcl-tls,v 1.13 2006/07/22 15:59:26 me Exp $
%def_without test
%define snapshot 20060330
%define teaname tls
Name: tcl-%teaname
Version: 1.5.1
Release: alt3.1
Summary: A tcl extension, wich adds SSL ability to any Tcl channel
License: BSD
Group: Development/Tcl
Url: http://%teaname.sourceforge.net/
%ifdef snapshot
Source: %name-%snapshot.tar.bz2
%else
Source: http://download.sourceforge.net/%teaname/%teaname%version-src.tar.bz2
%endif
Patch0: %name-1.5.0-ciphers.patch
BuildPreReq: rpm-build-tcl >= 0.2-alt1
BuildRequires: libssl-devel tcl-devel >= 8.4.0-alt1
Requires: tcl >= 8.4.0-alt1
%description
TLS is a Tcl extension, wich adds SSL ability to any Tcl channel.
Both client and server-side sockets are possible, and this code should work
on any platform as it uses a generic mechanism for layering on SSL and Tcl.
%prep
%setup -q %{?snapshot:-c}%{!?snapshot:-n %teaname}
%patch0 -p1
%teapatch
%build
%configure --with-ssl-dir=%_prefix
%__make
%if_with test
%__make test TCLSH_ENV='LD_LIBRARY_PATH=.'
%endif
%install
%makeinstall
%files
%doc ChangeLog README.txt license.terms tls.htm
%_tcllibdir/lib%teaname%version.so
%_tcldatadir/%teaname%version
%_includedir/tls.h
%changelog
…
Todas as alterações você pod ver aqui