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