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