]> git.pld-linux.org Git - packages/python-keyczar.git/commitdiff
new, version 0.71c auto/th/python-keyczar-0.71c-1
authorElan Ruusamäe <glen@delfi.ee>
Wed, 18 Sep 2013 09:49:37 +0000 (12:49 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Wed, 18 Sep 2013 09:49:37 +0000 (12:49 +0300)
created from fedora package
29622e2925e03baf51fcb2a6f9a94aa0a4093984

python-keyczar.spec [new file with mode: 0644]

diff --git a/python-keyczar.spec b/python-keyczar.spec
new file mode 100644 (file)
index 0000000..23c2454
--- /dev/null
@@ -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
This page took 0.153637 seconds and 4 git commands to generate.