From 4654fe037d4e54515783b7a1ab77d8e1c55b799f Mon Sep 17 00:00:00 2001 From: Jon Stanley Date: Dec 08 2008 01:37:22 +0000 Subject: commit for other branches --- diff --git a/sources b/sources index e69de29..d5d0fdd 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a8888989d6e222c0f97b1ba50d8ff3dc supybot-fedora-0.2.tar.bz2 diff --git a/supybot-fedora.spec b/supybot-fedora.spec new file mode 100644 index 0000000..2d02cc7 --- /dev/null +++ b/supybot-fedora.spec @@ -0,0 +1,67 @@ +%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} + +Name: supybot-fedora +Version: 0.2 +Release: 4%{?dist} +Summary: Plugin for Supybot to interact with Fedora services + +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: python-fedora >= 0.3.7, supybot + +BuildArch: noarch +BuildRequires: python + +%description +A Supybot plugin which provides access to Fedora information. Implements a +variety of commands, such as: + + * fas + * fasinfo + * ext + * bug + * whoowns + +These provide various information from the Fedora Package Database and +Account System and provide it via IRC + + +%prep +%setup -q + + +%build + + +%install +rm -rf $RPM_BUILD_ROOT +install -dm 755 $RPM_BUILD_ROOT/%{python_sitelib}/supybot/plugins/Fedora +install -pm 644 *.py $RPM_BUILD_ROOT/%{python_sitelib}/supybot/plugins/Fedora + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc README.txt TODO.txt +%{python_sitelib}/supybot/plugins/Fedora + + +%changelog +* Sun Dec 7 2008 Jon Stanley - 0.2-4 +- Fix license tag per review + +* Fri Dec 5 2008 Jon Stanley - 0.2-3 +- More review fixups + +* Thu Dec 4 2008 Jon Stanley - 0.2-2 +- Fixup from package review + +* Thu Dec 4 2008 Jon Stanley - 0.2-1 +- Initial package