6 Summary: The BeeCrypt Cryptography Library
7 Summary(pl): Biblioteka kryptograficzna BeeCrypt
14 #Source0: http://dl.sf.net/%{name}/%{name}-%{version}pre.%{snap}.tar.gz
15 Source0: ftp://distfiles.pld-linux.org/src/%{name}-%{version}pre.%{snap}.tar.gz
16 # Source0-md5: c8659b0005a19606a7e182ff09eb10c2
17 Patch0: %{name}-opt.patch
18 Patch1: %{name}-python.patch
19 URL: http://sourceforge.net/projects/beecrypt/
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRequires: libtool
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 BeeCrypt is an open source cryptography library that contains highly
27 optimized C and assembler implementations of many well-known
28 algorithms including Blowfish, MD5, SHA-1, Diffie-Hellman, and
32 BeeCrypt jest open sourcow± bibliotek±, która zawiera wysoko
33 zoptymailzowane funkcje w C oraz assemblerze wielu algorytmów
34 szyfrowania m.in.: Blowfish, MD5, SHA-1, Diffie-Hellman oraz ElGamal.
37 Summary: The BeeCrypt Cryptography Library - development files
38 Summary(pl): Pliki dla programistów u¿ywaj±cych biblioteki BeeCrypt
39 Group: Development/Libraries
40 Requires: %{name} = %{version}
43 The BeeCrypt Cryptography Library - development files.
45 %description devel -l pl
46 Biblioteka kryptograficzna BeeCrypt - pliki dla programistów.
49 Summary: The BeeCrypt Cryptography Library - static library
50 Summary(pl): Biblioteka statyczna BeeCrypt
51 Group: Development/Libraries
52 Requires: %{name}-devel = %{version}
55 The BeeCrypt Cryptography Library - static library.
57 %description static -l pl
58 Biblioteka statyczna BeeCrypt.
60 %package -n python-beecrypt
61 Summary: Python interface to BeeCrypt library
62 Summary(pl): Pythonowy interfejs do biblioteki BeeCrypt
63 Group: Development/Languages/Python
64 Requires: %{name} = %{version}
67 %description -n python-beecrypt
68 The python-beecrypt package contains a module which permits applications
69 written in the Python programming language to use the interface
70 supplied by BeeCrypt libraries.
72 %description -n python-beecrypt -l pl
73 Pakiet python-beecrypt zawiera modu³, który pozwala aplikacjom napisanym w
74 Pythonie na u¿ywanie interfejsu dostarczanego przez bibliotekê BeeCrytp.
77 %setup -q -n %{name}-%{version}pre
89 --with%{?!_with_javaglue:out}-javaglue \
90 --with-cpu=%{_target_cpu} \
91 --with-arch=%{_target_cpu}
95 rm -rf $RPM_BUILD_ROOT
97 %{__make} install DESTDIR=$RPM_BUILD_ROOT
100 rm -rf $RPM_BUILD_ROOT
102 %post -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
106 %defattr(644,root,root,755)
107 %doc AUTHORS BENCHMARKS BUGS CONTRIBUTORS NEWS README
108 %attr(755,root,root) %{_libdir}/lib*.so.*.*
111 %defattr(644,root,root,755)
117 %defattr(644,root,root,755)
120 %files -n python-beecrypt
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{py_sitedir}/*.so