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