Blob Blame History Raw
%if 0%{?rhel} && 0%{?rhel} <= 6
%{!?__python2:        %global __python2 /usr/bin/python2}
%{!?python2_sitelib:  %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")}
%endif

Name:           supybot-fedmsg
Version:        0.2.0
Release:        5%{?dist}
Summary:        Plugin for supybot that enables meetbot with fedmsg output.

Group:          Applications/Internet
License:        LGPLv2+
URL:            http://github.com/ralphbean/supybot-fedmsg
Source0:        http://pypi.python.org/packages/source/s/supybot-fedmsg/supybot-fedmsg-%{version}.tar.gz

BuildRequires:  python2-devel

Requires:       fedmsg
Requires:       supybot-meetbot

BuildArch:      noarch

%description
A Supybot plugin for sending messages across the Fedora Infrastructure message
bus.  This plugin modifies other installed plugins during runtime,
instrumenting them to send messages on certain events.

Currently supported target plugins are:

 - meetbot

%prep
%setup -q

%build

%install
install -dm 755 %{buildroot}/%{python2_sitelib}/supybot/plugins/Fedmsg
install -pm 644 supybot-fedmsg/*.py %{buildroot}/%{python2_sitelib}/supybot/plugins/Fedmsg/.

%files
%doc README.rst LICENSE
%{python2_sitelib}/supybot/plugins/Fedmsg

%changelog
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-3
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages

* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Fri Dec 04 2015 Ralph Bean <rbean@redhat.com> - 0.2.0-1
- new version

* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Wed Mar 18 2015 Ralph Bean <rbean@redhat.com> - 0.1.0-1
- new version
- Remove usptreamed patch.

* Thu Nov 20 2014 Ralph Bean <rbean@redhat.com> - 0.0.7-4
- Modernize python macros.  Fixes RHBZ#1165916

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.7-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Tue Nov 26 2013 Ralph Bean <rbean@redhat.com> - 0.0.7-2
- Patch to fix a typo in the main portion.

* Fri Oct 25 2013 Ralph Bean <rbean@redhat.com> - 0.0.7-1
- Latest upstream
- Protect against double-wrapping.
- Add meeting owner to the list of chairs by default.

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild

* Wed Sep 19 2012 Ralph Bean <rbean@redhat.com> - 0.0.6-1
- Smarter initialization of fedmsg resources yet still.

* Wed Sep 19 2012 Ralph Bean <rbean@redhat.com> - 0.0.5-1
- Smarter initialization of fedmsg resources.

* Thu Aug 23 2012 Ralph Bean <rbean@redhat.com> - 0.0.4-4
- More descriptive summary and description as per package review note.

* Wed Aug 22 2012 Ralph Bean <rbean@redhat.com> - 0.0.4-3
- Removed unnecessary dep on supybot.  supybot-meetbot pulls it in.

* Wed Aug 22 2012 Ralph Bean <rbean@redhat.com> - 0.0.4-2
- Remove redefinition of %%{python_sitelib}.  It is always defined in
  fedora and even RHEL 6.

* Tue Aug 21 2012 Ralph Bean <rbean@redhat.com> - 0.0.4-1
- Upstream release with more consistent fedmsg topics.

* Tue Aug 21 2012 Ralph Bean <rbean@redhat.com> - 0.0.3-1
- Major bugfixes all around.

* Mon Aug 20 2012 Ralph Bean <rbean@redhat.com> - 0.0.2-1
- Include LICENSE

* Mon Aug 20 2012 Ralph Bean <rbean@redhat.com> - 0.0.1-1
- Initial packaging.  Heavily copied from supybot-fedora.