%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: supybot-koji Version: 0.1 Release: 6%{?dist} Summary: Plugin for Supybot to interact with Koji instances Group: Applications/Internet License: BSD URL: https://fedorahosted.org/supybot-fedora Source0: https://fedorahosted.org/releases/s/u/%{name}/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: koji, /usr/bin/supybot BuildArch: noarch BuildRequires: python %description A Supybot plugin which provides access to the status of a Koji buildsystem and makes it available via IRC. %prep %setup -q %build %install rm -rf $RPM_BUILD_ROOT install -dm 755 $RPM_BUILD_ROOT/%{python_sitelib}/supybot/plugins/Koji install -pm 644 *.py $RPM_BUILD_ROOT/%{python_sitelib}/supybot/plugins/Koji %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc %{python_sitelib}/supybot/plugins/Koji %changelog * Tue May 03 2011 Dave Riches <david.r@ultracar.co.uk> - 0.1-6 - fixed requires for supybot and supybot-gribble * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Dec 7 2008 Jon Stanley <jonstanley@gmail.com> - 0.1-3 - Fix license tag, remove BR on python-devel from review * Fri Dec 5 2008 Jon Stanley <jonstanley@gmail.com> - 0.1-2 - Review cleanup * Thu Dec 4 2008 Jon Stanley <jonstanley@gmail.com> - 0.1-1 - Initial package