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

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

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

Revision 1.1 by brianr, Thu Apr 1 15:32:03 2021 UTC Revision 1.21 by jpp, Fri Mar 22 16:17:40 2024 UTC
# Line 1  Line 1 
1  %define name smeserver-roundcube  %define name smeserver-roundcube
2  %define version 1.2  %define version 1.2
3  %define release 9  %define release 23
4    
5  Summary: smserver rpm to setup roundcube, an IMAP mail client  Summary: smserver rpm to setup roundcube, an IMAP mail client
6  Name: %{name}  Name: %{name}
7  Version: %{version}  Version: %{version}
8  Release: %{release}%{?dist}  Release: %{release}%{?dist}
9  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
10    Source1: composer.phar
11  License: GNU GPL version 2  License: GNU GPL version 2
12  URL: http://www.contribs.org  URL: http://www.contribs.org
13  Group: SMEserver/addon  Group: SMEserver/addon
# Line 14  BuildRoot: %{_tmppath}/%{name}-buildroot Line 15  BuildRoot: %{_tmppath}/%{name}-buildroot
15  Prefix: %{_prefix}  Prefix: %{_prefix}
16  BuildArchitectures: noarch  BuildArchitectures: noarch
17  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
18  Requires: e-smith-release >= 9.0  Requires: e-smith-release >= 10.0
19  Requires: roundcubemail >= 1.1.3  Requires: e-smith-apache >= 2.6.0-19
20    Requires: roundcubemail >= 1.6
21  Requires: git  Requires: git
22  Requires: smeserver-dovecot-extras  Requires: smeserver-dovecot-extras
23  Requires: roundcubemail_plugins  Requires: jq
24    Requires: php-kolab-net-ldap3
25    #Requires: roundcubemail_plugins
26  Obsoletes: roundcube  Obsoletes: roundcube
27  AutoReqProv: no  AutoReqProv: no
28  Patch0: smeserver-roundcube-1.2.RemoveCalendar_Tasklist.patch  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    
37  %description  %description
38  smserver rpm to setup the roundcube IMAP mail client.  smeserver rpm to setup the roundcube IMAP mail client.
39    
40  %changelog  %changelog
41    * Fri Mar 22 2024 Jean-Philippe Pialasse <jpp@koozali.org> 1.2-23.sme
42    - fix roundcube unable to send mail after smeserver-qpsmtpd disabling auth on port 25
43    
44    * Sat Feb 24 2024 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-21.sme
45    - add nextcloud_attachements plugin support [SME: 12489]
46    - simplify access setting using access(private,public)/status [SME: 12263]
47    - Requires roundcube >= 1.6
48      up to php81,   add dedicated php pool
49      using update event to config plugins
50    
51    * Tue Oct 31 2023 Brian Read <brianr@koozali.org> 1.2-19.sme
52    - Update params for changes from v1.6 roundcube [SME: 12415]
53    
54    * Sun Dec 11 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-18.sme
55    - fix previous patch [SME: 11430]
56    
57    * Sat Dec 10 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-17.sme
58    - remove sieverules [SME: 11430]
59      change skin on availability for 1.6
60    
61    * Wed Dec 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-14.sme
62    - fix list of plugins and add composer [SME: 11430]
63      do not load in conf plugins without an actual folder.
64    
65    * Mon Aug 01 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-12.sme
66    - update to httpd 2.4 access syntax [SME: 12059]
67      thanks to Vasarhelyi Zsolt
68    - accept self signed certificates for imap and smtp [SME: 11430]
69    - Use of undefined constant, quote around module names [SME: 11430]
70    
71    * Mon Apr 05 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-11.sme
72    - Update spec file to take out plugin rpm [SME: 11430 ]
73    
74    * Sun Apr 04 2021 Brian Read <brianr@bjsystems.co.uk> 1.2-10.sme
75    - Add-update-event-in-createlinks-and-fix-smtp-port-in-config [SME: 11430]
76    
77  * Thu Mar 17 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-9.sme  * Thu Mar 17 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 1.2-9.sme
78  - Bump the version to force the composer update  - Bump the version to force the composer update
79    
# Line 76  smserver rpm to setup the roundcube IMAP Line 123  smserver rpm to setup the roundcube IMAP
123  * Sat May 10 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.1-1  * Sat May 10 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.1-1
124  - removed openbasedir and uploadtmpdir for roundcube compatibility  - removed openbasedir and uploadtmpdir for roundcube compatibility
125    
126  * Wed Apr 14 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.0-7  * Mon Apr 14 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.0-7
127      Wed Apr 14 2014 --> Wed Apr 09 2014 or Mon Apr 14 2014 or Wed Apr 16 2014 or ....
128  - removed the copymessage plugin activated  - removed the copymessage plugin activated
129    
130  * Wed Apr 02 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.0-6  * Wed Apr 02 2014 stephane de labrusse <stephdl@de-labrusse.fr> 1.0-6
# Line 92  smserver rpm to setup the roundcube IMAP Line 140  smserver rpm to setup the roundcube IMAP
140  * Wed Nov 6 2013 JP Pialasse <tests@pialasse.com> 0.9-17.sme  * Wed Nov 6 2013 JP Pialasse <tests@pialasse.com> 0.9-17.sme
141  - corrected bug: typo in patch1 [SME: 7981]  - corrected bug: typo in patch1 [SME: 7981]
142    
143  * Thu Nov 5 2013 JP Pialasse <tests@pialasse.com> 0.9-16.sme  * Tue Nov 05 2013 JP Pialasse <tests@pialasse.com> 0.9-16.sme
144      Thu Nov 05 2013 --> Thu Oct 31 2013 or Tue Nov 05 2013 or Thu Nov 07 2013 or ....
145  - corrected bug [SME: 7981]  - corrected bug [SME: 7981]
146  - moved out spec file sql init and other event and actions  - moved out spec file sql init and other event and actions
147    
# Line 102  smserver rpm to setup the roundcube IMAP Line 151  smserver rpm to setup the roundcube IMAP
151  * Sun Oct 20 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.14  * Sun Oct 20 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.14
152  - Change the original https_only  - Change the original https_only
153    
154  * Sat Oct 13 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.13  * Sun Oct 13 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.13
155      Sat Oct 13 2013 --> Sat Oct 12 2013 or Sun Oct 13 2013 or Sat Oct 19 2013 or ....
156  - Add the Kolab calendar plugin                     : http://git.kolab.org/roundcubemail-plugins-kolab/tree/plugins/calendar  - Add the Kolab calendar plugin                     : http://git.kolab.org/roundcubemail-plugins-kolab/tree/plugins/calendar
157  - Add the context menu for right click, very useful : http://www.tehinterweb.co.uk/roundcube/#picontextmenu  - Add the context menu for right click, very useful : http://www.tehinterweb.co.uk/roundcube/#picontextmenu
158  - Add the "Mark as Junk 2" to kick spam to junkmail : http://www.tehinterweb.co.uk/roundcube/#pimarkasjunk2  - Add the "Mark as Junk 2" to kick spam to junkmail : http://www.tehinterweb.co.uk/roundcube/#pimarkasjunk2
# Line 150  smserver rpm to setup the roundcube IMAP Line 200  smserver rpm to setup the roundcube IMAP
200  %prep  %prep
201  %setup  %setup
202  %patch0 -p1  %patch0 -p1
203    %patch1 -p1
204    %patch2 -p1
205    %patch3 -p1
206    %patch4 -p1
207    %patch5 -p1
208    %patch6 -p1
209    rm -rf root/etc/e-smith/templates/usr/share/roundcubemail/plugins/sieverules
210    mkdir -p root/usr/local/bin/
211    cp %{SOURCE1} root/usr/local/bin/composer
212    mkdir -p root/var/lib/php/roundcube/{session,tmp,opcache}
213    mkdir -p root/var/log/php/roundcube
214    %patch7 -p1
215    
216  %build  %build
217  perl createlinks  perl createlinks
# Line 159  perl createlinks Line 220  perl createlinks
220  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
221  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
222  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
223  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
224       --file /usr/local/bin/composer  'attr(0755,root,www)' \
225       --dir /var/log/php/roundcube  'attr(0755,www,www)' \
226       --dir /var/lib/php/roundcube  'attr(0755,www,www)' \
227       --dir /var/lib/php/roundcube/tmp 'attr(0755,www,www)' \
228       --dir /var/lib/php/roundcube/opcache 'attr(0755,www,www)' \
229       --dir /var/lib/php/roundcube/session 'attr(0755,www,www)' \
230      > %{name}-%{version}-filelist
231  echo "%doc COPYING"  >> %{name}-%{version}-filelist  echo "%doc COPYING"  >> %{name}-%{version}-filelist
232    
233  %clean  %clean
# Line 171  rm -rf %{name}-%{version} Line 239  rm -rf %{name}-%{version}
239    
240  %post  %post
241  #Update the plugins  #Update the plugins
242  echo ""  # now in smeserver-roundcube-update event
243  echo "Update the Roundcube Plugins, please wait"  #echo ""
244  echo ""  #echo "Update the Roundcube Plugins, please wait"
245  /usr/bin/rcplugin_update.sh  #echo ""
246  echo ""  #/usr/bin/rcplugin_update.sh
247    #echo ""
248    
249  %postun  %postun
250  #uninstall  #uninstall
251  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
252   /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf   /usr/bin/systemctl restart httpd-e-smith
  /usr/local/bin/svc -h /service/httpd-e-smith  
253  fi  fi
254    
255  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

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