%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: supybot-meetbot Version: 0.1.1 Release: 1%{?dist} Summary: Plugin for Supybot for handling IRC meetings Group: Applications/Internet License: BSD URL: http://wiki.debian.org/MeatBot Source0: http://rkd.zgib.net/http/code/MeetBot-0.1.1.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: supybot Requires: python-pygments Requires: python-docutils BuildArch: noarch BuildRequires: python %description MeatBot is designed to assist in running meetings, taking notes, and so on. It is in pure python, as a plugin to supybot. However, there is a clear distinction between meeting-code and IRC-code, so it should be relatively easy to port to other bots. It is under the supybot license (3-clause BSD). %prep %setup -q -n MeetBot-0.1.1 %build %install rm -rf $RPM_BUILD_ROOT install -dm 755 $RPM_BUILD_ROOT/%{python_sitelib}/supybot/plugins/MeatBot install -pm 644 *.py $RPM_BUILD_ROOT/%{python_sitelib}/supybot/plugins/MeatBot %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README.txt %{python_sitelib}/supybot/plugins/MeatBot %changelog * Mon Jul 06 2009 Kevin Fenzi - 0.1.1-1 - Upgrade to 0.1.1 version * Sun Jun 14 2009 Kevin Fenzi - 0-0.1.20090614darcs - Initial version for fedora review