/[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.9 by jpp, Wed Dec 7 20:26:55 2022 UTC Revision 1.22 by jpp, Mon Mar 25 15:25:50 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 13  %define release 24
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 16  BuildArchitectures: noarch Line 17  BuildArchitectures: noarch
17  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
18  Requires: e-smith-release >= 10.0  Requires: e-smith-release >= 10.0
19  Requires: e-smith-apache >= 2.6.0-19  Requires: e-smith-apache >= 2.6.0-19
20  Requires: roundcubemail >= 1.1.3  Requires: roundcubemail >= 1.6
21  Requires: git  Requires: git
22  Requires: smeserver-dovecot-extras  Requires: smeserver-dovecot-extras
23    Requires: jq
24    Requires: php-kolab-net-ldap3
25  #Requires: roundcubemail_plugins  #Requires: roundcubemail_plugins
26  Obsoletes: roundcube  Obsoletes: roundcube
27  AutoReqProv: no  AutoReqProv: no
# Line 27  Patch1: smeserver-roundcube-1.2-Add-upda Line 30  Patch1: smeserver-roundcube-1.2-Add-upda
30  Patch2:  smeserver-roundcube-1.2-bz12059-24syntax.patch  Patch2:  smeserver-roundcube-1.2-bz12059-24syntax.patch
31  Patch3: smeserver-roundcube-1.2-bz11430-login.patch  Patch3: smeserver-roundcube-1.2-bz11430-login.patch
32  Patch4: smeserver-roundcube-1.2-bz11430-plugins.patch  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  %description
39  smserver rpm to setup the roundcube IMAP mail client.  smeserver rpm to setup the roundcube IMAP mail client.
40    
41  %changelog  %changelog
42  * Wed Dec 07 2022 Jean-Philippe Pialasse <tests@pialasse.com> 1.2-13.sme  * 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]  - fix list of plugins and add composer [SME: 11430]
70    do not load in conf plugins without an actual folder.    do not load in conf plugins without an actual folder.
71    
# Line 178  smserver rpm to setup the roundcube IMAP Line 211  smserver rpm to setup the roundcube IMAP
211  %patch2 -p1  %patch2 -p1
212  %patch3 -p1  %patch3 -p1
213  %patch4 -p1  %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  %build
225  perl createlinks  perl createlinks
# Line 187  rm -rf $RPM_BUILD_ROOT Line 229  rm -rf $RPM_BUILD_ROOT
229  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)  (cd root   ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
230  rm -f %{name}-%{version}-filelist  rm -f %{name}-%{version}-filelist
231  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \  /sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
232    --ignoredir /usr/share/roundcubemail \     --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    > %{name}-%{version}-filelist
239  echo "%doc COPYING"  >> %{name}-%{version}-filelist  echo "%doc COPYING"  >> %{name}-%{version}-filelist
240    
# Line 200  rm -rf %{name}-%{version} Line 247  rm -rf %{name}-%{version}
247    
248  %post  %post
249  #Update the plugins  #Update the plugins
250  echo ""  # now in smeserver-roundcube-update event
251  echo "Update the Roundcube Plugins, please wait"  #echo ""
252  echo ""  #echo "Update the Roundcube Plugins, please wait"
253  /usr/bin/rcplugin_update.sh  #echo ""
254  echo ""  #/usr/bin/rcplugin_update.sh
255    #echo ""
256    
257  %postun  %postun
258  #uninstall  #uninstall
259  if [ $1 = 0 ] ; then  if [ $1 = 0 ] ; then
260   /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  
261  fi  fi
262    
263  %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