/[smecontribs]/rpms/trac/contribs8/trac.spec
ViewVC logotype

Contents of /rpms/trac/contribs8/trac.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Fri Dec 21 22:34:17 2007 UTC (16 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
sme8 not supported yet

1 # $Id: trac.spec 4994 2006-12-13 05:04:24Z dag $
2 # Authority: dag
3 # Upstream: <trac$lists,edgewall,com>
4
5 %define python_sitelib %(%{__python} -c 'from distutils import sysconfig; print sysconfig.get_python_lib()')
6
7 Name: trac
8 Summary: Integrated SCM and project management tool
9 Version: 0.10.4
10 Release: 1%{?dist}
11 License: GPL
12 Group: Development/Tools
13 URL: http://projects.edgewall.com/trac/
14
15 Source: http://ftp.edgewall.com/pub/trac/trac-%{version}.tar.gz
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
17
18 BuildArch: noarch
19 BuildRequires: python >= 2.3
20 Requires: python >= 2.3, python-sqlite >= 0.4.3, subversion >= 1.0.0
21 Requires: python-clearsilver >= 0.9.3, webserver
22 #Requires: subversion-python >= 1.0.0
23
24 Patch0: trac-0.10.4-TrueHttpBasicAuthenticationLogout.patch
25
26 %description
27 Trac is a minimalistic web-based software project management and
28 bug/issue tracking system. It provides an interface to revision
29 control systems (Subversion), an integrated Wiki and convenient
30 report facilities.
31
32 Trac allows wiki markup in issue descriptions and commit messages,
33 to create links and seamless references between bugs, tasks,
34 changesets, files and wiki pages. A timeline shows all project
35 events in order, making getting an overview of the project and
36 tracking progress very easy.
37
38 This version is imported from the Dag Wiers repository and has
39 patchers to make it suitable to work on SME Server.
40
41 %prep
42 %setup
43 %patch0 -p1
44
45 %{__perl} -pi.orig -e 's|/usr/lib/|%{_libdir}|g' setup.py
46
47 %{__cat} <<EOF >trac.httpd
48 Alias /trac/ "%{_datadir}/trac/htdocs/"
49
50 ### Trac need to know where the database is located
51 <Location "/cgi-bin/trac.cgi">
52 SetEnv TRAC_ENV "%{_datadir}/trac/myproject.db"
53 </Location>
54
55 ### You need this to allow users to authenticate
56 <Location "/cgi-bin/trac.cgi/login">
57 AuthType Basic
58 AuthName "trac"
59 AuthUserFile %{_datadir}/trac/trac.htpasswd
60 Require valid-user
61 </location>
62 EOF
63
64 %build
65
66 %install
67 %{__rm} -rf %{buildroot}
68 %{__python} setup.py install --root="%{buildroot}"
69
70 %{__install} -Dp -m0644 trac.httpd %{buildroot}%{_sysconfdir}/httpd/conf.d/trac.conf
71 %{__install} -d -m0755 %{buildroot}%{_localstatedir}/lib/trac/
72
73 %clean
74 %{__rm} -rf %{buildroot}
75
76 %files
77 %defattr(-, root, root, 0755)
78 %doc AUTHORS ChangeLog COPYING INSTALL README THANKS UPGRADE
79 %doc %{_mandir}/man1/trac*.1*
80 %config(noreplace) %{_sysconfdir}/httpd/conf.d/trac.conf
81 %{_bindir}/trac*
82 %{_datadir}/trac/
83 %{python_sitelib}/trac/
84 %{_localstatedir}/lib/trac/
85
86 %changelog
87 * Mon Aug 13 2007 Marco Hess <marco.hess@through-ip.com>
88 - Update package to trac 0.10.4
89
90 * Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
91 - Clean up spec so package can be built by koji/plague
92
93 * Mon Apr 2 2007 Marco Hess <marco.hess@through-ip.com>
94 - 0.10.3.1-2.rf.sme01
95 - Imported into smecontribs CVS and applied patch to support
96 true http authenticated logout as described in Trac Ticket
97 3577 <http://trac.edgewall.org/ticket/3577>
98
99 * Sat Mar 10 2007 Dag Wieers <dag@wieers.com> - 0.10.3.1-1 - 4994+/dag
100 - Updated to release 0.10.3.1.
101
102 * Wed Dec 13 2006 Dag Wieers <dag@wieers.com> - 0.10.3-1
103 - Updated to release 0.10.3.
104
105 * Wed Nov 15 2006 Dag Wieers <dag@wieers.com> - 0.10.2-1
106 - Updated to release 0.10.2.
107
108 * Thu Nov 09 2006 Dag Wieers <dag@wieers.com> - 0.10.1-1
109 - Updated to release 0.10.1.
110
111 * Sat Sep 30 2006 Dag Wieers <dag@wieers.com> - 0.10-1
112 - Updated to release 0.10.
113
114 * Sun Jul 09 2006 Dag Wieers <dag@wieers.com> - 0.9.6-1
115 - Updated to release 0.9.6.
116
117 * Sat Apr 22 2006 Dries Verachtert <dries@ulyssis.org> - 0.9.5-1
118 - Updated to release 0.9.5.
119
120 * Sat Feb 18 2006 Dag Wieers <dag@wieers.com> - 0.9.4-1
121 - Updated to release 0.9.4.
122
123 * Wed Jan 11 2006 Dag Wieers <dag@wieers.com> - 0.9.3-1
124 - Updated to release 0.9.3.
125
126 * Tue Dec 06 2005 Dries Verachtert <dries@ulyssis.org> - 0.9.2-1
127 - Updated to release 0.9.2.
128
129 * Tue Nov 15 2005 Dries Verachtert <dries@ulyssis.org> - 0.9-1
130 - Updated to release 0.9.
131
132 * Tue Jul 19 2005 Dag Wieers <dag@wieers.com> - 0.8.4-1
133 - Updated to release 0.8.4.
134
135 * Mon Jul 11 2005 Matt Whiteley <mattw@cat.pdx.edu> - 0.8.3-1
136 - Updated to release 0.8.3.
137
138 * Wed Jun 01 2005 Matt Whiteley <mattw@cat.pdx.edu> - 0.8.2-1
139 - Updated to release 0.8.2.
140 - Fixed env in apache conf.d file.
141
142 * Fri Mar 04 2005 Dag Wieers <dag@wieers.com> - 0.8.1-1
143 - Updated to release 0.8.1.
144
145 * Wed Jan 19 2005 Dag Wieers <dag@wieers.com> - 0.8-4
146 - Fixed typo causing missing trac.conf. (Simon Perreault)
147
148 * Mon Nov 29 2004 Dag Wieers <dag@wieers.com> - 0.8-3
149 - Fixed buildroot in %%install phase. (Dimiter Manevski)
150
151 * Mon Nov 29 2004 Dag Wieers <dag@wieers.com> - 0.8-2
152 - Remove the deprecated subversion-python requirement. (Dimiter Manevski)
153
154 * Sun Nov 21 2004 Dag Wieers <dag@wieers.com> - 0.8-1
155 - Updated to release 0.8.
156
157 * Fri Jun 04 2004 Dag Wieers <dag@wieers.com> - 0.7.1-1
158 - Updated to release 0.7.1.
159
160 * Sun May 30 2004 Dag Wieers <dag@wieers.com> - 0.7.0-1
161 - Updated to release 0.7.0.
162
163 * Fri Apr 30 2004 Dag Wieers <dag@wieers.com> - 0.6.1-1
164 - Initial package. (using DAR)

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed