3 %bcond_without tests # do not perform "make test"
6 Summary: Toolkit for safe and simple cryptography
11 Group: Development/Languages
12 Source0: http://keyczar.googlecode.com/files/%{name}-%{version}.tar.gz
13 # Source0-md5: 57154b1e8ad3f59e2c8296d5d5a516eb
14 URL: http://www.keyczar.org/
15 BuildRequires: python-Crypto
16 BuildRequires: python-devel
17 BuildRequires: python-pyasn1
18 BuildRequires: rpm-pythonprov
19 BuildRequires: rpmbuild(macros) >= 1.710
20 Requires: python-Crypto
21 Requires: python-pyasn1
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Keyczar is an open source cryptographic toolkit designed to make it
27 easier and safer for developers to use cryptography in their
28 applications. Keyczar supports authentication and encryption with both
29 symmetric and asymmetric keys.
33 rm -r python_keyczar.egg-info
39 cd tests/keyczar_tests
40 PYTHONPATH=$PYTHONPATH:../../src/ ./alltests.py
44 rm -rf $RPM_BUILD_ROOT
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc README LICENSE doc/pycrypt.pdf
55 %{py_sitescriptdir}/keyczar
56 %{py_sitescriptdir}/python_keyczar-*.egg-info