Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.3
python-pam
python-pam.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File python-pam.spec of Package python-pam
# # spec file for package python-pam (Version 0.5.0) # # 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-pam BuildRequires: pam-devel python-devel Url: http://www.pangalactic.org/PyPAM License: LGPL-2.1+ ; SUSE-Public-Domain ; MIT Group: Development/Libraries/Python AutoReqProv: on Provides: PyPAM Obsoletes: PyPAM Version: 0.5.0 Release: 68 Summary: Python bindings for PAM %define tarname PyPAM Source: %{tarname}-%{version}.tar.bz2 Patch0: %{tarname}-0.5.0-setitem.patch # fixes memory leak in PyPAM_setitem Patch1: %{tarname}-0.5.0-dl.patch # dl()ed libraries renamed to .so.0 (because of rpm contents), error handling provided Patch2: %{tarname}-0.5.0-dealloc.patch # update to python2.5 dealloc call (also valid in 2.4) Patch3: %{tarname}-0.5.0-conv-borrowed.patch # removes DECREF on borrowed reference Patch4: %{tarname}-0.5.0-gnu99.patch # switch gcc to gnu99 mode (we need that for strdup()) Patch5: %{tarname}-0.5.0-nofree.patch # removes incorrect attempts to free pam_response structures BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} %description This release supports the core PAM API. There is still some missing functionality, but it should implement enough of the API for most needs. There is not much in the way of documentation at this point. If you are familiar with the PAM API, a quick glance at the sample program should get you going. Authors: -------- Rob Riggs <rob@pangalactic.org> %prep %setup -n %{tarname}-%{version} %patch0 %patch1 %patch2 %patch3 %patch4 %patch5 %build export CFLAGS="-O0" python setup.py build %install python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %doc AUTHORS NEWS README ChangeLog COPYING %doc examples %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