Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 8030862a199b1213e274a842fb8548ac > files > 2

python-shadow-0.2-1mdv2008.0.src.rpm

%define oname pyshadow
%define name python-shadow
%define version 0.2
%define release %mkrel 1

Summary: Python wrapper for shadow password file
Name: %{name}
Version: %{version}
Release: %{release}
Source: %oname-%{version}.tar.gz
License: GPL
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-buildroot
Url: http://www.twistedmatrix.com/users/z3p/files/
BuildRequires: python-devel
Obsoletes: %{oname}
Provides: %{oname}

%description
This is a module to allow access to the shadow password file.  It also includes
md5_crypt, which implemtns the md5_crypt function used to encrypt passwords
in the shadow password file.
				
%prep
rm -rf $RPM_BUILD_ROOT

%setup -n %{oname}-%{version}

%build
%_bindir/python setup.py build

%install
%_bindir/python setup.py install --root=$RPM_BUILD_ROOT --record %name.files
chmod 0644 LICENSE

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %name.files
%defattr(-,root,root)
%doc LICENSE README


%changelog
* Thu Jul 26 2007 Pascal Terjan <pterjan@mandriva.org> 0.2-1mdv2008.0
+ Revision: 55937
- follow python naming policy
- follow python naming policy
- 0.2
- mkrel
- follow python naming policy
- fix summary ended with dot
- Import pyshadow