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