]> git.pld-linux.org Git - packages/python-keyczar.git/blame - python-keyczar.spec
- release 3 (by relup.sh)
[packages/python-keyczar.git] / python-keyczar.spec
CommitLineData
297ff293
ER
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4
5%define module keyczar
6Summary: Toolkit for safe and simple cryptography
7Name: python-%{module}
8Version: 0.71c
f47b3332 9Release: 3
297ff293
ER
10License: Apache v2.0
11Group: Development/Languages
12Source0: http://keyczar.googlecode.com/files/%{name}-%{version}.tar.gz
13# Source0-md5: 57154b1e8ad3f59e2c8296d5d5a516eb
14URL: http://www.keyczar.org/
15BuildRequires: python-Crypto
16BuildRequires: python-devel
17BuildRequires: python-pyasn1
18BuildRequires: rpm-pythonprov
471219d3 19BuildRequires: rpmbuild(macros) >= 1.710
297ff293
ER
20Requires: python-Crypto
21Requires: python-pyasn1
22BuildArch: noarch
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26Keyczar is an open source cryptographic toolkit designed to make it
27easier and safer for developers to use cryptography in their
28applications. Keyczar supports authentication and encryption with both
29symmetric and asymmetric keys.
30
31%prep
32%setup -q
33rm -r python_keyczar.egg-info
34
35%build
f478103a 36%py_build
297ff293
ER
37
38%if %{with tests}
39cd tests/keyczar_tests
40PYTHONPATH=$PYTHONPATH:../../src/ ./alltests.py
41%endif
42
43%install
44rm -rf $RPM_BUILD_ROOT
f478103a 45%py_install
297ff293
ER
46
47%py_postclean
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%doc README LICENSE doc/pycrypt.pdf
55%{py_sitescriptdir}/keyczar
56%{py_sitescriptdir}/python_keyczar-*.egg-info
This page took 0.077318 seconds and 4 git commands to generate.