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

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

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


Revision 1.1 - (hide annotations) (download)
Thu Nov 5 17:12:04 2020 UTC (3 years, 11 months ago) by michel
Branch: MAIN
CVS Tags: smeserver-geneweb-2_3_0-1_el7_sme
* Thu Nov 05 2020 Michel Begue <mab974@gmail.com> 2.3.0-1.sme
- first import to sme 10 for geneweb v6.08

1 michel 1.1 Summary: Package to integrate GeneWeb (V6) into SME Server
2     %define name smeserver-geneweb
3     Name: %{name}
4     %define version 2.3.0
5     %define release 1
6     Version: %{version}
7     Release: %{release}%{?dist}
8     License: GPL
9     Group: Applications/Internet
10     Source: %{name}-%{version}.tar.xz
11     #Patch0: %{name}-%{version}-init_v10.patch
12    
13     BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
14     BuildArchitectures: noarch
15     Requires: geneweb >= 6.08
16     Requires: smeserver-release >= 10.0
17     Requires: e-smith-formmagick >= 2.4.0-1
18     BuildRequires: e-smith-devtools
19    
20     %description
21     This RPM must be installed after the geneweb*.el6.sme package
22     to complete the integration for SME Server.
23    
24     %changelog
25     * Thu Nov 05 2020 Michel Begue <mab974@gmail.com> 2.3.0-1.sme
26     - first import to sme 10 for geneweb v6.08
27    
28     * Thu Jul 30 2020 SME Translation Server <translations@contribs.org> 2.1.0-5.sme
29     - apply locale 2020-07-30 patch
30    
31     * Sat Jul 11 2020 Michel Begue <mab974@gmail.com> 2.1.0-4.sme
32     - geneweb and gwsetup services thru proxypass [SME: 10930]
33    
34     * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1.0-2.sme
35     - apply locale 2019-12-07 patch
36    
37     * Wed Apr 03 2019 Michel Begue <mab974@gmail.com> 2.1-1.sme
38     - first import in sme9 for geneweb v6.08
39     - geneweb service not started [SME: 6371]
40     - Add "Base directory" input in panel console.
41     - perms corrected in templates.metadata
42     - normalize template and .spec
43    
44     %prep
45    
46     rm -rf $RPM_BUILD_ROOT
47    
48     %setup
49     #%patch0 -p1
50    
51     %build
52     perl createlinks
53    
54     LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
55     for lexicon in $LEXICONS
56     do
57     /sbin/e-smith/validate-lexicon $lexicon
58     done
59    
60     %install
61     /bin/rm -rf $RPM_BUILD_ROOT
62     (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
63     /bin/rm -f %{name}-%{version}-filelist
64     /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
65     echo "%doc COPYING" >> %{name}-%{version}-filelist
66    
67     %files -f %{name}-%{version}-filelist
68    
69     %defattr(-,root,root)
70     %attr(755, root, root) /var/service/geneweb/log/run
71     %attr(755, root, root) /var/service/gwsetup/log/run
72    
73    
74     %clean
75     rm -rf $RPM_BUILD_ROOT
76    
77     %pre
78    
79     %post
80     ln -s /var/service/geneweb /service/geneweb
81     touch /var/service/geneweb/down
82     ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/geneweb
83     ##ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S98geneweb
84     mkdir -p /var/log/geneweb
85     chown smelog:smelog /var/log/geneweb
86     ln -s /var/service/gwsetup /service/gwsetup
87     touch /var/service/gwsetup/down
88     ln -s /etc/rc.d/init.d/daemontools /etc/rc.d/init.d/supervise/gwsetup
89     ##ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S98gwsetup
90     mkdir -p /var/log/gwsetup
91     chown smelog:smelog /var/log/gwsetup
92    
93     %preun
94     /sbin/e-smith/db configuration setprop geneweb status disabled
95     /sbin/e-smith/db configuration setprop gwsetup status disabled
96     #/etc/rc.d/init.d/geneweb stop
97     #/etc/rc.d/init.d/gwsetup stop
98     /usr/bin/sv stop geneweb
99     /usr/bin/sv stop gwsetup
100    
101     %postun

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed