]> git.pld-linux.org Git - packages/python-gnutls.git/blame - python-gnutls.spec
- updated to 3.1.2
[packages/python-gnutls.git] / python-gnutls.spec
CommitLineData
5e5a9850
JK
1%define module gnutls
2Summary: Python wrapper for the GNUTLS library
c494a147 3Summary(pl.UTF-8): Pythonowy interfejs do biblioteki GNUTLS
5e5a9850 4Name: python-%{module}
83f29a08 5Version: 3.1.2
385f109f 6Release: 1
c494a147 7License: LGPL v2+
5e5a9850 8Group: Development/Languages/Python
385f109f
JB
9#Source0Download: https://pypi.python.org/simple/python-gnutls/
10Source0: https://files.pythonhosted.org/packages/source/p/python-gnutls/%{name}-%{version}.tar.gz
83f29a08 11# Source0-md5: ee71ddd04b2c01fbe99ae3b02739cddf
c2ff16d5 12URL: https://pypi.python.org/pypi/python-gnutls/
385f109f
JB
13BuildRequires: gnutls-devel >= 3.2.0
14BuildRequires: python-devel >= 1:2.7
5e5a9850 15BuildRequires: rpm-pythonprov
e4b246c1 16BuildRequires: rpmbuild(macros) >= 1.710
385f109f
JB
17Requires: gnutls >= 3.2.0
18Requires: python-modules >= 1:2.7
5e5a9850
JK
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
c494a147
JB
22This package provides a high level object oriented wrapper around
23libgnutls, as well as low level bindings to the GNUTLS types and
24functions via ctypes. The high level wrapper hides the details of
25accessing the GNUTLS library via ctypes behind a set of classes that
26encapsulate GNUTLS sessions, certificates and credentials and expose
27them to Python applications using a simple API.
28
29%description -l pl.UTF-8
30Ten pakiet udostępnia wysokopoziomowe, zorientowane obiektowo
31obudowanie libgnutls, a także niskopoziomowe wiązania do typów i
32funkcji GNUTLS poprzez ctypes. Wysokopoziomowe obudowanie skrywa
33szczegóły dostępu do biblioteki GNUTLS poprzez ctypes za zbiorem klas
34przechowujących sesje, certyfikaty oraz dane uwierzytelniające GNUTLS
35i udostępnia je aplikacjom Pythona poprzez proste API.
5e5a9850
JK
36
37%prep
38%setup -q
39
40%build
03f7773b 41%py_build
5e5a9850
JK
42
43%install
44rm -rf $RPM_BUILD_ROOT
03f7773b 45%py_install
5e5a9850 46
5e5a9850
JK
47%py_postclean
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
c494a147 54%doc ChangeLog LICENSE README
0d8868b5
JB
55%dir %{py_sitescriptdir}/gnutls
56%{py_sitescriptdir}/gnutls/*.py[co]
57%dir %{py_sitescriptdir}/gnutls/interfaces
58%{py_sitescriptdir}/gnutls/interfaces/*.py[co]
59%dir %{py_sitescriptdir}/gnutls/interfaces/twisted
60%{py_sitescriptdir}/gnutls/interfaces/twisted/*.py[co]
61%dir %{py_sitescriptdir}/gnutls/library
62%{py_sitescriptdir}/gnutls/library/*.py[co]
63%{py_sitescriptdir}/python_gnutls-%{version}-py*.egg-info
This page took 0.063612 seconds and 4 git commands to generate.