%global modname trac_fedmsg_plugin Name: trac-fedmsg-plugin Version: 0.1.0 Release: 1%{?dist} Summary: Emit fedmsg messages Group: Applications/Internet License: MIT URL: http://pypi.python.org/pypi/trac-fedmsg-plugin Source0: http://pypi.python.org/packages/source/t/%{name}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python2-devel BuildRequires: python-setuptools Requires: trac Requires: fedmsg %description A trac plugin that emits fedmsg messages. Messages are emitted for ticket changes, wiki edits, and revision control events. %prep %setup -q -n %{name}-%{version} # Remove bundled egg-info in case it exists rm -rf %{name}.egg-info %build %{__python} setup.py build %install %{__python} setup.py install -O1 --skip-build --root=%{buildroot} %files %doc README.rst LICENSE %{python_sitelib}/%{modname}.py* %{python_sitelib}/%{modname}-%{version}*.egg-info/ %changelog * Thu May 09 2013 Ralph Bean <rbean@redhat.com> - 0.1.0-1 - Upstream release with various bugfixes and enhancements. - Include currently logged in user as 'agent' in messages. - Include ticket id in ticket messages. - Include wiki page name in wiki messages. - Only initialize fedmsg if plugin is enabled. * Tue May 07 2013 Ralph Bean <rbean@redhat.com> - 0.0.1-1 - Initial package for Fedora