Logoj0ke.net Open Build Service > Projects > devel:python > trac > Changes
Sign Up | Log In

Problem getting expanded diff: bad link: devel:tools:scm/trac: project 'devel:tools:scm' does not exist

Changes of Revision 8

[-] Added trac.spec
x
 
1
@@ -0,0 +1,189 @@
2
+# Copyright (c) 2007 Herbert Graeber
3
+# This file and all modifications and additions to the pristine
4
+# package are under the same license as the package itself.
5
+#
6
+# Please submit bugfixes or comments to herbert@links2linux.de
7
+
8
+# norootforbuild
9
+
10
+Name:           trac
11
+Version:        0.10.4
12
+Release:        0
13
+Summary:        Integrated scm, wiki, issue tracker and project environment
14
+Summary(de):    Eine integrierte SCM-, Wiki-, Bugtracker- und Projektumgebung
15
+Group:          Development/Libraries
16
+License:        Modified BSD
17
+URL:            http://trac.edgewall.com
18
+Source0:        http://ftp.edgewall.com/pub/trac/%{name}-%{version}.tar.gz
19
+Source1:   tracd.init
20
+Source2:   tracd.sysconfig
21
+Source3:   trac.conf
22
+Source4:   README.SUSE.html
23
+Source5:        trac.ini
24
+Patch0:         trac-ini-location.patch
25
+Patch1:         trac-auth.patch
26
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
27
+PreReq:         %insserv_prereq
28
+PreReq:         %fillup_prereq
29
+%py_requires
30
+Requires:       subversion-python
31
+Requires:       python-devel
32
+Requires:       python-clearsilver
33
+BuildRequires:  subversion-python
34
+BuildRequires:  python-devel
35
+BuildRequires:  python-clearsilver
36
+BuildRequires:  sqlite
37
+%if %{suse_version} <= 1020
38
+Requires:       python-sqlite
39
+BuildRequires:  python-sqlite
40
+%endif
41
+
42
+%description
43
+Trac is a minimalistic web-based software project management and bug/issue
44
+tracking system. It provides an interface to the Subversion revision control
45
+systems, an integrated wiki, flexible issue tracking and convenient report
46
+facilities.
47
+
48
+%prep
49
+%setup -q
50
+%patch0 -p1
51
+%patch1 -p1
52
+cp %{S:4} .
53
+
54
+%build
55
+CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
56
+
57
+%install
58
+rm -rf $RPM_BUILD_ROOT
59
+python setup.py install -O1 --quiet --root %{buildroot} --prefix %{_prefix}
60
+install -D -m 0755 %{S:1} %{buildroot}/etc/init.d/tracd
61
+install -d -m 0755 %{buildroot}/usr/sbin
62
+ln -s ../../etc/init.d/tracd %{buildroot}/usr/sbin/rctracd
63
+install -D -m 0700 %{S:2} %{buildroot}/var/adm/fillup-templates/sysconfig.tracd
64
+install -d -m 0755 %{buildroot}/srv/trac
65
+install -D -m 0644 %{S:3} %{buildroot}/etc/apache2/conf.d/trac.conf
66
+install -D %{S:5} %{buildroot}%{_sysconfdir}/trac/trac.ini
67
+
68
+%pre
69
+# save the trac.ini from /usr/share/trac/conf if it exists...
70
+if [ "$1" -ge 2 ]; then
71
+  if [ \! -e %{_sysconfdir}/trac/trac.ini -a -r %{_datadir}/trac/conf/trac.ini ]; then
72
+    if [ \! -e %{_sysconfdir}/trac ]; then mkdir %{_sysconfdir}/trac; fi
73
+    mv %{_datadir}/trac/conf/trac.ini %{_sysconfdir}/trac/trac.ini.backup
74
+  fi
75
+fi
76
+
77
+%preun
78
+%stop_on_removal tracd
79
+
80
+%postun
81
+%restart_on_update tracd
82
+%insserv_cleanup
83
+
84
+%post
85
+# ... and save it as new try.ini in /etc/trac.ini if this doesn't exist
86
+if [ "$1" -ge 2 ]; then
87
+  if [ -r %{_sysconfdir}/trac/trac.ini.backup ]; then
88
+    mv %{_sysconfdir}/trac/trac.ini %{_sysconfdir}/trac/trac.ini.rpmnew
89
+    mv %{_sysconfdir}/trac/trac.ini.backup %{_sysconfdir}/trac/trac.ini
90
+  fi
91
+fi
92
+%{fillup_only -n tracd}
93
+
94
+%clean
95
+rm -rf $RPM_BUILD_ROOT
96
+
97
+%files
98
+%defattr(-,root,root,-)
99
+%doc AUTHORS ChangeLog COPYING INSTALL README README.tracd README.SUSE.html RELEASE THANKS UPGRADE contrib
100
+%{_bindir}/*
101
+%{_datadir}/trac
102
+%config(noreplace) %{_sysconfdir}/trac/trac.ini
103
+%{py_sitedir}/trac
104
+%if 0%{suse_version} > 1010
105
+%{py_sitedir}/trac-%{version}-py%{py_ver}.egg-info
106
+%endif
107
+/usr/share/man/man1/*
108
+%attr(-,wwwrun,www) /srv/trac
109
+/etc/init.d/tracd
110
+/usr/sbin/rctracd
111
+/var/adm/fillup-templates/sysconfig.tracd
112
+%config(noreplace) /etc/apache2/conf.d/trac.conf
113
+
114
+%changelog
115
+* Sun Dec 2 2007 Herbert Graeber <herbert@graeber-clan.de>
116
+- Fixed location of trac.ini in siteconfig.py
117
+
118
+* Sat Dec 1 2007 Herbert Graeber <herbert@graeber-clan.de>
119
+- Moved the trac.ini file into /etc/trac. Try to relocate it from /usr/share/trac/conf
120
+  if possible. [#343646]
121
+- Make the trac_auth domain configurable [#344775]
122
+
123
+* Sat Nov 24 2007 Herbert Graeber <herbert@graeber-clan.de>
124
+- no reqirement for python-sqlite in openSUSE 10.3
125
+
126
+* Fri Nov 23 2007 Herbert Graeber <herbert@graeber-clan.de>
127
+- Fixed generation of siteconfig.py
128
+- Marked trac.conf with noreplace flag
129
+- Added an example trac.ini 
130
+
131
+* Tue Nov 20 2007 Herbert Graeber <herbert@graeber-clan.de>
132
+- Added "PythonInterpreter main_interpreter" to trac.conf as suggested
133
+  by http://trac.edgewall.org/wiki/TracModPython (Fixes #343045)
134
+
135
+* Thu Jun 7 2007 Herbert Graeber <herbert@graeber-clan.de>
136
+- Fixed some wrong paths and typos in README.SUSE.html
137
+
138
+* Sun Apr 22 2007 Herbert Graeber <herbert@graeber-clan.de>
139
+- update to version 0.10.4
140
+  * Repository cache improvements: 
141
+    More robust repository cache synchronizing
142
+    Improved trac-admin resync command
143
+  * Fix a possible freeze under heavy load
144
+  * Improved MySQL support 
145
+  * Better documentation for MySQL support (see MySqlDb) 
146
+  * Slightly improved key size for the revision index, but the limitation is still there
147
+  * Several other minor fixes
148
+
149
+* Thu Mar 08 2007 Herbert Graeber <herbert@graeber-clan.de>
150
+- update to version 0.10.3.1 (Major security fixes)
151
+
152
+* Mon Mar 5 2007 Herbert Graeber <herbert@graeber-clan.de>
153
+- no requirement of python-sqlite for openSUSE > 10.2 (already part of python 2.5).
154
+
155
+* Wed Jan 31 2007 Herbert Graeber <herbert@graeber-clan.de>
156
+- fixed wrong -q option in /etc/init.d/tracd
157
+
158
+* Tue Dec 12 2006 Herbert Graeber <herbert@graeber-clan.de>
159
+- update to version 0.10.3
160
+
161
+* Mon Nov 14 2006 Herbert Graeber <herbert@graeber-clan.de>
162
+- update to version 0.10.2 (security fix)
163
+
164
+* Wed Nov 09 2006 Herbert Graeber <herbert@graeber-clan.de>
165
+- update to version 0.10.1 (security fix)
166
+
167
+* Tue Oct 03 2006 Herbert Graeber <herbert@graeber-clan.de>
168
+- make it python 2.5 compatible
169
+
170
+* Mon Oct 02 2006 Herbert Graeber <herbert@graeber-clan.de>
171
+- update to version 0.10
172
+- migrated into the SUSE build service
173
+
174
+* Fri Jul 07 2006 Herbert Graeber <herbert@graeber-clan.de>
175
+- added python-devel to requirements (needed for plugins)
176
+
177
+* Thu Jul 06 2006 Herbert Graeber <herbert@graeber-clan.de>
178
+- update to version 0.9.6
179
+
180
+* Fri Apr 21 2006 Herbert Graeber <herbert@graeber-clan.de>
181
+- update to version 0.9.5
182
+
183
+* Thu Apr 13 2006 Herbert Graeber <herbert@graeber-clan.de>
184
+- added a --prefix to installation (for SUSE 10.1)
185
+
186
+* Thu Feb 26 2006 Herbert Graeber <herbert@graeber-clan.de>
187
+- update to version 0.9.4 
188
+
189
+* Wed Feb 08 2006 Herbert Graeber <herbert@graeber-clan.de>
190
+- initial version (not published)
191