1 |
slords |
1.1 |
Summary: SME Server specific trean configuration and templates. |
2 |
|
|
%define name smeserver-trean |
3 |
|
|
Name: %{name} |
4 |
|
|
%define version 0.1 |
5 |
|
|
%define release 3.2 |
6 |
|
|
Version: %{version} |
7 |
|
|
Release: %{release}%{?dist} |
8 |
|
|
License: GPL |
9 |
|
|
Group: Networking/Daemons |
10 |
|
|
Source: %{name}-%{version}.tar.gz |
11 |
|
|
Patch0: smeserver-trean-0.1-3.templates-custom-remove.patch |
12 |
|
|
Patch1: smeserver-trean-0.1-4.registry_php.patch |
13 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
|
|
BuildArchitectures: noarch |
15 |
|
|
Requires: imp-h3 >= 4.0 |
16 |
|
|
Requires: e-smith-base >= 4.15.1 |
17 |
|
|
Requires: e-smith-apache >= 1.1.0-18 |
18 |
|
|
Requires: e-smith-lib >= 1.15.1-16 |
19 |
|
|
Requires: trean >= 0.1 |
20 |
|
|
AutoReqProv: no |
21 |
|
|
|
22 |
|
|
%changelog |
23 |
|
|
* Wed Mar 28 2007 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-3.2 |
24 |
|
|
- Update to trean specific horde registry.php per horde 3.1.4 |
25 |
|
|
|
26 |
|
|
* Thu Jul 20 2006 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-3.1 |
27 |
|
|
- Just bumping the trean number so that installs of tream will be set to enabled |
28 |
|
|
by default if trean is installed. |
29 |
|
|
|
30 |
|
|
* Thu Jul 20 2006 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-3 |
31 |
|
|
- Currently skipping patch 0 as no movement has been made on my bug request 1742 |
32 |
|
|
- Removed trean templates-custom fragment and moved it to the templates |
33 |
|
|
directory which will make trean active when this rpm is installed. |
34 |
|
|
|
35 |
|
|
* Tue Jun 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-2 |
36 |
|
|
- Removed 0.1-1 patch and fixed in source |
37 |
|
|
|
38 |
|
|
* Sat Jun 10 2006 John H. Bennett III <bennettj@johnbennettservices.com> 0.1-1 |
39 |
|
|
- Removed deprecated calls to esmith:db and esmith:config |
40 |
|
|
|
41 |
|
|
* Sun Jun 05 2006 John H. Bennett III <bennettj@johnbennettservices.com> 0.1 |
42 |
|
|
- Initial build |
43 |
|
|
- Added the ability to enable or disable trean menu icon from showing up on the |
44 |
|
|
main webmail screen. To enable config set trean service MenuArray disabled|enabled |
45 |
|
|
- e-smith-horde still needs to support this feature or manual intervention is |
46 |
|
|
required. |
47 |
|
|
|
48 |
|
|
%description |
49 |
|
|
This package adds necessary templates and configuration items |
50 |
|
|
so that trean will work properly on SME Server 7.x |
51 |
|
|
|
52 |
|
|
%prep |
53 |
|
|
%setup |
54 |
|
|
|
55 |
|
|
%patch0 -p1 |
56 |
|
|
%patch1 -p1 |
57 |
|
|
|
58 |
|
|
%build |
59 |
|
|
|
60 |
|
|
perl createlinks |
61 |
|
|
|
62 |
|
|
%install |
63 |
|
|
rm -rf $RPM_BUILD_ROOT |
64 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
65 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
66 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
67 |
|
|
|
68 |
|
|
%clean |
69 |
|
|
rm -rf $RPM_BUILD_ROOT |
70 |
|
|
|
71 |
|
|
%pre |
72 |
|
|
|
73 |
|
|
%preun |
74 |
|
|
|
75 |
|
|
%post |
76 |
|
|
|
77 |
|
|
%postun |
78 |
|
|
|
79 |
|
|
%files -f %{name}-%{version}-filelist |
80 |
|
|
%defattr(-,root,root) |