1 |
%define name smeserver-roundcube |
2 |
%define version 1.2 |
3 |
%define release 13 |
4 |
|
5 |
Summary: smserver rpm to setup roundcube, an IMAP mail client |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
9 |
Source: %{name}-%{version}.tar.gz |
10 |
License: GNU GPL version 2 |
11 |
URL: http://www.contribs.org |
12 |
Group: SMEserver/addon |
13 |
BuildRoot: %{_tmppath}/%{name}-buildroot |
14 |
Prefix: %{_prefix} |
15 |
BuildArchitectures: noarch |
16 |
BuildRequires: e-smith-devtools |
17 |
Requires: e-smith-release >= 10.0 |
18 |
Requires: e-smith-apache >= 2.6.0-19 |
19 |
Requires: roundcubemail >= 1.1.3 |
20 |
Requires: git |
21 |
Requires: smeserver-dovecot-extras |
22 |
#Requires: roundcubemail_plugins |
23 |
Obsoletes: roundcube |
24 |
AutoReqProv: no |
25 |
Patch0: smeserver-roundcube-1.2.RemoveCalendar_Tasklist.patch |
26 |
Patch1: smeserver-roundcube-1.2-Add-update-event-in-createlinks-and-fix-smtp-port-in-config.patch |
27 |
Patch2: smeserver-roundcube-1.2-bz12059-24syntax.patch |
28 |
Patch3: smeserver-roundcube-1.2-bz11430-login.patch |
29 |
Patch4: smeserver-roundcube-1.2-bz11430-plugins.patch |
30 |
|
31 |
%description |
32 |
smserver rpm to setup the roundcube IMAP mail client. |
33 |
|
34 |
%changelog |
35 |
* Wed Dec 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-13.sme |
36 |
- fix list of plugins and add composer [SME: 11430] |
37 |
do not load in conf plugins without an actual folder. |
38 |
|
39 |
* Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-12.sme |
40 |
- update to httpd 2.4 access syntax [SME: 12059] |
41 |
thanks to Vasarhelyi Zsolt |
42 |
- accept self signed certificates for imap and smtp [SME: 11430] |
43 |
- Use of undefined constant, quote around module names [SME: 11430] |
44 |
|
45 |
* Mon Apr 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-11.sme |
46 |
- Update spec file to take out plugin rpm [SME: 11430 ] |
47 |
|
48 |
* Sun Apr 04 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-10.sme |
49 |
- Add-update-event-in-createlinks-and-fix-smtp-port-in-config [SME: 11430] |
50 |
|
51 |
* Thu Mar 17 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-9.sme |
52 |
- Bump the version to force the composer update |
53 |
|
54 |
* Mon Sep 21 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-8.sme |
55 |
- libcalendaring calendar and tasklist are no more in the contribs |
56 |
|
57 |
* Wed Sep 02 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-6.sme |
58 |
- Initial release to contribs9 |
59 |
|
60 |
* Thu Apr 16 2015 stephane de labrusse <stephdl@de-labrusse.fr> 1.2-5 |
61 |
- managesieve is no more used, I prefer to use sieverules (only for new installation) |
62 |
|
63 |
* Thu Apr 16 2015 stephane de labrusse <stephdl@de-labrusse.fr> 1.2-4 |
64 |
- Carddav is a hugly plugin, it is now removed |
65 |
- Added a migrate fragment to remove it from DB |
66 |
|
67 |
* Sun Feb 22 2015 stephane de labrusse <stephdl@de-labrusse.fr> 1.2-3 |
68 |
- Added sieverules plugins |
69 |
- Added a link for kolab-LDAP3 |
70 |
|
71 |
* Thu Feb 12 2015 stephane de labrusse <stephdl@de-labrusse.fr> 1.2-2 |
72 |
- Add a migrate fragment if the dns of the main domain is set to external |
73 |
- Plugins are updated by the %post section |
74 |
- Communication beetween roundcube and imap are ssl based |
75 |
- Password and login fields are saved, a random key encrypt them in cookies |
76 |
- the installer folder is forbidden by apache and by configuration file |
77 |
- The configuration is now templated in serveral files |
78 |
|
79 |
* Wed Feb 11 2015 stephane de labrusse <stephdl@de-labrusse.fr> 1.2-1 |
80 |
- Switch to roundcubemail from Epel. |
81 |
|
82 |
* Sun Nov 30 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.1-5 |
83 |
- code developed by Mats Schuh <m.schuh@neckargeo.net> |
84 |
- split the config.inc.php; now the sieve vacation gets its own template |
85 |
|
86 |
* Fri Nov 28 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.1-4 |
87 |
- code developed by Mats Schuh <m.schuh@neckargeo.net> |
88 |
- Add a template in /opt/roundcube/plugins/managesieve/config.inc.php |
89 |
- Allow managesieve following the status of sieve. |
90 |
|
91 |
* Fri Sep 05 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.1-3 |
92 |
- added a template in httpd.conf to forbid to browse /tmp /config /logs |
93 |
|
94 |
* Sun May 11 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.1-2 |
95 |
- adapted /etc/e-smith/sql/init/80roundcube for mysql tasklists Table |
96 |
|
97 |
* Sat May 10 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.1-1 |
98 |
- removed openbasedir and uploadtmpdir for roundcube compatibility |
99 |
|
100 |
* Wed Apr 14 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.0-7 |
101 |
- removed the copymessage plugin activated |
102 |
|
103 |
* Wed Apr 02 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.0-6 |
104 |
- corrected issue with the tasklists db issue |
105 |
- added auto-update for composer in the script rcplugin_update.sh |
106 |
|
107 |
* Sat Feb 15 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.0-5 |
108 |
- adapted to the upstream update eg roundcube 1.0 |
109 |
|
110 |
* Sun Nov 10 2013 JP Pialasse <tests@pialasse.com> 0.9-18.sme |
111 |
- cleaning build section [SME: 7981] |
112 |
|
113 |
* Wed Nov 6 2013 JP Pialasse <tests@pialasse.com> 0.9-17.sme |
114 |
- corrected bug: typo in patch1 [SME: 7981] |
115 |
|
116 |
* Thu Nov 5 2013 JP Pialasse <tests@pialasse.com> 0.9-16.sme |
117 |
- corrected bug [SME: 7981] |
118 |
- moved out spec file sql init and other event and actions |
119 |
|
120 |
* Sat Oct 26 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.15 |
121 |
- Change the version of roundcubemail-plugins-kolab to 3.02 : http://git.kolab.org/roundcubemail-plugins-kolab/ |
122 |
|
123 |
* Sun Oct 20 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.14 |
124 |
- Change the original https_only |
125 |
|
126 |
* Sat Oct 13 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.13 |
127 |
- Add the Kolab calendar plugin : http://git.kolab.org/roundcubemail-plugins-kolab/tree/plugins/calendar |
128 |
- Add the context menu for right click, very useful : http://www.tehinterweb.co.uk/roundcube/#picontextmenu |
129 |
- Add the "Mark as Junk 2" to kick spam to junkmail : http://www.tehinterweb.co.uk/roundcube/#pimarkasjunk2 |
130 |
|
131 |
* Sat Oct 5 2013 stephane de Labrusse <stephdl@de-labrusse.fr> 0.9.12 |
132 |
- Add the SME Server internal LDAP addressbooks in roundcube |
133 |
|
134 |
* Sat Sep 21 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.9.11 |
135 |
- Add carddav functionnality http://www.crash-override.net/carddav.html |
136 |
|
137 |
* Wed Jun 05 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> 0.9.9 |
138 |
- add a tmp folder in httpd.conf |
139 |
* Mon Jun 03 2013 Stephane de Labrusse <stephdl@de-labrusse.fr> |
140 |
- requires sme8 0.9-8 |
141 |
|
142 |
* Thu Jun 28 2007 Stephen Noble <stephen@dungog.net> |
143 |
- add domain property to use existing host or domain 0.9-7 |
144 |
|
145 |
* Thu Jun 21 2007 Stephen Noble <stephen@dungog.net> |
146 |
- update .spec file 0.9-6 |
147 |
|
148 |
* Thu Jun 21 2007 Stephen Noble <stephen@dungog.net> |
149 |
- automate config file creation |
150 |
- proxypass to fix https redirect bug |
151 |
- [0.9-5] |
152 |
|
153 |
* Fri Apr 6 2007 Stephen Noble <stephen@dungog.net> |
154 |
- revert mysql password creation |
155 |
- [0.9-4] |
156 |
|
157 |
* Wed Feb 14 2007 Stephen Noble <stephen@dungog.net> |
158 |
- remove phpinfo |
159 |
- simplify mysql password creation |
160 |
- don't alias / in httpd for nul values in URL |
161 |
- [0.9-3] |
162 |
|
163 |
* Thu Dec 14 2006 Stephen Noble <support@dungog.net> |
164 |
- php_admin_value eaccelerator enabled |
165 |
- [0.9-2] |
166 |
|
167 |
* Tue Dec 12 2006 Stephen Noble <support@dungog.net> |
168 |
- initial release |
169 |
- [0.9-1] |
170 |
|
171 |
%prep |
172 |
%setup |
173 |
%patch0 -p1 |
174 |
%patch1 -p1 |
175 |
%patch2 -p1 |
176 |
%patch3 -p1 |
177 |
%patch4 -p1 |
178 |
|
179 |
%build |
180 |
perl createlinks |
181 |
|
182 |
%install |
183 |
rm -rf $RPM_BUILD_ROOT |
184 |
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
185 |
rm -f %{name}-%{version}-filelist |
186 |
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ |
187 |
--exclude-dir /usr/share/roundcubemail \ |
188 |
> %{name}-%{version}-filelist |
189 |
echo "%doc COPYING" >> %{name}-%{version}-filelist |
190 |
|
191 |
%clean |
192 |
cd .. |
193 |
rm -rf %{name}-%{version} |
194 |
|
195 |
%pre |
196 |
%preun |
197 |
|
198 |
%post |
199 |
#Update the plugins |
200 |
echo "" |
201 |
echo "Update the Roundcube Plugins, please wait" |
202 |
echo "" |
203 |
/usr/bin/rcplugin_update.sh |
204 |
echo "" |
205 |
|
206 |
%postun |
207 |
#uninstall |
208 |
if [ $1 = 0 ] ; then |
209 |
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf |
210 |
/usr/local/bin/svc -h /service/httpd-e-smith |
211 |
fi |
212 |
|
213 |
%files -f %{name}-%{version}-filelist |
214 |
%defattr(-,root,root) |
215 |
%attr(755,root,root) /usr/bin/rcplugin_update.sh |