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