File trac.spec of Package trac
Name: trac
Version: 0.10.4
Release: 4.1
Summary: Integrated scm, wiki, issue tracker and project environment
Summary(de): Eine integrierte SCM-, Wiki-, Bugtracker- und Projektumgebung
Group: Development/Libraries
License: Modified BSD
URL: http://trac.edgewall.com
Source0: http://ftp.edgewall.com/pub/trac/%{name}-%{version}.tar.gz
Source1: tracd.init
Source2: tracd.sysconfig
Source3: trac.conf
Source4: README.SUSE.html
Patch0: trac-time-tracking-0.10.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
PreReq: %insserv_prereq
PreReq: %fillup_prereq
%py_requires
Requires: subversion-python
Requires: python-devel
Requires: python-clearsilver
Requires: python-sqlite
BuildRequires: subversion-python
BuildRequires: python-devel
BuildRequires: python-clearsilver
BuildRequires: sqlite
%if %{suse_version} <= 1020
BuildRequires: python-sqlite
%endif
%description
Trac is a minimalistic web-based software project management and bug/issue
tracking system. It provides an interface to the Subversion revision control
systems, an integrated wiki, flexible issue tracking and convenient report
facilities.
%prep
%setup -q
cp %{S:1} %{S:2} %{S:3} %{S:4} .
%patch -p0
%build
CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
%install
rm -rf $RPM_BUILD_ROOT
python setup.py install -O1 --skip-build --root %{buildroot} --prefix %{_prefix}
install -D -m 0755 "tracd.init" "%{buildroot}/etc/init.d/tracd"
install -d -m 0755 "%{buildroot}/usr/sbin"
ln -s "../../etc/init.d/tracd" "%{buildroot}/usr/sbin/rctracd"
install -D -m 0700 "tracd.sysconfig" "%{buildroot}/var/adm/fillup-templates/sysconfig.tracd"
install -d -m 0755 "%{buildroot}/srv/trac"
install -D -m 0644 trac.conf "%{buildroot}/etc/apache2/conf.d/trac.conf"
%preun
%stop_on_removal tracd
%postun
%restart_on_update tracd
%insserv_cleanup
%post
%{fillup_only -n tracd}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog COPYING INSTALL README README.tracd README.SUSE.html RELEASE THANKS UPGRADE contrib
%{_bindir}/*
%{_datadir}/trac
%{py_sitedir}/trac
%if %{suse_version} > 1010
%{py_sitedir}/trac-%{version}-py%{py_ver}.egg-info
%endif
/usr/share/man/man1/*
%attr(-,wwwrun,www) /srv/trac
/etc/init.d/tracd
/usr/sbin/rctracd
/var/adm/fillup-templates/sysconfig.tracd
%config /etc/apache2/conf.d/trac.conf
%changelog
* Fri Sep 7 2007 Dennis Sieben <dennis.sieben@open.xchange.com>
- Added a patch for time management
* Thu Jun 7 2007 Herbert Graeber <herbert@graeber-clan.de>
- Fixed some wrong paths and typos in README.SUSE.html
* Sun Apr 22 2007 Herbert Graeber <herbert@graeber-clan.de>
- update to version 0.10.4
* Repository cache improvements:
More robust repository cache synchronizing
Improved trac-admin resync command
* Fix a possible freeze under heavy load
* Improved MySQL support
* Better documentation for MySQL support (see MySqlDb)
* Slightly improved key size for the revision index, but the limitation is still there
* Several other minor fixes
* Thu Mar 08 2007 Herbert Graeber <herbert@graeber-clan.de>
- update to version 0.10.3.1 (Major security fixes)
* Mon Mar 5 2007 Herbert Graeber <herbert@graeber-clan.de>
- no requirement of python-sqlite for openSUSE > 10.2 (already part of python 2.5).
* Wed Jan 31 2007 Herbert Graeber <herbert@graeber-clan.de>
- fixed wrong -q option in /etc/init.d/tracd
* Tue Dec 12 2006 Herbert Graeber <herbert@graeber-clan.de>
- update to version 0.10.3
* Mon Nov 14 2006 Herbert Graeber <herbert@graeber-clan.de>
- update to version 0.10.2 (security fix)
* Wed Nov 09 2006 Herbert Graeber <herbert@graeber-clan.de>
- update to version 0.10.1 (security fix)
* Tue Oct 03 2006 Herbert Graeber <herbert@graeber-clan.de>
- make it python 2.5 compatible
* Mon Oct 02 2006 Herbert Graeber <herbert@graeber-clan.de>
- update to version 0.10
- migrated into the SUSE build service
* Fri Jul 07 2006 Herbert Graeber <herbert@graeber-clan.de>
- added python-devel to requirements (needed for plugins)
* Thu Jul 06 2006 Herbert Graeber <herbert@graeber-clan.de>
- update to version 0.9.6
* Fri Apr 21 2006 Herbert Graeber <herbert@graeber-clan.de>
- update to version 0.9.5
* Thu Apr 13 2006 Herbert Graeber <herbert@graeber-clan.de>
- added a --prefix to installation (for SUSE 10.1)
* Thu Feb 26 2006 Herbert Graeber <herbert@graeber-clan.de>
- update to version 0.9.4
* Wed Feb 08 2006 Herbert Graeber <herbert@graeber-clan.de>
- initial version (not published)