1 |
slords |
1.1 |
# $Id: smeserver-gollem.spec,v 1.11 2009/04/11 17:18:30 mrjhb3 Exp $ |
2 |
|
|
# Authority: mrjhb3 |
3 |
|
|
# Name: John H. Bennett III |
4 |
|
|
|
5 |
|
|
Summary: SME Server specific Gollem configuration and templates. |
6 |
|
|
%define name smeserver-gollem |
7 |
|
|
Name: %{name} |
8 |
|
|
%define version 1.0 |
9 |
|
|
%define release 18 |
10 |
|
|
Version: %{version} |
11 |
|
|
Release: %{release}%{?dist} |
12 |
|
|
License: GPL |
13 |
|
|
Group: Networking/Daemons |
14 |
|
|
Source: %{name}-%{version}.tar.gz |
15 |
|
|
Patch0: smeserver-gollem-1.0-2.defaultbackends.patch |
16 |
|
|
Patch1: smeserver-gollem-1.0-3.templates-custom.patch |
17 |
|
|
Patch2: smeserver-gollem-1.0-4.menuarray.patch |
18 |
|
|
Patch3: smeserver-gollem-1.0-5.menusettings.include.patch |
19 |
|
|
Patch4: smeserver-gollem-1.0-7.API.patch |
20 |
|
|
Patch5: smeserver-gollem-1.0-8.templates-custom-remove.patch |
21 |
|
|
Patch6: smeserver-gollem-1.0-9.filter.patch |
22 |
|
|
Patch7: smeserver-gollem-1.0.10.show_dots.patch |
23 |
|
|
Patch8: smeserver-gollem-1.0-11.gollem_block.patch |
24 |
|
|
Patch9: smeserver-gollem-1.0-12.backends_ftp.patch |
25 |
|
|
Patch10: smeserver-gollem-1.0-13.gollem103_backends.patch |
26 |
|
|
Patch11: smeserver-gollem-1.0-14.httpd.conf.patch |
27 |
|
|
Patch12: smeserver-gollem-1.0-15.gollem-1.1.patch |
28 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
29 |
|
|
BuildArchitectures: noarch |
30 |
|
|
Requires: imp-h3 >= 4.0 |
31 |
|
|
Requires: e-smith-base >= 4.15.1 |
32 |
|
|
Requires: e-smith-apache >= 1.1.0-18 |
33 |
|
|
Requires: e-smith-lib >= 1.15.1-16 |
34 |
|
|
Requires: gollem-h3 >= 1.1 |
35 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
36 |
|
|
AutoReqProv: no |
37 |
|
|
|
38 |
|
|
%changelog |
39 |
|
|
* Wed Apr 8 2009 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-18 |
40 |
|
|
- 2nd attempt - change requires for gollem-h3 so that it will really pull |
41 |
|
|
in gollem-h3 properly during a yum update of smeserver-gollem [SME: 5152] |
42 |
|
|
|
43 |
|
|
* Wed Apr 8 2009 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-17 |
44 |
|
|
- Bump number so that an updated rpm will be used which should pull in gollem-h3 |
45 |
|
|
properly [SME: 5152] |
46 |
|
|
|
47 |
|
|
* Wed Apr 1 2009 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-16 |
48 |
|
|
- Updated templates to support gollem 1.1 |
49 |
|
|
|
50 |
|
|
* Mon Mar 09 2009 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-15 |
51 |
|
|
- Updated spec file to require gollem-h3 >= 1.04 so that a yum install |
52 |
|
|
smeserver-gollem will also pull in the most current version of gollem-h3 |
53 |
|
|
|
54 |
|
|
* Mon Dec 08 2008 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-14 |
55 |
|
|
- Updated to fix typo in gollem httpd.conf template fragment |
56 |
|
|
|
57 |
|
|
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
58 |
|
|
- Clean up spec so package can be built by koji/plague |
59 |
|
|
|
60 |
|
|
* Sat Mar 24 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-13 |
61 |
|
|
- Updated gollem template fragments per gollem 1.0.3. |
62 |
|
|
|
63 |
|
|
* Thu Feb 1 2007 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-12 |
64 |
|
|
- Patch to 100LocalFtp that changes the hostspec from ftp.yourdomain.com to localhost. |
65 |
|
|
|
66 |
|
|
* Sun Dec 3 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-11 |
67 |
|
|
- Patch to change gollem-menu template from hidden to block. This is a cosmetic |
68 |
|
|
fix so that the horde sidebar does not try to display a non-existent file. |
69 |
|
|
|
70 |
|
|
* Sat Oct 7 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-10 |
71 |
|
|
- Modified gollem prefs.php template to set show dot files to off by default. |
72 |
|
|
Even if it's turned on by a user, they will not see those files as they are |
73 |
|
|
being filtered via patch 6. |
74 |
|
|
|
75 |
|
|
* Wed Oct 4 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-9 |
76 |
|
|
- Added a regex filter to gollem's 100LocalFtp template that will not display |
77 |
|
|
files that start with . or the Maildir directory. |
78 |
|
|
|
79 |
|
|
* Thu Jul 20 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-8 |
80 |
|
|
- Removed old patch 5 as no movement has been made on my bug request 1742 |
81 |
|
|
- Removed gollem templates-custom fragment and moved it to the templates directory |
82 |
|
|
which will make gollem active and gollem-block hidden when this rpm is installed. |
83 |
|
|
|
84 |
|
|
* Tue Jun 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-7 |
85 |
|
|
- Remove Patch 6 |
86 |
|
|
- Fix use of deprecated APIs in httpd.conf template fragment. |
87 |
|
|
|
88 |
|
|
* Fri Jun 09 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-6 |
89 |
|
|
- Removed deprecated calls to esmith:db and esmith:config |
90 |
|
|
|
91 |
|
|
* Wed Mar 22 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-5 |
92 |
|
|
- Added an includes statement to 120Menusettings that will grab the information |
93 |
|
|
in horde/conf.menu.apps.php. This way each of the individual horde modules |
94 |
|
|
don't have to repeatedly process the same template for the menu array section in conf.php. |
95 |
|
|
|
96 |
|
|
* Sat Mar 18 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-4 |
97 |
|
|
- Added the ability to enable or disable gollem menu icon from showing up on the |
98 |
|
|
main webmail screen. To enable config set gollem service MenuArray disabled|enabled |
99 |
|
|
- e-smith-horde still needs to support this feature or manual intervention is |
100 |
|
|
required. |
101 |
|
|
|
102 |
|
|
* Sat Mar 18 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-3 |
103 |
|
|
- Added templates-custom fragment for horde/registry.php to make gollem active |
104 |
|
|
and gollem-block hidden until the master templates are re-worked in smeserver-horde |
105 |
|
|
or it's decided to make each smeserver horde add-on module include their own specific |
106 |
|
|
registry.php templates. |
107 |
|
|
|
108 |
|
|
* Mon Mar 6 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-2 |
109 |
|
|
- Changed root and home locations for backends.php template to defaults, |
110 |
|
|
which is blank |
111 |
|
|
|
112 |
|
|
* Thu Mar 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0-1 |
113 |
|
|
- Re-rolled and updated templates to match Gollem 1.0.2-RC2 |
114 |
|
|
|
115 |
|
|
* Thu Mar 2 2006 John H. Bennett III <bennettj@johnbennettservices.com> 1.0 |
116 |
|
|
- Initial build |
117 |
|
|
|
118 |
|
|
%description |
119 |
|
|
This package adds necessary templates and configuration items |
120 |
|
|
so that Gollem will work properly. |
121 |
|
|
|
122 |
|
|
%prep |
123 |
|
|
%setup |
124 |
|
|
|
125 |
|
|
%patch0 -p1 |
126 |
|
|
%patch1 -p1 |
127 |
|
|
%patch2 -p1 |
128 |
|
|
%patch3 -p1 |
129 |
|
|
%patch4 -p1 |
130 |
|
|
%patch5 -p1 |
131 |
|
|
%patch6 -p1 |
132 |
|
|
%patch7 -p1 |
133 |
|
|
%patch8 -p1 |
134 |
|
|
%patch9 -p1 |
135 |
|
|
%patch10 -p1 |
136 |
|
|
%patch11 -p1 |
137 |
|
|
%patch12 -p1 |
138 |
|
|
|
139 |
|
|
%build |
140 |
|
|
|
141 |
|
|
perl createlinks |
142 |
|
|
|
143 |
|
|
%install |
144 |
|
|
rm -rf $RPM_BUILD_ROOT |
145 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
146 |
|
|
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist |
147 |
|
|
echo "%doc COPYING" >> %{name}-%{version}-filelist |
148 |
|
|
|
149 |
|
|
%clean |
150 |
|
|
rm -rf $RPM_BUILD_ROOT |
151 |
|
|
|
152 |
|
|
%pre |
153 |
|
|
|
154 |
|
|
%preun |
155 |
|
|
|
156 |
|
|
%post |
157 |
|
|
|
158 |
|
|
%postun |
159 |
|
|
|
160 |
|
|
%files -f %{name}-%{version}-filelist |
161 |
|
|
%defattr(-,root,root) |