packages: python-cryptkit/python-cryptkit.spec (NEW) - Added needs some pol...

matkor matkor at pld-linux.org
Fri Oct 9 16:57:08 CEST 2009


Author: matkor                       Date: Fri Oct  9 14:57:08 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- Added needs some polishing.

---- Files affected:
packages/python-cryptkit:
   python-cryptkit.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-cryptkit/python-cryptkit.spec
diff -u /dev/null packages/python-cryptkit/python-cryptkit.spec:1.1
--- /dev/null	Fri Oct  9 16:57:08 2009
+++ packages/python-cryptkit/python-cryptkit.spec	Fri Oct  9 16:57:03 2009
@@ -0,0 +1,73 @@
+# $Revision$, $Date$
+%define 	module	cryptkit
+Summary:	Small, fast cryptographic toolkit for python
+Summary(pl.UTF-8):	Mały i szybki zbiór narzędzi dla pythona
+Name:		python-%{module}
+Version:	0.9
+Release:	0.1
+License:	BSD
+Group:		Development/Languages/Python
+Source0:	http://dl.sourceforge.net/project/cryptkit/_cryptkit/Complete%20Kit/cryptkit-%{version}.tar.gz
+# Source0-md5:	77e4693a153c31170e9ef6f4e29819ff
+URL:		http://sourceforge.net/projects/cryptkit/
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+# if py_postclean is used
+BuildRequires:	rpmbuild(macros) >= 1.219
+#Requires:		python-libs
+Requires:	python-modules
+# BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+CryptKit is a small, fast cryptographic toolkit for python. It
+implements Rijndael(AES), SHA 256, Elliptic Curve PKI, Diffie-Hellman
+key exchange and Nyberg-Ruppel signature/verification. Comprehensive
+enough to provide a secure socket alternative to SSL
+
+%description -l pl.UTF-8
+
+%prep
+%setup -q -n %{module}-%{version}
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+#%doc AUTHORS CREDITS ChangeLog NEWS README THANKS TODO
+# %{py_sitedir}/*.py[co]
+# %{py_sitescriptdir}/%{module}
+%attr(755,root,root) %{py_sitedir}/*.so
+%{py_sitedir}/aes
+%{py_sitedir}/cryptsock
+%{py_sitedir}/ecc
+%{py_sitedir}/entropy
+%{py_sitedir}/sha256
+%if "%{py_ver}" > "2.4"
+%{py_sitedir}/TEMPLATE-*.egg-info
+%endif
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/10/09 14:57:03  matkor
+- Added needs some polishing.
+
================================================================


More information about the pld-cvs-commit mailing list