5 %include /usr/lib/rpm/macros.python
6 Summary: The BeeCrypt Cryptography Library
7 Summary(pl): Biblioteka kryptograficzna BeeCrypt
14 Source0: http://dl.sourceforge.net/beecrypt/%{name}-%{version}.tar.gz
15 # Source0-md5: 1472cada46e2ab9f532f984de9740386
16 Patch0: %{name}-opt.patch
17 Patch1: %{name}-python.patch
18 Patch2: %{name}-lib64_fix.patch
19 URL: http://sourceforge.net/projects/beecrypt/
20 BuildRequires: autoconf >= 2.50
21 BuildRequires: automake
22 BuildRequires: libtool
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 %define specflags_alpha "-mno-explicit-relocs"
28 BeeCrypt is an open source cryptography library that contains highly
29 optimized C and assembler implementations of many well-known
30 algorithms including Blowfish, MD5, SHA-1, Diffie-Hellman, and
34 BeeCrypt jest open sourcow± bibliotek±, która zawiera wysoko
35 zoptymailzowane funkcje w C oraz assemblerze wielu algorytmów
36 szyfrowania m.in.: Blowfish, MD5, SHA-1, Diffie-Hellman oraz ElGamal.
39 Summary: The BeeCrypt Cryptography Library - development files
40 Summary(pl): Pliki dla programistów u¿ywaj±cych biblioteki BeeCrypt
41 Group: Development/Libraries
42 Requires: %{name} = %{epoch}:%{version}
45 The BeeCrypt Cryptography Library - development files.
47 %description devel -l pl
48 Biblioteka kryptograficzna BeeCrypt - pliki dla programistów.
51 Summary: The BeeCrypt Cryptography Library - static library
52 Summary(pl): Biblioteka statyczna BeeCrypt
53 Group: Development/Libraries
54 Requires: %{name}-devel = %{epoch}:%{version}
57 The BeeCrypt Cryptography Library - static library.
59 %description static -l pl
60 Biblioteka statyczna BeeCrypt.
62 %package -n python-beecrypt
63 Summary: Python interface to BeeCrypt library
64 Summary(pl): Pythonowy interfejs do biblioteki BeeCrypt
65 Group: Development/Languages/Python
66 Requires: %{name} = %{epoch}:%{version}
69 %description -n python-beecrypt
70 The python-beecrypt package contains a module which permits applications
71 written in the Python programming language to use the interface
72 supplied by BeeCrypt libraries.
74 %description -n python-beecrypt -l pl
75 Pakiet python-beecrypt zawiera modu³, który pozwala aplikacjom napisanym w
76 Pythonie na u¿ywanie interfejsu dostarczanego przez bibliotekê BeeCrytp.
92 --with%{?!_with_javaglue:out}-javaglue \
93 --with-cpu=%{_target_cpu} \
94 --with-arch=%{_target_cpu} \
101 rm -rf $RPM_BUILD_ROOT
104 DESTDIR=$RPM_BUILD_ROOT
106 %{__make} install -C python \
107 DESTDIR=$RPM_BUILD_ROOT
110 rm -rf $RPM_BUILD_ROOT
112 %post -p /sbin/ldconfig
113 %postun -p /sbin/ldconfig
116 %defattr(644,root,root,755)
117 %doc AUTHORS BENCHMARKS BUGS CONTRIBUTORS NEWS README
118 %attr(755,root,root) %{_libdir}/lib*.so.*.*
121 %defattr(644,root,root,755)
122 %attr(755,root,root) %{_libdir}/lib*.so
127 %defattr(644,root,root,755)
130 %files -n python-beecrypt
131 %defattr(644,root,root,755)
132 %attr(755,root,root) %{py_sitedir}/*.so