Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37045980
en ru br
ALT Linux repositórios
S:2.1.4-alt4
5.0: 2.1-alt7
4.1: 2.1-alt7
4.0: 2.1-alt7
3.0: 2.1-alt5

Group :: Desenvolvimento/Tcl
RPM: tcl-trf

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%{?optflags_lto:%global optflags_lto %optflags_lto -ffat-lto-objects}

Name: tcl-trf
Version: 2.1.4
Release: alt4

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/libTrf%version.so
%_tcllibdir/Trf%version/pkgIndex.tcl

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009