1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86
# -*- 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 * Fri Dec 29 2006 ALT QA Team Robot <qa-robot@altlinux.org> 1.5.1-alt3.1 - Rebuilt due to libcrypto.so.4 -> libcrypto.so.6 soname change. * Sat Jul 22 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.5.1-alt3 - fixed build on x86_64 * Fri Jan 20 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.5.1-alt2 - fixed unresolved symbols, appeared in prev build * Tue Jan 10 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.5.1-alt1 - CVS snapshot @20050208 * Wed Nov 3 2004 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.5.0-alt2 - CVS snapshot @20040629 * Fri May 14 2004 Sergey Bolshakov <sbolshakov@altlinux.ru> 1.5.0-alt1 - 1.5.0 * Wed May 12 2004 ALT QA Team Robot <qa-robot@altlinux.org> 1.4.1-alt9.1.1 - Rebuilt with openssl-0.9.7d. * Wed May 12 2004 Dmitry V. Levin <ldv@altlinux.org> 1.4.1-alt9.1 - Fixed packager tag. * Tue Sep 24 2002 Sergey Bolshakov <s.bolshakov@belcaf.com> 1.4.1-alt9 - rebuilt with tcl 8.4 * Fri Jun 7 2002 Sergey Bolshakov <s.bolshakov@belcaf.com> 1.4.1-alt8 - updated from cvs - rebuilt in new env - src rpm splitted