Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.2:Test
python-openssl
python-openssl.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-openssl.spec of Package python-openssl
# # spec file for package python-openssl (Version 0.9) # # Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: python-openssl BuildRequires: openssl-devel python-devel Summary: Python wrapper module around the OpenSSL library Version: 0.9 Release: 1 Source: pyOpenSSL-%{version}.tar.bz2 License: LGPL v2.1 or later Group: Development/Languages/Python Url: https://launchpad.net/pyopenssl/ Requires: python BuildRoot: %{_tmppath}/%{name}-%{version}-build %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 ;) Authors: -------- Martin Sjoegren <msjogren@gmail.com> %prep %setup -n pyOpenSSL-%{version} %build #export CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install --prefix=%{_prefix} --optimize=2 --record-rpm=INSTALLED_FILES \ --root="$RPM_BUILD_ROOT" mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name} cp -p COPYING INSTALL PKG-INFO TODO README $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/ cp -pr examples doc/tools/html $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/ cp -p doc/pyOpenSSL.* $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}/ %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT" %files -f INSTALLED_FILES %defattr(-,root,root) %doc %{_defaultdocdir}/%{name} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor