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

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

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


Revision 1.3 - (show annotations) (download)
Tue Mar 23 19:13:58 2021 UTC (3 years, 7 months ago) by michel
Branch: MAIN
CVS Tags: smeserver-geneweb-2_3_0-3_el7_sme
Changes since 1.2: +35 -26 lines
* Tue Mar 23 2021 Michel Begue <mab974@gmail.com> 2.3.0-3.sme
- change TCPPort attributes to avoid filtering effect [SME: 10930]
- move changelog to the bottom of spec
- readd changelog from contribs9

1 Summary: Package to integrate GeneWeb (V6) into SME Server
2
3 %define name smeserver-geneweb
4 Name: %{name}
5 %define version 2.3.0
6 %define release 3
7 Version: %{version}
8 Release: %{release}%{?dist}
9 License: GPL
10 Group: Applications/Internet
11 Source: %{name}-%{version}.tar.xz
12 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
17 BuildArchitectures: noarch
18 Requires: geneweb >= 6.08
19 Requires: smeserver-release >= 10.0
20 Requires: e-smith-formmagick >= 2.4.0-1
21 BuildRequires: e-smith-devtools
22 AutoReqProv: no
23
24 %description
25 This RPM must be installed after the geneweb package
26 to complete the integration for SME Server.
27
28
29 %prep
30
31 rm -rf $RPM_BUILD_ROOT
32
33 %setup
34 %patch0 -p1
35 %patch1 -p1
36 %patch2 -p1
37
38 %build
39 perl createlinks
40
41 LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
42 for lexicon in $LEXICONS
43 do
44 /sbin/e-smith/validate-lexicon $lexicon
45 done
46
47 %install
48 /bin/rm -rf $RPM_BUILD_ROOT
49 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
50 /bin/rm -f %{name}-%{version}-filelist
51 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
52 echo "%doc COPYING" >> %{name}-%{version}-filelist
53
54 %files -f %{name}-%{version}-filelist
55
56 %defattr(-,root,root)
57 %attr(755, root, root) /usr/lib/systemd/systemd-geneweb
58 %attr(755, root, root) /usr/lib/systemd/systemd-gwsetup
59
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %pre
65
66 %post
67 mkdir -p /var/log/geneweb
68 chown geneweb:geneweb /var/log/geneweb
69 mkdir -p /var/log/gwsetup
70 chown geneweb:geneweb /var/log/gwsetup
71
72 %preun
73 /sbin/e-smith/db configuration setprop geneweb status disabled
74 /sbin/e-smith/db configuration setprop gwsetup status disabled
75 /usr/bin/systemctl stop geneweb gwsetup
76
77 %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

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