X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=python-M2Crypto.spec;h=d9f5289a1d8462139585f7640cb8547c2eabc8a2;hb=35d9c22ec7be5289cc7ec27349da4d0a47b54b8c;hp=2f3f4d8910e9883a2cca30ecccd5c0a3cd22b3aa;hpb=db1d688d161131da7f5d271f8b7c89568fb9d9b9;p=packages%2Fpython-M2Crypto.git diff --git a/python-M2Crypto.spec b/python-M2Crypto.spec index 2f3f4d8..d9f5289 100644 --- a/python-M2Crypto.spec +++ b/python-M2Crypto.spec @@ -1,22 +1,23 @@ -%include /usr/lib/rpm/macros.python Summary: Python interface to OpenSSL Summary(pl): Interfejs Pythona do OpenSSL Name: python-M2Crypto -Version: 0.11 -Release: 2 +Version: 0.13 +Release: 4 License: BSD-like -Source0: http://www.pobox.org.sg/home/ngps/m2/m2crypto-%{version}.zip -# Source0-md5: c018c94e00b33aac969fbbe02b244aba -Patch0: M2Crypto-smime_callback.patch -Patch1: M2Crypto-pkcs7_get0_signers.patch +Source0: http://sandbox.rulemaker.net/ngps/Dist/m2crypto-%{version}.zip +# Source0-md5: be2790a34349ab452dddbcfe4c95606a +# http://sandbox.rulemaker.net/ngps/Dist/0.13p1.patch +Patch0: %{name}-0.13p1.patch +Patch1: %{name}-swig_sources.patch URL: http://sandbox.rulemaker.net/ngps/m2/ Group: Development/Languages/Python %pyrequires_eq python BuildRequires: python-devel >= 2.2.1 -BuildRequires: openssl-devel >= 0.9.7c +BuildRequires: openssl-devel >= 0.9.7d BuildRequires: swig >= 1.3.17 BuildRequires: rpm-pythonprov +BuildRequires: unzip BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description @@ -36,12 +37,10 @@ M2Crypto udost %prep %setup -q -n m2crypto-%{version} -%patch0 -p1 +%patch0 -p0 %patch1 -p1 %build -# workaroud (no way to pass -ISWIG to swig invocation) -cp SWIG/*.i SWIG/*.h . python setup.py build %install @@ -61,7 +60,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc BUGS CHANGES INSTALL LICENCE README STORIES doc/*.html demo +%doc BUGS CHANGES INSTALL LICENCE README doc/*.html demo %attr(755,root,root) %{py_sitedir}/M2Crypto/*.so %{py_sitedir}/M2Crypto/*.py[oc] %dir %{py_sitedir}/M2Crypto/SSL