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