1 Summary: Peter Gutmann's general purpose encryption library
2 Summary(pl.UTF-8): Biblioteka kryptograficzna ogólnego przeznaczenia Petera Gutmanna
8 Source0: ftp://ftp.franken.de/pub/crypt/cryptlib/cl322.zip
9 # Source0-md5: 0944963faae4566f54aeb45c6e803142
10 URL: http://www.cs.auckland.ac.nz/~pgut001/cryptlib/
11 BuildRequires: sed >= 4.0
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 The cryptlib encryption library provides an easy-to-use interface
17 which allows even inexperienced crypto programmers to easily add
18 strong encryption and authentication services to their software. The
19 library contains DES, triple DES, IDEA, MDC/SHS, RC2, RC4, RC5, SAFER,
20 SAFER-SK, Blowfish, and Blowfish-SK conventional encryption, MD2, MD4,
21 MD5, RIPEMD-160 and SHA hash algorithms, and Diffie-Hellman, DSA, and
22 RSA public-key encryption.
24 %description -l pl.UTF-8
25 Biblioteka kryptograficzna cryptlib udostępnia łatwy w użyciu
26 interfejs pozwalający nawet niedoświaczonym programistom kryptografii
27 łatwo dodawać do swoich programów usługi kryptograficzne i
28 uwierzytelnienia. Biblioteka zawiera szyfry konwencjonalne DES, 3DES,
29 IDEA, MDC/SHS, RC2, RC4, RC5, SAFER, SAFER-SK, Blowfish i Blowfish-SK,
30 algorytmy skrótu MD2, MD4, MD5, RIPEMD-160 i SHA oraz szyfry klucza
31 publicznego Diffie-Hellmana, DSA i RSA.
34 Summary: Header file for cryptlib library
35 Summary(pl.UTF-8): Plik nagłówkowy biblioteki cryptlib
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 The header file for developing applications that use the cryptlib
43 %description devel -l pl.UTF-8
44 Plik nagłówkowy do tworzenia aplikacji korzystających z biblioteki
45 kryptograficznej cryptlib.
48 Summary: Static cryptlib library
49 Summary(pl.UTF-8): Statyczna biblioteka cryptlib
50 Group: Development/Libraries
51 Requires: %{name}-devel = %{version}-%{release}
54 Static cryptlib library.
56 %description static -l pl.UTF-8
57 Statyczna biblioteka cryptlib.
61 unzip -L -a %{SOURCE0}
63 sed -i -e 's/ -O3 / %{rpmcflags} /' makefile
73 rm -rf $RPM_BUILD_ROOT
74 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}}
76 install cryptlib.h $RPM_BUILD_ROOT%{_includedir}
77 install libcl.a $RPM_BUILD_ROOT%{_libdir}
78 install libcl.so.3.2.2 $RPM_BUILD_ROOT%{_libdir}
79 ln -sf libcl.so.3.2.2 $RPM_BUILD_ROOT%{_libdir}/libcl.so
82 rm -rf $RPM_BUILD_ROOT
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/libcl.so.3.2.2
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_libdir}/libcl.so
94 %{_includedir}/cryptlib.h
97 %defattr(644,root,root,755)