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

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

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

Revision 1.1 by unnilennium, Sun Oct 27 17:48:17 2013 UTC Revision 1.5 by unnilennium, Mon Nov 25 18:54:33 2013 UTC
# Line 1  Line 1 
1  %define name smeserver-roundcube  %define name smeserver-roundcube
2  %define version 0.9  %define version 0.9
3  %define release 15  %define release 19
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}
# Line 12  Patch1: smeserver-roundcube-0.9-tmp_fold Line 12  Patch1: smeserver-roundcube-0.9-tmp_fold
12  Patch2: smeserver-roundcube-0.9-LdapAdressbooks.patch  Patch2: smeserver-roundcube-0.9-LdapAdressbooks.patch
13  Patch3: smeserver-roundcube-0.9-calendar-junk-contextmenu.patch  Patch3: smeserver-roundcube-0.9-calendar-junk-contextmenu.patch
14  Patch4: smeserver-roundcube-0.9-force-https.patch  Patch4: smeserver-roundcube-0.9-force-https.patch
15    Patch5: smeserver-roundcube-0.9-patch1.patch
16    Patch6: smeserver-roundcube-0.9-patch6.patch
17    Patch7:  smeserver-roundcube-0.9-tasklist.patch
18  License: GNU GPL version 2  License: GNU GPL version 2
19  URL: http://www.dungog.net/sme  URL: http://www.dungog.net/sme
20  Group: SMEserver/addon  Group: SMEserver/addon
# Line 27  AutoReqProv: no Line 30  AutoReqProv: no
30  smserver rpm to setup the roundcube IMAP mail client.  smserver rpm to setup the roundcube IMAP mail client.
31    
32  %changelog  %changelog
33    * Sun Nov 24 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.19.sme
34    - Add Tasklisk from kolab plugin
35    
36    * Sun Nov 10 2013 JP Pialasse <tests@pialasse.com> 0.9-18.sme
37    - cleaning build section [SME: 7981]
38    
39    * Wed Nov 6 2013 JP Pialasse <tests@pialasse.com> 0.9-17.sme
40    - corrected bug: typo in patch1 [SME: 7981]
41    
42    * Thu Nov 5 2013 JP Pialasse <tests@pialasse.com> 0.9-16.sme
43    - corrected bug [SME: 7981]
44    - moved out spec file sql init and other event and actions
45    
46  * Sat Oct 26 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.15  * Sat Oct 26 2013 stephane de labrusse <stephdl@de-labrusse.fr> 0.9.15
47  - Change the version of roundcubemail-plugins-kolab to 3.02 : http://git.kolab.org/roundcubemail-plugins-kolab/  - Change the version of roundcubemail-plugins-kolab to 3.02 : http://git.kolab.org/roundcubemail-plugins-kolab/
48    
# Line 85  smserver rpm to setup the roundcube IMAP Line 101  smserver rpm to setup the roundcube IMAP
101  %patch2 -p1  %patch2 -p1
102  %patch3 -p1  %patch3 -p1
103  %patch4 -p1  %patch4 -p1
104    %patch5 -p1
105    %patch6 -p1
106    %patch7 -p1
107    
108  %build  %build
109  #perl createlinks  perl createlinks
 mkdir -p          root/etc/e-smith/db/accounts/defaults/roundcube  
 echo "reserved" > root/etc/e-smith/db/accounts/defaults/roundcube/type  
   
 mkdir -p                       root/etc/e-smith/db/configuration/defaults/roundcube  
 echo "RoundCube IMAP Client" > root/etc/e-smith/db/configuration/defaults/roundcube/Name  
 echo "global" >      root/etc/e-smith/db/configuration/defaults/roundcube/PublicAccess  
 echo "enabled" >               root/etc/e-smith/db/configuration/defaults/roundcube/status  
 echo "roundcube" >             root/etc/e-smith/db/configuration/defaults/roundcube/DbName  
 echo "roundcube" >             root/etc/e-smith/db/configuration/defaults/roundcube/DbUser  
110    
111  %install  %install
112  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 113  rm -rf %{name}-%{version} Line 123  rm -rf %{name}-%{version}
123  %preun  %preun
124    
125  %post  %post
126  /etc/e-smith/events/actions/initialize-default-databases  
 /sbin/e-smith/expand-template /etc/e-smith/sql/init/80roundcube  
 /etc/rc.d/init.d/mysql.init start  
 /sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf  
 /sbin/e-smith/expand-template /opt/roundcube/config/db.inc.php  
 /sbin/e-smith/expand-template /opt/roundcube/config/main.inc.php  
 /usr/local/bin/svc -h /service/httpd-e-smith  
 #load the mysql Table of plugins  
 /usr/bin/mysql roundcube < /opt/roundcube/plugins/carddav/dbinit/mysql.sql  
 /usr/bin/mysql roundcube < /opt/roundcube/plugins/calendar/drivers/database/sql/mysql.sql  
 /usr/bin/mysql roundcube < /opt/roundcube/plugins/calendar/drivers/kolab/SQL/mysql.sql  
   
 #show the "config show roundcube"  
 echo ""  
 echo "see http://wiki.contribs.org/RoundCube"  
 echo "current settings 'config show roundcube'..."  
 /sbin/e-smith/config show roundcube  
127    
128  %postun  %postun
129  #uninstall  #uninstall


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