Package tcl-trf: Specfile
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 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | Name: tcl-trf Version: 2.1.4 Release: alt3 Summary: A tcl extension called Tcl Data transformations License: TCL Group: Development/Tcl Url: http://tcltrf.sourceforge.net/ # CVS import tcltrf.cvs.sourceforge.net:/cvsroot/tcltrf module trf # git://git.altlinux.org/gears/t/tcl-trf.git Source: %name-%version-%release.tar Requires: tcl >= 8.6.7-alt2 BuildRequires: bzlib-devel zlib-devel libssl-devel tcl-devel >= 8.6.7-alt2 tcl-memchan rpm-build-tcl >= 0.5.2-alt1 %description %name is a collection of data transformation: - generation of message digests (hash values, checksums) MD2, MD5, SHA/SHS, SHA-1, HAVAL, RIPEMD-128, -160, CRC (polynomial used by PGP), ADLER (based upon zlib) - conversion from and to various data encodings: dual, octal, hexadecimal representation, uuencoding, base64-encoding, ASCII85-encoding - a reed-solomon error correcting coder - (de)compression based on zlib and bzlib %prep %setup -n %name-%version-%release %tea_patch %build %autoreconf %add_optflags -DSSL_STATIC_BUILD=1 -D_XOPEN_SOURCE export no_zlibtcl=true export CFLAGS="%optflags" export SHLIB_SUFFIX=.so %configure \ --enable-static-bzlib \ --enable-static-zlib \ --enable-static-md5 \ --with-bz2-include-dir=%_includedir \ --with-zlib-include-dir=%_includedir \ --with-ssl-include-dir=%_includedir/openssl \ --with-bz2-lib-dir=%_libdir \ --with-zlib-lib-dir=%_libdir \ --with-ssl-lib-dir=%_libdir \ --enable-threads %make_build LIBS="-lz -lbz2 -lcrypt -lcrypto" %install %makeinstall %check cat <<EOF >test.tcl #!/usr/bin/tclsh package require Trf EOF chmod +x test.tcl TCLLIBPATH=%buildroot%_tcllibdir ./test.tcl %files %doc ChangeLog README doc/license.terms %_tcllibdir/Trf%version %changelog * Mon Jul 05 2021 Vladimir D. Seleznev <vseleznv@altlinux.org> 2.1.4-alt3 - Built with %%tea_patch. - Fixed license field. * Sun Nov 03 2019 Vladimir D. Seleznev <vseleznv@altlinux.org> 2.1.4-alt2 - Replaced aclocal and autoconf calls with %%autoreconf in the %%build (fixed FTBFS). * Tue May 07 2019 Vladimir D. Seleznev <vseleznv@altlinux.org> 2.1.4-alt1 - Updated to 2.1.4. - Applied Debian patches. - Removed non-free files. - Added simple test to check extension loading. - Packaged %%_tcllibdir/Trf%%version (fix post-install unowned files). * Mon Oct 02 2017 Vladimir D. Seleznev <vseleznv@altlinux.org> 2.1-alt8 - adapted for new Tcl/Tk extenstion packaging policy - rebuilt without shared libcrypt and fixed bugs in static md5 * Wed Apr 17 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 2.1-alt7.qa1 - NMU: rebuilt for debuginfo. * Sat Jul 22 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.1-alt7 - updated from CVS @20060124 - fixed build on x86_64 * Tue Jan 10 2006 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.1-alt6 - updated from CVS @ 20051006 * Wed Nov 3 2004 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.1-alt5 - rebuilt against new shiny reqprov finder * Sat May 15 2004 Sergey Bolshakov <sbolshakov@altlinux.ru> 2.1-alt4 - updated from CVS @ 200402018 - dynamically linked with zlib, bzlib, libcrypt instead of dlopen() * Sat Mar 8 2003 Sergey Bolshakov <s.bolshakov@sam-solutions.net> 2.1-alt3 - bzlib bindings fixed * Wed Sep 25 2002 Sergey Bolshakov <s.bolshakov@belcaf.com> 2.1-alt2 - rebuilt in new env * Tue Aug 6 2002 Sergey Bolshakov <s.bolshakov@belcaf.com> 2.1-alt1 - first build for %distribution |