diff --git a/.cvsignore b/.cvsignore index e69de29..a3463fc 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +pyOpenSSL-0.5pre.tar.gz diff --git a/pyOpenSSL.spec b/pyOpenSSL.spec new file mode 100644 index 0000000..26ee84d --- /dev/null +++ b/pyOpenSSL.spec @@ -0,0 +1,41 @@ +%define name pyOpenSSL +%define version 0.5pre +%define release 1 + +Summary: Python wrapper module around the OpenSSL library +Name: %{name} +Version: %{version} +Release: %{release} +Source0: %{name}-%{version}.tar.gz +Copyright: LGPL +Group: Development/Libraries +BuildRoot: %{_tmppath}/%{name}-buildroot +Prefix: %{_prefix} +Vendor: Martin Sjögren, AB Strakt +Url: http://pyopenssl.sourceforge.net/ +BuildRequires: openssl-devel tetex-latex + +%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 +%setup + +%build +make -C doc text ps html + + +%install +python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f INSTALLED_FILES +%defattr(-,root,root) +%doc doc/pyOpenSSL.txt doc/pyOpenSSL.ps doc/html README diff --git a/sources b/sources index e69de29..030ce31 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +1553a427fc009ad037df651448316c0c pyOpenSSL-0.5pre.tar.gz