Package python-module-trac-mastertickets: Specfile

%define tarname mastertickets
Name: python-module-trac-mastertickets
%define r_minor 6543
Version: 3.0.1
Release: alt1.%r_minor.1

Summary: Adds basic ticket dependencies for Trac

Group: Development/Python
License: BSD
Url: http://trac-hacks.org/wiki/MasterTicketsPlugin

Packager: Slava Dubrovskiy <dubrsl@altlinux.ru>

Source: trac-%{tarname}-ffc%r_minor.tar.gz

BuildArch: noarch

BuildRequires: python-module-setuptools

Requires: graphviz

%description
This plugin adds "blocks" and "blocked by" fields to each ticket, enabling you
to express dependencies between tickets. It also provides a graphviz-based
dependency-graph feature for those tickets having dependencies specified,
allowing you to visually understand the dependency tree. The dependency graph
is viewable by clicking 'depgraph' in the context (in the upper right corner)
menu when viewing a ticket that blocks or is blocked by another ticket.

%prep
%setup -q -n coderanger-trac-%tarname-ffc%r_minor

%build
%__python setup.py build

%install
%__python setup.py install --root %buildroot

#Fix rights
#chmod -R a+r %buildroot%python_sitelibdir/tracrpc/htdocs
#chmod -R a+r %buildroot%python_sitelibdir/tracrpc/templates

%files
%doc
%python_sitelibdir/*

%changelog
* Thu Oct 20 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 3.0.1-alt1.6543.1
- Rebuild with Python-2.7

* Wed Nov 17 2010 Slava Dubrovskiy <dubrsl@altlinux.org> 3.0.1-alt1.6543
- Build for ALT