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