1 |
|
# $Id: smeserver-trac.spec,v 1.10 2008/04/23 18:34:48 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 41 |
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 |
|
Patch5: smeserver-trac-0.4-add2general.patch |
21 |
BuildArch: noarch |
BuildArch: noarch |
22 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
23 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
28 |
Requires: python-silvercity >= 0.9.5 |
Requires: python-silvercity >= 0.9.5 |
29 |
Requires: python-setuptools >= 0.6 |
Requires: python-setuptools >= 0.6 |
30 |
Requires: smeserver-subversion >= 1.2 |
Requires: smeserver-subversion >= 1.2 |
31 |
|
Requires: subversion-python |
32 |
Requires: smeserver-release >= 7 |
Requires: smeserver-release >= 7 |
33 |
Requires: httpd >= 2 |
Requires: httpd >= 2 |
34 |
|
Requires: e-smith-formmagick >= 1.4.0-10 |
35 |
|
|
36 |
|
|
37 |
%description |
%description |
38 |
Trac project environments integration for SME Server 7 |
Trac project environments integration for SME Server 7 |
39 |
|
|
40 |
%changelog |
%changelog |
41 |
|
* Sat Apr 26 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.4-41 |
42 |
|
- Add common <base> tags to e-smith-formmagick's general |
43 |
|
|
44 |
|
* Wed Apr 23 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.4-40 |
45 |
|
- Apply 23 April 2008 locale patch |
46 |
|
|
47 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.4-39 |
48 |
|
- Fix commit date in changelog entry |
49 |
|
|
50 |
|
* Tue Apr 22 2008 Jonathan Martens <smeserver-contribs@snetram.nl> 0.4-38 |
51 |
|
- Apply 22 April 2008 locale patch |
52 |
|
|
53 |
|
* Tue Apr 1 2008 Shad L. Lords <slords@mail.com> 0.4-37 |
54 |
|
- Update to UTF-8 translations |
55 |
|
|
56 |
|
* Wed Mar 12 2008 Marco Hess <marco.hess@through-ip.com> |
57 |
|
- 0.4-36 |
58 |
|
Update the trac lexicon file for some minor spelling errors and |
59 |
|
a minor updates for consistency. |
60 |
|
|
61 |
|
* Wed Dec 5 2007 Marco Hess <marco.hess@through-ip.com> |
62 |
|
- 0.4-35 |
63 |
|
Removed patch again, as using sighup seems to be creating more |
64 |
|
problems than it solved. |
65 |
|
|
66 |
|
* Wed Dec 5 2007 Marco Hess <marco.hess@through-ip.com> |
67 |
|
- 0.4-34 |
68 |
|
Added dependency so that subversion-python bindings package is |
69 |
|
installed. Changed the create links script so that the trac updates |
70 |
|
use sighup to restart httpd services instead of sigusr1 |
71 |
|
|
72 |
* Tue Aug 14 2007 Marco Hess <marco.hess@through-ip.com> |
* Tue Aug 14 2007 Marco Hess <marco.hess@through-ip.com> |
73 |
- 0.4-33 |
- 0.4-33 |
74 |
Updated spec file with new release tag. |
Updated spec file with new release tag. |
178 |
%prep |
%prep |
179 |
|
|
180 |
%setup |
%setup |
181 |
|
%patch1 -p1 |
182 |
|
%patch2 -p1 |
183 |
|
%patch3 -p1 |
184 |
|
%patch4 -p1 |
185 |
|
%patch5 -p1 |
186 |
|
|
187 |
%build |
%build |
188 |
perl createlinks |
perl createlinks |
230 |
/etc/e-smith/events/actions/initialize-default-databases |
/etc/e-smith/events/actions/initialize-default-databases |
231 |
/etc/e-smith/events/actions/navigation-conf |
/etc/e-smith/events/actions/navigation-conf |
232 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
233 |
/etc/rc7.d/S86httpd-e-smith sigusr1 |
/etc/rc7.d/S86httpd-e-smith sighup |
234 |
fi |
fi |
235 |
true |
true |
236 |
|
|
254 |
echo "Rebuilding server-manager (this can take a while) ..." |
echo "Rebuilding server-manager (this can take a while) ..." |
255 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
256 |
/etc/e-smith/events/actions/navigation-conf |
/etc/e-smith/events/actions/navigation-conf |
257 |
/etc/rc7.d/S86httpd-e-smith sigusr1 |
/etc/rc7.d/S86httpd-e-smith sighup |
258 |
|
|
259 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
260 |
%defattr(-,root,root) |
%defattr(-,root,root) |