Sophie

Sophie

distrib > Mandriva > 10.2 > i586 > by-pkgid > 5513708e0b4a7e8a36ba9b47358c6a12 > files > 2

python-OpenSSL-0.6-2mdk.src.rpm

%define pname OpenSSL
%define name python-%{pname}
%define version 0.6
%define release 2mdk

Summary: Python interface to the OpenSSL library.
Name: %{name}
Version: %{version}
Release: %{release}
Source: http://telia.dl.sourceforge.net/sourceforge/pyopenssl/py%pname-%{version}.tar.bz2
License: GPL
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-buildroot
Url: http://pyopenssl.sourceforge.net/
Requires: python >= 2.2
BuildRequires: python-devel openssl-devel
Obsoletes: pyOpenSSL
Provides: pyOpenSSL

%description
High-level wrapper around a subset of the OpenSSL library, includes
 * SSL.Connection objects, wrapping the methods of Python's portable sockets
 * Callbacks written in Python
 * Extensive error-handling mechanism, mirroring OpenSSL's error codes
...  and much more ;)
				
%prep
rm -rf $RPM_BUILD_ROOT

%setup -n py%pname-%version

%build
%_bindir/python setup.py build

%install
%_bindir/python setup.py install --root=$RPM_BUILD_ROOT 
chmod 0644 examples/SecureXMLRPCServer.py

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc COPYING TODO README INSTALL ChangeLog examples
%{_libdir}/python%{pyver}/site-packages/%pname/

%changelog
* Sun Dec 05 2004 Michael Scherer <misc@mandrake.org> 0.6-2mdk
- Rebuild for new python

* Sat Nov 13 2004 Goetz Waschk <waschk@linux-mandrake.com> 0.6-1mdk
- New release 0.6

* Sat Jun 12 2004 Pascal Terjan <pterjan@mandrake.org> 0.5.1-3mdk
- Fix BuildRequires

* Tue Jun 01 2004 Pascal Terjan <pterjan@mandrake.org> 0.5.1-2mdk
- Respect naming convention
- DIRM

* Tue Apr 20 2004 Pascal Terjan <pterjan@mandrake.org> 0.5.1-1mdk
- First Mandrakelinux version