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