]> git.pld-linux.org Git - packages/python-M2Crypto.git/blame - python-M2Crypto.spec
- x32 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
c8750eea 4Version: 0.22.3
cabacf04 5Release: 2
db5bbf78 6License: BSD-like
4988ab36 7Group: Libraries/Python
c8750eea
JB
8Source0: https://pypi.python.org/packages/source/M/M2Crypto/M2Crypto-%{version}.tar.gz
9# Source0-md5: 573f21aaac7d5c9549798e72ffcefedd
10Patch0: %{name}-store2ssl.patch
11Patch1: %{name}-swig.patch
12URL: http://chandlerproject.org/bin/view/Projects/MeTooCrypto
13BuildRequires: openssl-devel >= 0.9.8
14BuildRequires: python-devel >= 1:2.6
44aff576 15BuildRequires: python-modules
16BuildRequires: rpm-pythonprov
4988ab36 17BuildRequires: rpmbuild(macros) >= 1.219
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
596e80b7 44%{__python} setup.py build
2917fb4e 45
46%install
47rm -rf $RPM_BUILD_ROOT
4988ab36 48install -d $RPM_BUILD_ROOT{%{py_sitedir},%{_examplesdir}/%{name}-%{version}}
84c63765 49
596e80b7 50%{__python} setup.py install \
5d2d2a18
AF
51 --root=$RPM_BUILD_ROOT \
52 --optimize=2
2917fb4e 53
4988ab36 54%py_postclean
24ac6e9a 55
2917fb4e 56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
c8750eea 61%doc README
24b30991 62%dir %{py_sitedir}/M2Crypto
5d2d2a18 63%attr(755,root,root) %{py_sitedir}/M2Crypto/*.so
c8750eea 64%{py_sitedir}/M2Crypto/*.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.088864 seconds and 4 git commands to generate.