[packages/python-keyczar] new, version 0.71c
glen
glen at pld-linux.org
Wed Sep 18 11:50:15 CEST 2013
commit 297ff2931eae3d4fbc971e465a6d8b066c629c71
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Wed Sep 18 12:49:37 2013 +0300
new, version 0.71c
created from fedora package
29622e2925e03baf51fcb2a6f9a94aa0a4093984
python-keyczar.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
---
diff --git a/python-keyczar.spec b/python-keyczar.spec
new file mode 100644
index 0000000..23c2454
--- /dev/null
+++ b/python-keyczar.spec
@@ -0,0 +1,59 @@
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+
+%define module keyczar
+Summary: Toolkit for safe and simple cryptography
+Name: python-%{module}
+Version: 0.71c
+Release: 1
+License: Apache v2.0
+Group: Development/Languages
+Source0: http://keyczar.googlecode.com/files/%{name}-%{version}.tar.gz
+# Source0-md5: 57154b1e8ad3f59e2c8296d5d5a516eb
+URL: http://www.keyczar.org/
+BuildRequires: python-Crypto
+BuildRequires: python-devel
+BuildRequires: python-pyasn1
+BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.219
+Requires: python-Crypto
+Requires: python-pyasn1
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Keyczar is an open source cryptographic toolkit designed to make it
+easier and safer for developers to use cryptography in their
+applications. Keyczar supports authentication and encryption with both
+symmetric and asymmetric keys.
+
+%prep
+%setup -q
+rm -r python_keyczar.egg-info
+
+%build
+%{__python} setup.py build
+
+%if %{with tests}
+cd tests/keyczar_tests
+PYTHONPATH=$PYTHONPATH:../../src/ ./alltests.py
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+ --skip-build \
+ --optimize=2 \
+ --root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README LICENSE doc/pycrypt.pdf
+%{py_sitescriptdir}/keyczar
+%{py_sitescriptdir}/python_keyczar-*.egg-info
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python-keyczar.git/commitdiff/297ff2931eae3d4fbc971e465a6d8b066c629c71
More information about the pld-cvs-commit
mailing list