/[smecontribs]/rpms/smeserver-geneweb/contribs9/smeserver-geneweb.spec
ViewVC logotype

Diff of /rpms/smeserver-geneweb/contribs9/smeserver-geneweb.spec

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

Revision 1.1 by michel, Wed Apr 3 13:37:38 2019 UTC Revision 1.2 by michel, Wed Apr 3 19:01:31 2019 UTC
# Line 1  Line 1 
1  Summary: Package to integrate GeneWeb (V5) into SME Server  Summary: Package to integrate GeneWeb (V6) into SME Server
2  %define name smeserver-geneweb  %define name smeserver-geneweb
3  Name: %{name}  Name: %{name}
4  %define version 2.1  %define version 2.1
# Line 27  to complete the integration for SME Serv Line 27  to complete the integration for SME Serv
27  - geneweb service not started [SME: 6371]  - geneweb service not started [SME: 6371]
28  - Add "Base directory" input in panel console.  - Add "Base directory" input in panel console.
29  - perms corrected in templates.metadata  - perms corrected in templates.metadata
30    - normalize template et .spec
31    
32  * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0-26.sme  * Wed Mar 09 2016 JP Pialasse <tests@pialasse.com> 2.0-26.sme
33  - apply locale 2016-03-09 patch  - apply locale 2016-03-09 patch
# Line 107  rm -rf $RPM_BUILD_ROOT Line 108  rm -rf $RPM_BUILD_ROOT
108  %setup  %setup
109  %patch1 -p1  %patch1 -p1
110    
   
111  %build  %build
112  perl createlinks  perl createlinks
 DEFAULTS=root/etc/e-smith/db/configuration/defaults/geneweb  
 mkdir -p $DEFAULTS  
 echo "service" > $DEFAULTS/type  
 echo "disabled" > $DEFAULTS/status  
 echo "127.0.0.1" >$DEFAULTS/only  
113    
114  LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )  LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
115  for lexicon in $LEXICONS  for lexicon in $LEXICONS
# Line 139  rm -rf $RPM_BUILD_ROOT Line 134  rm -rf $RPM_BUILD_ROOT
134  %pre  %pre
135    
136  %post  %post
137  /etc/e-smith/events/actions/navigation-conf  ln -s /etc/rc.d/init.d/geneweb /etc/rc.d/rc7.d/S99geneweb
 #/etc/e-smith/events/actions/initialize-default-databases  
 #mkdir -p /etc/e-smith/templates/etc/rc.d/init.d/masq  
 #/bin/chmod 644 /etc/e-smith/templates/etc/rc.d/init.d/masq/45AllowGeneWeb  
 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq  
 #/etc/rc.d/init.d/masq restart  
 true  
138    
139  %preun  %preun
140  /sbin/e-smith/db configuration setprop geneweb status disabled  /sbin/e-smith/db configuration setprop geneweb status disabled
141  /etc/rc.d/init.d/gwd stop  /etc/rc.d/init.d/gwd stop
 true  
142    
143  %postun  %postun
144  /sbin/e-smith/expand-template /etc/rc.d/init.d/masq  /sbin/e-smith/expand-template /etc/rc.d/init.d/masq


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