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