rpms/python-gnutls/F-11 import.log, NONE, 1.1 python-gnutls.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Peter Lemenkov peter at fedoraproject.org
Tue Jun 2 07:00:06 UTC 2009


Author: peter

Update of /cvs/pkgs/rpms/python-gnutls/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7896/F-11

Modified Files:
	.cvsignore sources 
Added Files:
	import.log python-gnutls.spec 
Log Message:
initial commit


--- NEW FILE import.log ---
python-gnutls-1_1_8-2_fc10:F-11:python-gnutls-1.1.8-2.fc10.src.rpm:1243925941


--- NEW FILE python-gnutls.spec ---
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}


Name:		python-gnutls
Version:	1.1.8
Release:	2%{?dist}
Summary:	Python wrapper for the GNUTLS library
Group:		Development/Languages
License:	LGPLv2+
URL:		http://pypi.python.org/pypi/python-gnutls
Source0:	http://pypi.python.org/packages/source/p/%{name}/%{name}-%{version}.tar.gz
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires:	python-devel
BuildRequires:	gnutls-devel
BuildRequires:	python-setuptools-devel
Requires:	python-twisted-core
Requires:	python-zope-interface


%description
This package provides a high level object oriented wrapper around gnutls,
as well as low level bindings to the GNUTLS types and functions via ctypes.
The high level wrapper hides the details of accessing the GNUTLS library via
ctypes behind a set of classes that encapsulate GNUTLS sessions, certificates
and credentials and expose them to python applications using a simple API.

The package also includes a Twisted interface that has seamless intergration
with Twisted, providing connectTLS and listenTLS methods on the Twisted reactor
once imported (the methods are automatically attached to the reactor by simply
importing the GNUTLS Twisted interface module).

The high level wrapper is written using the GNUTLS library bindings that are
made available via ctypes. This makes the wrapper very powerful and flexible
as it has direct access to all the GNUTLS internals and is also very easy to
extend without any need to write C code or recompile anything.


%prep
%setup -q
chmod 644 examples/*.py


%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} -c 'import setuptools; execfile("setup.py")' build


%install
rm -rf $RPM_BUILD_ROOT
%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root $RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc LICENSE PKG-INFO README examples
%{python_sitearch}/gnutls/
%{python_sitearch}/python_gnutls-%{version}-*.egg-info/


%changelog
* Mon Jun  1 2009 Peter Lemenkov <lemenkov at gmail.com> 1.1.8-2
- Added missing BR python-setuptools-devel

* Fri May 29 2009 Peter Lemenkov <lemenkov at gmail.com> 1.1.8-1
- Initial build



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-gnutls/F-11/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	1 Jun 2009 18:25:19 -0000	1.1
+++ .cvsignore	2 Jun 2009 06:59:36 -0000	1.2
@@ -0,0 +1 @@
+python-gnutls-1.1.8.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-gnutls/F-11/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	1 Jun 2009 18:25:19 -0000	1.1
+++ sources	2 Jun 2009 06:59:36 -0000	1.2
@@ -0,0 +1 @@
+a9032d65b338573291ef3a9be664c887  python-gnutls-1.1.8.tar.gz




More information about the fedora-extras-commits mailing list