Search
j0ke.net Open Build Service
>
Projects
>
devel
:
python
>
python-crypto
> python-crypto.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File python-crypto.spec of Package python-crypto (Revision 2)
Currently displaying revision
2
,
show latest
# # spec file for package python-crypto (Version 2.2) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: python-crypto BuildRequires: python-devel BuildRequires: gmp-devel Url: http://www.dlitz.net/software/pycrypto/ License: Python License Group: Development/Libraries/Python Version: 2.2 Release: 1 Summary: Cryptographic Algorithms and Protocols for Python Source: pycrypto-%{version}.tar.bz2 Patch0: pycrypto-2.1.0-ssize.patch Patch1: python-crypto-remove_bogus_shebang.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} %description The package contains: * Hash functions: MD2, MD4, RIPEMD, SHA256. * Block encryption algorithms: AES, ARC2, Blowfish, CAST, DES, Triple-DES, IDEA, RC5. * Stream encryption algorithms: ARC4, simple XOR. * Public-key algorithms: RSA, DSA, ElGamal, qNEW. * Protocols: All-or-nothing transforms, chaffing/winnowing. * Miscellaneous: RFC1751 module for converting 128-key keys into a set of English words, primality testing. * Some demo programs (currently all quite old and outdated). %prep %setup -n "pycrypto-%{version}" %patch0 %patch1 %build export CFLAGS="%{optflags} -fno-strict-aliasing" %__python setup.py build %install %__python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES %check %__python setup.py test %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files -f INSTALLED_FILES %defattr(-,root,root) %doc ACKS ChangeLog COPYRIGHT README TODO %changelog