Name: pybugz Version: 0.8.0 Release: 1%{?dist} Summary: Python and command-line interface to Bugzilla Group: Applications/Communications License: GPLv2 URL: http://code.google.com/p/pybugz/ Source0: http://%{name}.googlecode.com/files/%{name}-%{version}.tar.gz Patch0: pybugz-0.8.0-rhbz.patch BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) BuildRequires: python2 %description PyBugz is a python and command line interface to Bugzilla. It was conceived as a tool to speed up the workflow for Gentoo Linux developers and contributors when dealing with bugs using Bugzilla. By avoiding the clunky web interface, the user quickly search, isolate and contribute to the project very quickly. Developers alike can easily extract attachments and close bugs all from the comfort of the command line. PyBugz is written in Python and written in a way to be extended easily for use on other Bugzillas. It's known to work full or partially on XenSource, Gnome, Novell and Landfill Bugzillas. %prep %setup -q %patch0 %build %{__python} setup.py build %install rm -rf $RPM_BUILD_ROOT %{__python} setup.py install --root=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %{_bindir}/bugz %{python_sitelib}/bugz %{python_sitelib}/%{name}-%{version}-*.egg-info %doc README LICENSE %changelog * Tue Nov 30 2010 Pierre Carrier 0.8.0-1 - Initial packaging