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

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

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

Revision 1.1 by michel, Thu Nov 5 17:12:04 2020 UTC Revision 1.3 by michel, Tue Mar 23 19:13:58 2021 UTC
# Line 1  Line 1 
1  Summary: Package to integrate GeneWeb (V6) into SME Server  Summary: Package to integrate GeneWeb (V6) into SME Server
2    
3  %define name smeserver-geneweb  %define name smeserver-geneweb
4  Name: %{name}  Name: %{name}
5  %define version 2.3.0  %define version 2.3.0
6  %define release 1  %define release 3
7  Version: %{version}  Version: %{version}
8  Release: %{release}%{?dist}  Release: %{release}%{?dist}
9  License: GPL  License: GPL
10  Group: Applications/Internet  Group: Applications/Internet
11  Source: %{name}-%{version}.tar.xz  Source: %{name}-%{version}.tar.xz
12  #Patch0: %{name}-%{version}-init_v10.patch  Patch0: %{name}-%{version}-init_v10_systemd.patch
13    Patch1: %{name}-%{version}-to_smanager.patch
14    Patch2: %{name}-%{version}-TcpPort.patch
15    
16  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot  BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
17  BuildArchitectures: noarch  BuildArchitectures: noarch
# Line 16  Requires: geneweb >= 6.08 Line 19  Requires: geneweb >= 6.08
19  Requires: smeserver-release >= 10.0  Requires: smeserver-release >= 10.0
20  Requires: e-smith-formmagick >= 2.4.0-1  Requires: e-smith-formmagick >= 2.4.0-1
21  BuildRequires: e-smith-devtools  BuildRequires: e-smith-devtools
22    AutoReqProv: no
23    
24  %description  %description
25  This RPM must be installed after the geneweb*.el6.sme package  This RPM must be installed after the geneweb package
26  to complete the integration for SME Server.  to complete the integration for SME Server.
27    
 %changelog  
 * Thu Nov 05 2020 Michel Begue <mab974@gmail.com> 2.3.0-1.sme  
 - first import to sme 10 for geneweb v6.08  
   
 * Thu Jul 30 2020 SME Translation Server <translations@contribs.org> 2.1.0-5.sme  
 - apply locale 2020-07-30 patch  
   
 * Sat Jul 11 2020 Michel Begue <mab974@gmail.com> 2.1.0-4.sme  
 - geneweb and gwsetup services thru proxypass [SME: 10930]  
   
 * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1.0-2.sme  
 - apply locale 2019-12-07 patch  
   
 * Wed Apr 03 2019 Michel Begue <mab974@gmail.com> 2.1-1.sme  
 - first import in sme9 for geneweb v6.08  
 - geneweb service not started [SME: 6371]  
 - Add "Base directory" input in panel console.  
 - perms corrected in templates.metadata  
 - normalize template and .spec  
28    
29  %prep  %prep
30    
31  rm -rf $RPM_BUILD_ROOT  rm -rf $RPM_BUILD_ROOT
32    
33  %setup  %setup
34  #%patch0 -p1  %patch0 -p1
35    %patch1 -p1
36    %patch2 -p1
37    
38  %build  %build
39  perl createlinks  perl createlinks
# Line 67  echo "%doc COPYING" >> %{name}-%{version Line 54  echo "%doc COPYING" >> %{name}-%{version
54  %files -f %{name}-%{version}-filelist  %files -f %{name}-%{version}-filelist
55    
56  %defattr(-,root,root)  %defattr(-,root,root)
57  %attr(755, root, root) /var/service/geneweb/log/run  %attr(755, root, root) /usr/lib/systemd/systemd-geneweb
58  %attr(755, root, root) /var/service/gwsetup/log/run  %attr(755, root, root) /usr/lib/systemd/systemd-gwsetup
59    
60    
61  %clean  %clean
# Line 77  rm -rf $RPM_BUILD_ROOT Line 64  rm -rf $RPM_BUILD_ROOT
64  %pre  %pre
65    
66  %post  %post
 ln -s /var/service/geneweb /service/geneweb  
 touch /var/service/geneweb/down  
 ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/geneweb  
 ##ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S98geneweb  
67  mkdir -p /var/log/geneweb  mkdir -p /var/log/geneweb
68  chown smelog:smelog /var/log/geneweb  chown geneweb:geneweb /var/log/geneweb
 ln -s /var/service/gwsetup /service/gwsetup  
 touch /var/service/gwsetup/down  
 ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/gwsetup  
 ##ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S98gwsetup  
69  mkdir -p /var/log/gwsetup  mkdir -p /var/log/gwsetup
70  chown smelog:smelog /var/log/gwsetup  chown geneweb:geneweb /var/log/gwsetup
71    
72  %preun  %preun
73  /sbin/e-smith/db configuration setprop geneweb status disabled  /sbin/e-smith/db configuration setprop geneweb status disabled
74  /sbin/e-smith/db configuration setprop gwsetup status disabled  /sbin/e-smith/db configuration setprop gwsetup status disabled
75  #/etc/rc.d/init.d/geneweb stop  /usr/bin/systemctl stop geneweb gwsetup
 #/etc/rc.d/init.d/gwsetup stop  
 /usr/bin/sv stop geneweb  
 /usr/bin/sv stop gwsetup  
76    
77  %postun  %postun
78    
79    %changelog
80    * Tue Mar 23 2021 Michel Begue <mab974@gmail.com> 2.3.0-3.sme
81    - change TCPPort attributes to avoid filtering effect [SME: 10930]
82    - move changelog to the bottom of spec
83    - readd changelog from contribs9
84    
85    * Mon Mar 15 2021 Michel Begue <mab974@gmail.com> 2.3.0-2.sme
86    - change geneweb & gwsetup to systemd services
87    - add smeserver-geneweb-update event
88    - add template and controller for smanager
89    
90    * Thu Nov 05 2020 Michel Begue <mab974@gmail.com> 2.3.0-1.sme
91    - first import to sme 10 for geneweb v6.08
92    
93    * Thu Jul 30 2020 SME Translation Server <translations@contribs.org> 2.1.0-5.sme
94    - apply locale 2020-07-30 patch
95    
96    * Sat Jul 11 2020 Michel Begue <mab974@gmail.com> 2.1.0-4.sme
97    - geneweb and gwsetup services thru proxypass [SME: 10930]
98    
99    * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1.0-2.sme
100    - apply locale 2019-12-07 patch
101    
102    * Wed Apr 03 2019 Michel Begue <mab974@gmail.com> 2.1-1.sme
103    - first import in sme9 for geneweb v6.08
104    - geneweb service not started [SME: 6371]
105    - Add "Base directory" input in panel console.
106    - perms corrected in templates.metadata
107    - normalize template and .spec


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