/[smecontribs]/rpms/smeserver-roundcube/contribs10/smeserver-roundcube.spec
ViewVC logotype

Contents of /rpms/smeserver-roundcube/contribs10/smeserver-roundcube.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.19 - (show annotations) (download)
Sun Feb 25 20:35:03 2024 UTC (8 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-roundcube-1_2-21_el7_sme
Changes since 1.18: +1 -0 lines
* Sat Feb 24 2024 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-21.sme
- add nextcloud_attachements plugin support [SME: 12489]
- simplify access setting using access(private,public)/status [SME: 12263]
- Requires roundcube >= 1.6
  up to php81,   add dedicated php pool
  using update event to config plugins

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed