%define oname pybaz %define name python-%{oname} %define version 1.5.3 %define release %mkrel 2 Summary: Python Bindings for the Baz Revision Control System Name: %{name} Version: %{version} Release: %{release} Source0: http://code.aaronbentley.com/pybaz/releases/%{oname}-%{version}.tar.gz License: GPL URL: http://code.aaronbentley.com/pybaz/ Group: Development/Python BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Prefix: %{_prefix} BuildArch: noarch BuildRequires: libpython-devel Requires: python >= 2.4 bazaar %description PyBaz provides Python bindings for the Baz revision control system. It's based on PyArch, and shares the same design goals: - Faithfulness to the Baz design. - Python best idioms. - Code elegance. It provides enough flexibility and efficiency for all types of applications, from batch scripts to graphical user interface front-end and web services. %prep %setup -q -n %{oname}-%{version} %build python setup.py build %install python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %defattr(-,root,root) %changelog * Tue Jul 17 2007 Bogdano Arendartchuk <bogdano@mandriva.com> 1.5.3-2mdv2008.0 + Revision: 53019 - added buildrequires for libpython-devel - Import python-pybaz