850944b
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
850944b
850944b
%define svnrev 5836
850944b
850944b
Name:           trac-accountmanager-plugin
850944b
Version:        0.2.1
Ben Boeckel 5efce78
Release:        0.5.20090522svn%{svnrev}%{?dist}
850944b
Summary:        Trac plugin for account registration and management
850944b
850944b
Group:          Applications/Internet
850944b
License:        Copyright only
850944b
URL:            http://trac-hacks.org/wiki/AccountManagerPlugin
850944b
Source0:        TracAccountManager-%{version}dev-r%{svnrev}.tar.bz2
850944b
Source1:        pull-from-svn.sh
850944b
# http://trac-hacks.org/changeset/5478?format=diff
850944b
Patch0:         replace-MessageWrapper-with-genshi-markup.patch
850944b
850944b
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
850944b
850944b
BuildArch:      noarch
850944b
BuildRequires:  python-devel
850944b
BuildRequires:  python-setuptools
850944b
Requires:       trac >= 0.11
850944b
Requires:       python-setuptools
850944b
850944b
%description
850944b
The AccountManagerPlugin offers several features for managing user accounts:
850944b
 * allow users to register new accounts
850944b
 * login via an HTML form instead of using HTTP authentication
850944b
 * allow existing users to change their passwords or delete their accounts
850944b
 * send a new password to users who've forgotten their password
850944b
 * administer user accounts using the trac web interface
850944b
850944b
850944b
%prep
850944b
%setup -n TracAccountManager-%{version}dev-r%{svnrev} -q
850944b
# Upstream trunk patch for http://trac-hacks.org/ticket/4125
850944b
# (broken email verification in trac 0.11.4)
850944b
%patch0 -p3
850944b
850944b
850944b
%build
850944b
%{__python} setup.py build
850944b
850944b
850944b
%install
850944b
rm -rf %{buildroot}
850944b
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
850944b
850944b
850944b
%clean
850944b
rm -rf %{buildroot}
850944b
850944b
850944b
%files
850944b
%defattr(-,root,root,-)
850944b
%doc README contrib/sessionstore_convert.py
850944b
%{python_sitelib}/*
850944b
850944b
850944b
%changelog
Ben Boeckel 5efce78
* Fri Dec 10 2010 Ben Boeckel <mathstuf@gmail.com> - 0.2.1-0.5.20090522svn5836
Ben Boeckel 5efce78
- Rebuild for new trac
Ben Boeckel 5efce78
5681b42
* Thu Jul 22 2010 David Malcolm <dmalcolm@redhat.com> - 0.2.1-0.4.20090522svn5836
5681b42
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
5681b42
850944b
* Fri Aug 28 2009 Ben Boeckel <MathStuf@gmail.com> - 0.2.1-0.3.20090522svn5836
850944b
- Remove comments
850944b
- Fix tarball
850944b
850944b
* Thu Aug 27 2009 Ben Boeckel <MathStuf@gmail.com> - 0.2.1-0.2.20090522svn5836
850944b
- Merge spec with Paul Howarth's
850944b
850944b
* Thu Aug 06 2009 Ben Boeckel <MathStuf@gmail.com> - 0.2.1-0.1.20090522svn5836
850944b
- Initial package