Blob Blame History Raw
%global modname fedmsg_meta_fedora_infrastructure

Name:               python-fedmsg-meta-fedora-infrastructure
Version:            0.1.6
Release:            2%{?dist}
Summary:            Metadata providers for Fedora Infrastructure's fedmsg deployment

Group:              Development/Libraries
License:            LGPLv2+
URL:                http://pypi.python.org/pypi/%{modname}
Source0:            http://pypi.python.org/packages/source/f/%{modname}/%{modname}-%{version}.tar.gz
Patch0:             0001-temporarily-remove-avatar-test.patch

BuildArch:          noarch


BuildRequires:      python2-devel
BuildRequires:      fedmsg >= 0.6.1
BuildRequires:      python-nose
BuildRequires:      python-mock
BuildRequires:      python-fedora

Requires:           fedmsg >= 0.6.1
Requires:           python-fedora

%if 0%{?rhel} <= 6
BuildRequires:  python-unittest2
BuildRequires:  python-ordereddict
BuildRequires:  python-argparse
Requires:       python-ordereddict
Requires:       python-argparse
%endif

%description
Metadata providers for Fedora Infrastructure's fedmsg deployment

fedmsg <http://fedmsg.com> is a set of tools for knitting together
services and webapps into a realtime messaging net.  This package contains
metadata provider plugins for the primary deployment of that system:
Fedora Infrastructure <http://fedoraproject.org/wiki/Infrastructure>.

If you were to deploy fedmsg at another site, you would like want to write
your own module like this one that could provide textual representations of
your messages.

%prep
%setup -q -n %{modname}-%{version}
%patch0 -p1

# Remove bundled egg-info in case it exists
rm -rf %{modname}.egg-info

%build
%{__python} setup.py build

%install
%{__python} setup.py install -O1 --skip-build --root=%{buildroot}

%check
%{__python} setup.py test

%files
%doc README.rst LICENSE
%{python_sitelib}/%{modname}/
%{python_sitelib}/%{modname}-%{version}*


%changelog
* Thu Jun 06 2013 Ralph Bean <rbean@redhat.com> - 0.1.6-2
- Removed an old unneeded patch.

* Thu Jun 06 2013 Ralph Bean <rbean@redhat.com> - 0.1.6-1
- Fix the planet processor name.
- Add mailman3 processor for the future.

* Mon May 13 2013 Ralph Bean <rbean@redhat.com> - 0.1.5-2
- Patch: don't declare tickets closed unless that value actually changes.

* Mon May 13 2013 Ralph Bean <rbean@redhat.com> - 0.1.5-1
- New upstream with new avatars and emails interfaces.
- New dep on python-fedora
- Temporarily remove test for avatars while python-fedora catches up.
- New processor for fedorahosted/trac messages.

* Wed Apr 24 2013 Ralph Bean <rbean@redhat.com> - 0.1.4-1
- Handle the latest tagger2 messages.

* Wed Apr 24 2013 Ralph Bean <rbean@redhat.com> - 0.1.3-1
- Docstrings for tests for self-documentation of the /topics/ doc.
- Cleanup some koji and compose messages.
- Random typo and bug fixes.

* Mon Mar 11 2013 Ralph Bean <rbean@redhat.com> - 0.1.1-1
- More meetbot message types
- Handle secondary arch compose messages.
- Handle koji package list changes
- Give up on askbot deep linking.  It is hard.
- Use non-https cgit urls.
- Use non-https planet urls.
- Better debug of unhandled messages.

* Fri Feb 08 2013 Ralph Bean <rbean@redhat.com> - 0.1.0-1
- Fine tuning of some messages and links.
- Correct __name__ for KojiProcessor.

* Fri Feb 01 2013 Ralph Bean <rbean@redhat.com> - 0.0.9-1
- Support usernames and links for koji messages.
- Support new and old-style fas message bodies.

* Thu Jan 31 2013 Ralph Bean <rbean@redhat.com> - 0.0.8-1
- Latest upstream.  New planet and buildsys (koji) message types.

* Mon Jan 21 2013 Ralph Bean <rbean@redhat.com> - 0.0.7-1
- Latest upstream, yet more changes to git/scm messages.

* Sat Jan 19 2013 Ralph Bean <rbean@redhat.com> - 0.0.6-1
- Latest upstream, more changes to git/scm messages.

* Wed Jan 16 2013 Ralph Bean <rbean@redhat.com> - 0.0.5-1
- Latest upstream, changes to git/scm messages.

* Mon Jan 07 2013 Ralph Bean <rbean@redhat.com> - 0.0.4-1
- Latest upstream, now with pkgdb messages.

* Tue Nov 27 2012 Ralph Bean <rbean@redhat.com> - 0.0.3-1
- Initial package for Fedora