]> git.pld-linux.org Git - packages/python-M2Crypto.git/blame - python-M2Crypto.spec
- openssl 1.0.2g rebuild
[packages/python-M2Crypto.git] / python-M2Crypto.spec
CommitLineData
0dc1620e 1Summary: Python interface to OpenSSL
f3256f05 2Summary(pl.UTF-8): Interfejs Pythona do OpenSSL
2917fb4e 3Name: python-M2Crypto
085d7304 4Version: 0.22.5
b3683a1e 5Release: 2
db5bbf78 6License: BSD-like
4988ab36 7Group: Libraries/Python
c8750eea 8Source0: https://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
085d7304 9# Source0-md5: f84eb07aa1687f39bc26ee7b1ba5a105
c8750eea
JB
10Patch0: %{name}-store2ssl.patch
11Patch1: %{name}-swig.patch
085d7304 12URL: https://gitlab.com/m2crypto/m2crypto
c8750eea
JB
13BuildRequires: openssl-devel >= 0.9.8
14BuildRequires: python-devel >= 1:2.6
44aff576 15BuildRequires: python-modules
16BuildRequires: rpm-pythonprov
cf5fa816 17BuildRequires: rpmbuild(macros) >= 1.710
c8750eea 18BuildRequires: swig-python >= 2.0
8a818010 19BuildRequires: unzip
707d4e2c 20%pyrequires_eq python
2917fb4e 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
2917fb4e 23%description
24M2Crypto makes accessible to the Python programmer the following:
25- DH, RSA, DSA, symmetric ciphers, message digests, HMACs.
26- SSL functionality to implement clients and servers.
27- S/MIME v2.
28
db5bbf78 29M2Crypto is released under a very liberal BSD-like licence. See
2917fb4e 30LICENCE for details.
31
12a04f9d
JR
32%description -l pl.UTF-8
33M2Crypto udostępnia z poziomu Pythona następujące funkcje:
34- DH, RSA, DSA, szyfry symetryczne, skróty, HMAC
35- SSL do implementacji klientów i serwerów
e60c4f73
JB
36- S/MIME v2.
37
2917fb4e 38%prep
e03c4abe 39%setup -q -n M2Crypto-%{version}
63fb16de 40%patch0 -p1
60daa667 41%patch1 -p1
8be7ac7c 42
2917fb4e 43%build
35ec8f26 44%py_build
2917fb4e 45
46%install
47rm -rf $RPM_BUILD_ROOT
4988ab36 48install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
84c63765 49
35ec8f26 50%py_install
2917fb4e 51
4988ab36 52%py_postclean
24ac6e9a 53
2917fb4e 54%clean
55rm -rf $RPM_BUILD_ROOT
56
57%files
58%defattr(644,root,root,755)
c8750eea 59%doc README
24b30991 60%dir %{py_sitedir}/M2Crypto
5d2d2a18 61%attr(755,root,root) %{py_sitedir}/M2Crypto/*.so
c8750eea 62%{py_sitedir}/M2Crypto/*.py[co]
085d7304
AM
63%dir %{py_sitedir}/M2Crypto/PGP
64%{py_sitedir}/M2Crypto/PGP/*.py[co]
5d2d2a18 65%dir %{py_sitedir}/M2Crypto/SSL
c8750eea 66%{py_sitedir}/M2Crypto/SSL/*.py[co]
7662b057 67%{py_sitedir}/M2Crypto-*.egg-info
This page took 0.116266 seconds and 4 git commands to generate.