/[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.4 by jpp, Sat Dec 7 04:04:25 2019 UTC Revision 1.5 by michel, Tue Jul 14 18:57:38 2020 UTC
# Line 2  Summary: Package to integrate GeneWeb (V Line 2  Summary: Package to integrate GeneWeb (V
2  %define name smeserver-geneweb  %define name smeserver-geneweb
3  Name: %{name}  Name: %{name}
4  %define version 2.1.0  %define version 2.1.0
5  %define release 2  %define release 3
6  Version: %{version}  Version: %{version}
7  Release: %{release}%{?dist}  Release: %{release}%{?dist}
8  License: GPL  License: GPL
9  Group: Applications/Internet  Group: Applications/Internet
10  Source: %{name}-%{version}.tar.gz  Source: %{name}-%{version}.tar.gz
11  Patch1: smeserver-geneweb-2.1.0-locale-2019-12-07.patch  Patch1: smeserver-geneweb-2.1.0-locale-2019-12-07.patch
12  #Patch0: smeserver-geneweb-2.1.0-init.patch  Patch2: smeserver-geneweb-2.1.0-proxypass_services.patch
13    
14  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
15  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 23  This RPM must be installed after the gen Line 23  This RPM must be installed after the gen
23  to complete the integration for SME Server.  to complete the integration for SME Server.
24    
25  %changelog  %changelog
26    * Sat Jul 11 2020 Michel Begue <mab974@gmail.com> 2.1.0-3.sme
27    - geneweb and gwsetup services thru proxypass [SME: 10930]
28    
29  * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1.0-2.sme  * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1.0-2.sme
30  - apply locale 2019-12-07 patch  - apply locale 2019-12-07 patch
31    
# Line 38  to complete the integration for SME Serv Line 41  to complete the integration for SME Serv
41  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
42    
43  %setup  %setup
44    # tmp fix before creating a new source archive 2.1.0-3
45    rm -f root/etc/e-smith/events/geneweb-modify/services2adjust/*
46  %patch1 -p1  %patch1 -p1
47  #%patch0 -p1  %patch2 -p1
48    
49  %build  %build
50  perl createlinks  perl createlinks
# Line 60  echo "%doc COPYING" >> %{name}-%{version Line 65  echo "%doc COPYING" >> %{name}-%{version
65  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
66    
67  %defattr(-,root,root)  %defattr(-,root,root)
68    %attr(755, root, root) /var/service/geneweb/log/run
69    %attr(755, root, root) /var/service/gwsetup/log/run
70    
71    
72  %clean  %clean
73  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 67  rm -rf $RPM_BUILD_ROOT Line 75  rm -rf $RPM_BUILD_ROOT
75  %pre  %pre
76    
77  %post  %post
78  ln -s /etc/rc.d/init.d/geneweb /etc/rc.d/rc7.d/S99geneweb  ln -s /var/service/geneweb /service/geneweb
79    touch /var/service/geneweb/down
80    ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/geneweb
81    ##ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S98geneweb
82    mkdir -p /var/log/geneweb
83    chown smelog:smelog /var/log/geneweb
84    ln -s /var/service/gwsetup /service/gwsetup
85    touch /var/service/gwsetup/down
86    ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/gwsetup
87    ##ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S98gwsetup
88    mkdir -p /var/log/gwsetup
89    chown smelog:smelog /var/log/gwsetup
90    
91  %preun  %preun
92  /sbin/e-smith/db configuration setprop geneweb status disabled  /sbin/e-smith/db configuration setprop geneweb status disabled
93  /etc/rc.d/init.d/gwd stop  /sbin/e-smith/db configuration setprop gwsetup status disabled
94    #/etc/rc.d/init.d/geneweb stop
95    #/etc/rc.d/init.d/gwsetup stop
96    /usr/bin/sv stop geneweb
97    /usr/bin/sv stop gwsetup
98    
99  %postun  %postun
 /sbin/e-smith/expand-template /etc/rc.d/init.d/masq  
 #/etc/rc.d/init.d/masq restart  


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