/[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.7 by michel, Thu Jul 30 13:54:34 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 5
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    Patch3: smeserver-geneweb-2.1.0-locale-2020-07-30.patch
14    
15  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
16  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 23  This RPM must be installed after the gen Line 24  This RPM must be installed after the gen
24  to complete the integration for SME Server.  to complete the integration for SME Server.
25    
26  %changelog  %changelog
27    * Thu Jul 30 2020 SME Translation Server <translations@contribs.org> 2.1.0-5.sme
28    - apply locale 2020-07-30 patch
29    
30    * Sat Jul 11 2020 Michel Begue <mab974@gmail.com> 2.1.0-4.sme
31    - geneweb and gwsetup services thru proxypass [SME: 10930]
32    
33  * 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
34  - apply locale 2019-12-07 patch  - apply locale 2019-12-07 patch
35    
# Line 38  to complete the integration for SME Serv Line 45  to complete the integration for SME Serv
45  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
46    
47  %setup  %setup
48    # tmp fix before creating a new source archive 2.1.0-3
49    rm -f root/etc/e-smith/events/geneweb-modify/services2adjust/*
50  %patch1 -p1  %patch1 -p1
51  #%patch0 -p1  %patch2 -p1
52    %patch3 -p1
53    
54  %build  %build
55  perl createlinks  perl createlinks
# Line 60  echo "%doc COPYING" >> %{name}-%{version Line 70  echo "%doc COPYING" >> %{name}-%{version
70  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
71    
72  %defattr(-,root,root)  %defattr(-,root,root)
73    %attr(755, root, root) /var/service/geneweb/log/run
74    %attr(755, root, root) /var/service/gwsetup/log/run
75    
76    
77  %clean  %clean
78  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
# Line 67  rm -rf $RPM_BUILD_ROOT Line 80  rm -rf $RPM_BUILD_ROOT
80  %pre  %pre
81    
82  %post  %post
83  ln -s /etc/rc.d/init.d/geneweb /etc/rc.d/rc7.d/S99geneweb  ln -s /var/service/geneweb /service/geneweb
84    touch /var/service/geneweb/down
85    ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/geneweb
86    ##ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S98geneweb
87    mkdir -p /var/log/geneweb
88    chown smelog:smelog /var/log/geneweb
89    ln -s /var/service/gwsetup /service/gwsetup
90    touch /var/service/gwsetup/down
91    ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/gwsetup
92    ##ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S98gwsetup
93    mkdir -p /var/log/gwsetup
94    chown smelog:smelog /var/log/gwsetup
95    
96  %preun  %preun
97  /sbin/e-smith/db configuration setprop geneweb status disabled  /sbin/e-smith/db configuration setprop geneweb status disabled
98  /etc/rc.d/init.d/gwd stop  /sbin/e-smith/db configuration setprop gwsetup status disabled
99    #/etc/rc.d/init.d/geneweb stop
100    #/etc/rc.d/init.d/gwsetup stop
101    /usr/bin/sv stop geneweb
102    /usr/bin/sv stop gwsetup
103    
104  %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