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