Blob Blame History Raw
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%define         svn_rev 11062

Name:           trac-watchlist-plugin
Version:        0.5
Release:        0.5.svn%{svn_rev}%{?dist}
Summary:        Watchlist plugin for Trac for watching tickets or wiki pages

Group:          Applications/Internet
# GPLv3 license from setup.py
License:        GPLv3
URL:            http://trac-hacks.org/wiki/WatchlistPlugin
# Generate via 'svn export -r%{svn_rev} http://trac-hacks.org/svn/watchlistplugin/0.11 trac-watchlist-plugin-0.5 && tar -czvf trac-watchlist-plugin-0.5.%{svn_rev}.tar.gz trac-watchlist-plugin-0.5
Source0:        trac-watchlist-plugin-0.5.svn%{svn_rev}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel, python-setuptools

Requires:       trac >= 0.11

%description
This plug-in adds a watchlist for wikis and tickets. Every logged-in user can
watch any wikis and ticket and later unwatch it. The watchlist is provided
under [/projectname]/watchlist which is added to the main navigation bar as
soon the user watches something.

This plug-in is still under development. The basic functions are implemented
but the watchlist layout might change in the future. ATM there seems to be
some issues when PostgresSQL is used as DB backend. Therefore the DB table
layout might change in the future. Feel free to test it out and provide
feedback.

%prep
%setup -q


%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc
# For noarch packages: sitelib
%{python_sitelib}/*


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

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-0.4.svn11062
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-0.3.svn11062
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Sun Dec 25 2011 Jon Stanley <jonstanley@gmail.com> - 0.5-0.2.svn11062
- Correct license tag from intiial time spec was written

* Sun Dec 25 2011 Jon Stanley <jonstanley@gmail.com> - 0.5-0.1.svn11062
- New upstream release, initial import

* Fri Apr 3 2009 Jon Stanley <jonstanley@gmail.com> - 0.1-0.2.svn5357
- Update release to follow pre-release guidelines per review

* Wed Mar 25 2008 Jon Stanley <jonstanley@gmail.com> - 0.1-1.svn5357
- Initial package