/[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.4 by unnilennium, Sun Nov 10 15:04:09 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 18
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  License: GNU GPL version 2  License: GNU GPL version 2
18  URL: http://www.dungog.net/sme  URL: http://www.dungog.net/sme
19  Group: SMEserver/addon  Group: SMEserver/addon
# Line 27  AutoReqProv: no Line 29  AutoReqProv: no
29  smserver rpm to setup the roundcube IMAP mail client.  smserver rpm to setup the roundcube IMAP mail client.
30    
31  %changelog  %changelog
32    * Sun Nov 10 2013 JP Pialasse <tests@pialasse.com> 0.9-18.sme
33    - cleaning build section [SME: 7981]
34    
35    * Wed Nov 6 2013 JP Pialasse <tests@pialasse.com> 0.9-17.sme
36    - corrected bug: typo in patch1 [SME: 7981]
37    
38    * Thu Nov 5 2013 JP Pialasse <tests@pialasse.com> 0.9-16.sme
39    - corrected bug [SME: 7981]
40    - moved out spec file sql init and other event and actions
41    
42  * 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
43  - 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/
44    
# Line 85  smserver rpm to setup the roundcube IMAP Line 97  smserver rpm to setup the roundcube IMAP
97  %patch2 -p1  %patch2 -p1
98  %patch3 -p1  %patch3 -p1
99  %patch4 -p1  %patch4 -p1
100    %patch5 -p1
101    %patch6 -p1
102    
103    
104  %build  %build
105  #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  
106    
107  %install  %install
108  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 113  rm -rf %{name}-%{version} Line 119  rm -rf %{name}-%{version}
119  %preun  %preun
120    
121  %post  %post
122  /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  
123    
124  %postun  %postun
125  #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