%define name keyring %define version 0.2 %define unmangled_version 0.2 %define release 1 Summary: Store and access your passwords safely. Name: %{name} Version: %{version} Release: 1%{?dist} Source0: %{name}-%{unmangled_version}.tar.gz License: PSF Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} Vendor: Kang Zhang URL: http://home.python-keyring.org/ BuildRequires: python-devel %description The Python keyring lib provides a easy way to access the system keyring service from python. It can be used in any application that needs safe password storage. %prep %setup -n %{name}-%{unmangled_version} %build env CFLAGS="$RPM_OPT_FLAGS" python setup.py build %install python setup.py install -O1 --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %changelog * Wed May 19 2010 rtnpro - Initial RPM package