LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pykpass.spec of Package pykpass (Project home:hauky)

#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#

# norootforbuild

Name:			pykpass
Version:		0.5
Release:		1
Summary:		Python extension for Kerberos 5 Password Verification
Group:			Productivity/Networking/Security
License:		Python
Url:			http://www.huque.com/software/pykpass/
BuildRequires:		krb5-devel
%if 0%{?suse_version}
%{py_requires}
%endif
BuildRequires:		python-devel 
Source:			%{name}-%{version}.tar.gz
Source1:		file_bases.txt
Source2:		get_site-packages.py
BuildRoot:		%{_tmppath}/%{name}-%{version}-build

%description
This Python extension module provides a simple function called kpass() to perform password verification using Kerberos 5. It is intended for use by applications that cannot use the Kerberos protocol natively, but need to authenticate users against the Kerberos database. If it must be run on a system that receives a username and password over the network, steps should be taken to ensure that these are passed to that system in a cryptographically secure manner. 

Authors:
--------
    Shumon Huque: shuque -at- isc.upenn.edu

%prep
%setup -q -n %{name}-%{version}

%build
%{__python} setup.py build

%install
%{__python} setup.py install -O1 --skip-build \
        --record ./file_list \
	--prefix=%{_prefix} \
	--root=%{buildroot}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f file_list
%defattr(-,root,root)
%doc CHANGELOG TODO README

%changelog
* Fri Nov  11 2011 hakne@rzg.mpg.de
- make it work for all current SuSE-repos
* Thu Jun 16 2011 hanke@rzg.mpg.de
- packaged