]> git.pld-linux.org Git - packages/python-M2Crypto.git/blob - python-M2Crypto.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/python-M2Crypto.git] / python-M2Crypto.spec
1 Summary:        Python interface to OpenSSL
2 Summary(pl):    Interfejs Pythona do OpenSSL
3 Name:           python-M2Crypto
4 Version:        0.06
5 Release:        2
6 License:        BSD-style
7 Source0:        http://www.pobox.org.sg/home/ngps/m2/m2crypto-%{version}.zip
8 URL:            http://www.pobox.org.sg/home/ngps/m2/
9 Group:          Development/Languages/Python
10 %requires_eq    python
11 BuildRequires:  python-devel >= 1.5.2
12 BuildRequires:  openssl-devel >= 0.9.6
13 BuildRequires:  swig 
14 BuildRequires:  rpm-pythonprov
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %include /usr/lib/rpm/macros.python
18
19 %description
20 M2Crypto makes accessible to the Python programmer the following:
21 - DH, RSA, DSA, symmetric ciphers, message digests, HMACs.
22 - SSL functionality to implement clients and servers.
23 - S/MIME v2.
24
25 M2Crypto is released under a very liberal BSD-style licence. See 
26 LICENCE for details.
27
28 %description -l pl
29 M2Crypto udostêpnia z poziomu Pythona nastêpuj±ce funkcje:
30 - DH, RSA, DSA, szyfry symetryczne, skróty, HMAC
31 - SSL do implementacji klientów i serwerów
32 - S/MIME v2.
33
34 %prep
35 %setup -q -n m2crypto-%{version}
36
37 %build
38 %{__make} -C swig INCLUDE="-I. -I%{py_incdir}"
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT%{py_sitedir}
43
44 cp -a M2Crypto $RPM_BUILD_ROOT%{py_sitedir}
45 %{py_comp} $RPM_BUILD_ROOT%{py_sitedir}
46 %{py_ocomp} $RPM_BUILD_ROOT%{py_sitedir}
47
48 gzip -9nf BUGS CHANGES INSTALL LICENCE README STORIES
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files
54 %defattr(644,root,root,755)
55 %doc *.gz doc/*.html demo 
56 %{py_sitedir}/M2Crypto
This page took 0.030513 seconds and 3 git commands to generate.