SPECS: libcrypto++.spec (NEW) - initial
arekm
arekm at pld-linux.org
Wed Mar 4 14:55:56 CET 2009
Author: arekm Date: Wed Mar 4 13:55:56 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial
---- Files affected:
SPECS:
libcrypto++.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/libcrypto++.spec
diff -u /dev/null SPECS/libcrypto++.spec:1.1
--- /dev/null Wed Mar 4 14:55:56 2009
+++ SPECS/libcrypto++.spec Wed Mar 4 14:55:51 2009
@@ -0,0 +1,135 @@
+# $Revision$, $Date$
+Summary: C++ class library of cryptographic schemes
+Name: libcrypto++
+Version: 5.5.2
+Release: 1
+License: Public Domain
+Group: Libraries
+Source0: http://www.cryptopp.com/cryptopp552.zip
+# Source0-md5: a889be9d9ad5c202c925fb105caa4857
+Patch0: %{name}-debian.patch
+Patch1: %{name}-pld.patch
+BuildRequires: dos2unix
+BuildRequires: unzip
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define filterout_ld -Wl,--as-needed
+
+%description
+Crypto++ Library is a free C++ class library of cryptographic schemes.
+Currently the library contains the following algorithms:
+- high speed stream ciphers: Panama, Salsa20, Sosemanuk
+- AES and AES candidates: AES (Rijndael), RC6, MARS, Twofish, Serpent,
+ CAST-256
+- other block ciphers: IDEA, Triple-DES (DES-EDE2 and DES-EDE3),
+ Camellia, RC5, Blowfish, TEA, XTEA, Skipjack, SHACAL-2
+- block cipher modes of operation: ECB, CBC, CBC ciphertext stealing
+ (CTS), CFB, OFB, counter mode (CTR)
+- message authentication codes: VMAC, HMAC, CBC-MAC, DMAC,
+ Two-Track-MAC
+- hash functions: SHA-1, SHA-2 (SHA-224, SHA-256, SHA-384, and
+ SHA-512), Tiger, WHIRLPOOL, RIPEMD-128, RIPEMD-256, RIPEMD-160,
+ RIPEMD-320
+- public-key cryptography: RSA, DSA, ElGamal, Nyberg-Rueppel (NR),
+ Rabin, Rabin-Williams (RW), LUC, LUCELG, DLIES (variants of DHAES),
+ ESIGN
+- padding schemes for public-key systems: PKCS#1 v2.0, OAEP, PSS,
+ PSSR, IEEE P1363 EMSA2 and EMSA5
+- key agreement schemes: Diffie-Hellman (DH), Unified Diffie-Hellman
+ (DH2), Menezes-Qu-Vanstone (MQV), LUCDIF, XTR-DH
+- elliptic curve cryptography: ECDSA, ECNR, ECIES, ECDH, ECMQV
+- insecure or obsolescent algorithms retained for backwards
+ compatibility and historical value: MD2, MD4, MD5, Panama Hash, DES,
+ ARC4, SEAL 3.0, WAKE, WAKE-OFB, DESX (DES-XEX3), RC2, SAFER, 3-WAY,
+ GOST, SHARK, CAST-128, Square
+
+%package devel
+Summary: Header files for developing with libcrypto++
+Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów używających libcrypto++
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+This package provides the necessary header files files to allow you to
+develop with libcrypto++.
+
+%description devel -l pl.UTF-8
+Ten pakiet dostarcza pliki nagłówkowe potrzebne do tworzenia
+oprogramowania korzystającego z libcrypto++.
+
+%package static
+Summary: Static version of libcrypto++ library
+Summary(pl.UTF-8): Statyczna wersja biblioteki libcrypto++
+Group: Development/Libraries
+Requires: %{name}-devel = %{version}-%{release}
+
+%description static
+Static version of libcrypto++ library.
+
+%description static -l pl.UTF-8
+Statyczna wersja biblioteki libcrypto++.
+
+%prep
+%setup -q -c
+rm GNUmakefile
+dos2unix -q *.h *.cpp Doxyfile
+%patch0 -p1
+
+for a in debian/patches/*.dpatch; do
+ cat $a | patch -p1 || exit 1
+done
+
+cp -a debian/{Makefile.am,config.h.in,configure.ac,libcrypto++.pc.in} .
+
+%patch1 -p1
+
+%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoheader}
+%{__autoconf}
+%{__automake}
+
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc *.txt
+%attr(755,root,root) %{_bindir}/crypt*
+%attr(755,root,root) %{_libdir}/libcrypto++.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcrypto++.so.7
+%{_datadir}/crypto*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libcrypto++.so
+%{_libdir}/libcrypto++.la
+%{_includedir}/crypto*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/libcrypto++.a
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2009/03/04 13:55:51 arekm
+- initial
+
================================================================
More information about the pld-cvs-commit
mailing list