1 |
|
# $Id: smeserver-trac.spec,v 1.9 2008/04/22 09:32:03 snetram Exp $ |
2 |
|
# Authority: marcohess |
3 |
|
# Name: Marco Hess |
4 |
|
|
5 |
%define name smeserver-trac |
%define name smeserver-trac |
6 |
%define version 0.4 |
%define version 0.4 |
7 |
%define release 33 |
%define release 40 |
8 |
|
|
9 |
Name: %{name} |
Name: %{name} |
10 |
Summary: Trac for SME Server |
Summary: Trac for SME Server |
13 |
License: GPL |
License: GPL |
14 |
Group: Applications/Internet |
Group: Applications/Internet |
15 |
Source: %{name}-%{version}.tgz |
Source: %{name}-%{version}.tgz |
16 |
|
Patch1: smeserver-trac-0.4-lexicon-spelling-update.patch |
17 |
|
Patch2: smeserver-trac-0.4-locale-2008-04-01.patch |
18 |
|
Patch3: smeserver-trac-0.4-locale-2008-04-22.patch |
19 |
|
Patch4: smeserver-trac-0.4-locale-2008-04-23.patch |
20 |
BuildArch: noarch |
BuildArch: noarch |
21 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
27 |
Requires: python-silvercity >= 0.9.5 |
Requires: python-silvercity >= 0.9.5 |
28 |
Requires: python-setuptools >= 0.6 |
Requires: python-setuptools >= 0.6 |
29 |
Requires: smeserver-subversion >= 1.2 |
Requires: smeserver-subversion >= 1.2 |
30 |
|
Requires: subversion-python |
31 |
Requires: smeserver-release >= 7 |
Requires: smeserver-release >= 7 |
32 |
Requires: httpd >= 2 |
Requires: httpd >= 2 |
33 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
34 |
|
|
35 |
|
|
36 |
%description |
%description |
37 |
Trac project environments integration for SME Server 7 |
Trac project environments integration for SME Server 7 |
38 |
|
|
39 |
%changelog |
%changelog |
40 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.4-40 |
41 |
|
- Apply 23 April 2008 locale patch |
42 |
|
|
43 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.4-39 |
44 |
|
- Fix commit date in changelog entry |
45 |
|
|
46 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.4-38 |
47 |
|
- Apply 22 April 2008 locale patch |
48 |
|
|
49 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 0.4-37 |
50 |
|
- Update to UTF-8 translations |
51 |
|
|
52 |
|
* Wed Mar 12 2008 Marco Hess <marco.hess@through-ip.com> |
53 |
|
- 0.4-36 |
54 |
|
Update the trac lexicon file for some minor spelling errors and |
55 |
|
a minor updates for consistency. |
56 |
|
|
57 |
|
* Wed Dec 5 2007 Marco Hess <marco.hess@through-ip.com> |
58 |
|
- 0.4-35 |
59 |
|
Removed patch again, as using sighup seems to be creating more |
60 |
|
problems than it solved. |
61 |
|
|
62 |
|
* Wed Dec 5 2007 Marco Hess <marco.hess@through-ip.com> |
63 |
|
- 0.4-34 |
64 |
|
Added dependency so that subversion-python bindings package is |
65 |
|
installed. Changed the create links script so that the trac updates |
66 |
|
use sighup to restart httpd services instead of sigusr1 |
67 |
|
|
68 |
* Tue Aug 14 2007 Marco Hess <marco.hess@through-ip.com> |
* Tue Aug 14 2007 Marco Hess <marco.hess@through-ip.com> |
69 |
- 0.4-33 |
- 0.4-33 |
70 |
Updated spec file with new release tag. |
Updated spec file with new release tag. |
174 |
%prep |
%prep |
175 |
|
|
176 |
%setup |
%setup |
177 |
|
%patch1 -p1 |
178 |
|
%patch2 -p1 |
179 |
|
%patch3 -p1 |
180 |
|
%patch4 -p1 |
181 |
|
|
182 |
%build |
%build |
183 |
perl createlinks |
perl createlinks |
225 |
/etc/e-smith/events/actions/initialize-default-databases |
/etc/e-smith/events/actions/initialize-default-databases |
226 |
/etc/e-smith/events/actions/navigation-conf |
/etc/e-smith/events/actions/navigation-conf |
227 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
228 |
/etc/rc7.d/S86httpd-e-smith sigusr1 |
/etc/rc7.d/S86httpd-e-smith sighup |
229 |
fi |
fi |
230 |
true |
true |
231 |
|
|
249 |
echo "Rebuilding server-manager (this can take a while) ..." |
echo "Rebuilding server-manager (this can take a while) ..." |
250 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
251 |
/etc/e-smith/events/actions/navigation-conf |
/etc/e-smith/events/actions/navigation-conf |
252 |
/etc/rc7.d/S86httpd-e-smith sigusr1 |
/etc/rc7.d/S86httpd-e-smith sighup |
253 |
|
|
254 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
255 |
%defattr(-,root,root) |
%defattr(-,root,root) |