Group :: Sistema/Bibliotecas
RPM: beecrypt
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: beecrypt
Version: 2.2.0
Release: alt4
Summary: The BeeCrypt Cryptography Library
License: LGPL
Group: System/Libraries
Url: http://beecrypt.virtualunlimited.com
%def_disable debug
#Source: %url/download/%name-%version.tar.bz2
#
# The source tar ball was prepared from
# cvs -d :pserver:anonymous at cvs.rpm.org:/cvs/devel login
# (no password, just carriage return)
# cvs -d :pserver:anonymous at cvs.rpm.org:/cvs/devel export -D now beecrypt
# This is an doxygen/splint annotated version of "official" beecrypt-2.2.0.
#
Source: %name-%version.tar.bz2
Patch1: %name-2.2.0-alt-config.patch
Patch2: %name-2.2.0-alt-configure.patch
Patch3: %name-2.2.0-alt-arm.patch
%package -n lib%name
Summary: The BeeCrypt Cryptography Library
Group: System/Libraries
Provides: %name = %version-%release
Obsoletes: %name
%package -n lib%name-devel
Summary: Development environment for the BeeCrypt Cryptography Library
Group: Development/C
Provides: %name-devel = %version-%release
Obsoletes: %name-devel
Requires: lib%name = %version-%release
%package -n lib%name-devel-static
Summary: Static version of the BeeCrypt Cryptography Library
Group: Development/C
Provides: %name-devel-static = %version-%release
Obsoletes: %name-devel-static
Requires: lib%name-devel = %version-%release
%description
BeeCrypt is an open source cryptography library that contains
highly optimized C and assembler implementations of many
well-known algorithms including Blowfish, MD5, SHA-1,
Diffie-Hellman, and ElGamal.
%description -n lib%name
BeeCrypt is an open source cryptography library that contains
highly optimized C and assembler implementations of many
well-known algorithms including Blowfish, MD5, SHA-1,
Diffie-Hellman, and ElGamal.
%description -n lib%name-devel
BeeCrypt is an open source cryptography library that contains
highly optimized C and assembler implementations of many
well-known algorithms including Blowfish, MD5, SHA-1,
Diffie-Hellman, and ElGamal.
This package contains development files required for building
BeeCrypt-based software.
%description -n lib%name-devel-static
BeeCrypt is an open source cryptography library that contains
highly optimized C and assembler implementations of many
well-known algorithms including Blowfish, MD5, SHA-1,
Diffie-Hellman, and ElGamal.
This package contains static library required for building
BeeCrypt-based statically linked software.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
ln -snf config.h beecrypt_config.h
ln -snf config.gnu.h beecrypt_config.gnu.h
aclocal
automake
autoconf
%define _optlevel 3
export \
ac_cv_have_dev_random=yes \
ac_cv_have_dev_urandom=yes \
ac_cv_have_dev_tty=yes \
#
%configure \
--enable-static \
%{subst_enable debug} \
#
%make_build
%install
%make_install install \
DESTDIR=$RPM_BUILD_ROOT
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -n lib%name
%_libdir/*.so.*
%doc AUTHORS BENCHMARKS BUGS CONTRIBUTORS DOCUMENTATION NEWS README
%files -n lib%name-devel
%_libdir/*.so
%_includedir/*
%files -n lib%name-devel-static
%_libdir/*.a
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.2.0
Release: alt4
Summary: The BeeCrypt Cryptography Library
License: LGPL
Group: System/Libraries
Url: http://beecrypt.virtualunlimited.com
%def_disable debug
#Source: %url/download/%name-%version.tar.bz2
#
# The source tar ball was prepared from
# cvs -d :pserver:anonymous at cvs.rpm.org:/cvs/devel login
# (no password, just carriage return)
# cvs -d :pserver:anonymous at cvs.rpm.org:/cvs/devel export -D now beecrypt
# This is an doxygen/splint annotated version of "official" beecrypt-2.2.0.
#
Source: %name-%version.tar.bz2
Patch1: %name-2.2.0-alt-config.patch
Patch2: %name-2.2.0-alt-configure.patch
Patch3: %name-2.2.0-alt-arm.patch
%package -n lib%name
Summary: The BeeCrypt Cryptography Library
Group: System/Libraries
Provides: %name = %version-%release
Obsoletes: %name
%package -n lib%name-devel
Summary: Development environment for the BeeCrypt Cryptography Library
Group: Development/C
Provides: %name-devel = %version-%release
Obsoletes: %name-devel
Requires: lib%name = %version-%release
%package -n lib%name-devel-static
Summary: Static version of the BeeCrypt Cryptography Library
Group: Development/C
Provides: %name-devel-static = %version-%release
Obsoletes: %name-devel-static
Requires: lib%name-devel = %version-%release
%description
BeeCrypt is an open source cryptography library that contains
highly optimized C and assembler implementations of many
well-known algorithms including Blowfish, MD5, SHA-1,
Diffie-Hellman, and ElGamal.
%description -n lib%name
BeeCrypt is an open source cryptography library that contains
highly optimized C and assembler implementations of many
well-known algorithms including Blowfish, MD5, SHA-1,
Diffie-Hellman, and ElGamal.
%description -n lib%name-devel
BeeCrypt is an open source cryptography library that contains
highly optimized C and assembler implementations of many
well-known algorithms including Blowfish, MD5, SHA-1,
Diffie-Hellman, and ElGamal.
This package contains development files required for building
BeeCrypt-based software.
%description -n lib%name-devel-static
BeeCrypt is an open source cryptography library that contains
highly optimized C and assembler implementations of many
well-known algorithms including Blowfish, MD5, SHA-1,
Diffie-Hellman, and ElGamal.
This package contains static library required for building
BeeCrypt-based statically linked software.
%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
ln -snf config.h beecrypt_config.h
ln -snf config.gnu.h beecrypt_config.gnu.h
aclocal
automake
autoconf
%define _optlevel 3
export \
ac_cv_have_dev_random=yes \
ac_cv_have_dev_urandom=yes \
ac_cv_have_dev_tty=yes \
#
%configure \
--enable-static \
%{subst_enable debug} \
#
%make_build
%install
%make_install install \
DESTDIR=$RPM_BUILD_ROOT
%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig
%files -n lib%name
%_libdir/*.so.*
%doc AUTHORS BENCHMARKS BUGS CONTRIBUTORS DOCUMENTATION NEWS README
%files -n lib%name-devel
%_libdir/*.so
%_includedir/*
%files -n lib%name-devel-static
%_libdir/*.a
%changelog
…
Todas as alterações você pod ver aqui