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