/[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.22 - (show annotations) (download)
Mon Mar 25 15:25:50 2024 UTC (7 weeks, 3 days ago) by jpp
Branch: MAIN
CVS Tags: smeserver-roundcube-1_2-24_el7_sme, HEAD
Changes since 1.21: +9 -1 lines
* Mon Mar 25 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.2-24.sme
- fix temp event not ending because of interactive install of plugin [SME: 12530]
- stop altering php81 ini file [SME: 12529]
- workaround Composer could not detect the root package [SME: 12531]
- workaround roundcube/plugin-installer is also a root requirement [SME: 12532]

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

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