Name: python-trac Version: 0.7.1 Release: 0.fdr.1 Summary: Integrated SCM and project management tool. License: GPL Group: Development/Tools URL: http://projects.edgewall.com/trac/ Source: http://ftp.edgewall.com/pub/trac/trac-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: python >= 2.1 BuildRequires: perl Requires: python >= 2.1 Requires: subversion >= 1.0.0 Requires: python-sqlite >= 0.4.3 Requires: python-clearsilver >= 0.9.3 Requires: webserver %description Trac is a minimalistic web-based software project management and bug/issue tracking system. It provides an interface to revision control systems (Subversion), an integrated Wiki and convenient report facilities. Trac allows wiki markup in issue descriptions and commit messages, to create links and seamless references between bugs, tasks, changesets, files and wiki pages. A timeline shows all project events in order, making getting an overview of the project and tracking progress very easy. %prep %setup -q -n trac-%{version} cat <trac.httpd Alias /trac/ "%{_datadir}/trac/htdocs/" ### Trac needs to know where the database is located SetEnv TRAC_DB "%{_datadir}/trac/myproject.db" ### You need this to allow users to authenticate AuthType Basic AuthName "trac" AuthUserFile %{_datadir}/trac/trac.htpasswd Require valid-user EOF %build %install rm -rf $RPM_BUILD_ROOT python setup.py install --root $RPM_BUILD_ROOT --prefix=%{_prefix} install -D -m0644 trac.httpd $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/trac.conf %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-, root, root, 0755) %doc AUTHORS ChangeLog COPYING INSTALL README THANKS UPGRADE %{_bindir}/* %{_datadir}/trac %{_libdir}/python*/site-packages/trac %config %{_sysconfdir}/httpd/conf.d/trac.conf %changelog * Thu Sep 02 2004 Thomas Vander Stichele - 0.7.1-0.fdr.1 - package copied from Dag