/[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.5 - (show annotations) (download)
Fri Jan 7 15:03:08 2022 UTC (2 years, 10 months ago) by brianr
Branch: MAIN
CVS Tags: smeserver-geneweb-2_3_0-5_el7_sme
Changes since 1.4: +6 -1 lines
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 2.3.0-5.sme
- Add-class-to-div-for-AdminLTE [SME: 11838]

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 5
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 Patch3: smeserver-geneweb-2.3.0-locale-2021-08-22.patch
16 Patch4: smeserver-geneweb-2.3.0-Add-class-to-div-for-AdminLTE.patch
17
18 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
19 BuildArchitectures: noarch
20 Requires: geneweb >= 6.08
21 Requires: smeserver-release >= 10.0
22 Requires: e-smith-formmagick >= 2.4.0-1
23 BuildRequires: e-smith-devtools
24 AutoReqProv: no
25
26 %description
27 This RPM must be installed after the geneweb package
28 to complete the integration for SME Server.
29
30 %prep
31
32 rm -rf $RPM_BUILD_ROOT
33
34 %setup
35 %patch0 -p1
36 %patch1 -p1
37 %patch2 -p1
38 %patch3 -p1
39 %patch4 -p1
40
41 %build
42 perl createlinks
43
44 LEXICONS=$(find root/etc/e-smith/{locale/,web/functions/} -type f )
45 for lexicon in $LEXICONS
46 do
47 /sbin/e-smith/validate-lexicon $lexicon
48 done
49
50 %install
51 /bin/rm -rf $RPM_BUILD_ROOT
52 (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT)
53 /bin/rm -f %{name}-%{version}-filelist
54 /sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist
55 echo "%doc COPYING" >> %{name}-%{version}-filelist
56
57 %files -f %{name}-%{version}-filelist
58
59 %defattr(-,root,root)
60 %attr(755, root, root) /usr/lib/systemd/systemd-geneweb
61 %attr(755, root, root) /usr/lib/systemd/systemd-gwsetup
62
63 %clean
64 rm -rf $RPM_BUILD_ROOT
65
66 %pre
67
68 %post
69 mkdir -p /var/log/geneweb
70 chown geneweb:geneweb /var/log/geneweb
71 mkdir -p /var/log/gwsetup
72 chown geneweb:geneweb /var/log/gwsetup
73
74 %preun
75 /sbin/e-smith/db configuration setprop geneweb status disabled
76 /sbin/e-smith/db configuration setprop gwsetup status disabled
77 /usr/bin/systemctl stop geneweb gwsetup
78
79 %postun
80
81 %changelog
82 * Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 2.3.0-5.sme
83 - Add-class-to-div-for-AdminLTE [SME: 11838]
84
85 * Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.3.0-4.sme
86 - apply locale 2021-08-22 patch
87
88 * Tue Mar 23 2021 Michel Begue <mab974@gmail.com> 2.3.0-3.sme
89 - change TCPPort attributes to avoid filtering effect [SME: 10930]
90 - move changelog to the bottom of spec
91 - readd changelog from contribs9
92
93 * Mon Mar 15 2021 Michel Begue <mab974@gmail.com> 2.3.0-2.sme
94 - change geneweb & gwsetup to systemd services
95 - add smeserver-geneweb-update event
96 - add template and controller for smanager
97
98 * Thu Nov 05 2020 Michel Begue <mab974@gmail.com> 2.3.0-1.sme
99 - first import to sme 10 for geneweb v6.08
100
101 * Thu Jul 30 2020 SME Translation Server <translations@contribs.org> 2.1.0-5.sme
102 - apply locale 2020-07-30 patch
103
104 * Sat Jul 11 2020 Michel Begue <mab974@gmail.com> 2.1.0-4.sme
105 - geneweb and gwsetup services thru proxypass [SME: 10930]
106
107 * Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1.0-2.sme
108 - apply locale 2019-12-07 patch
109
110 * Wed Apr 03 2019 Michel Begue <mab974@gmail.com> 2.1-1.sme
111 - first import in sme9 for geneweb v6.08
112 - geneweb service not started [SME: 6371]
113 - Add "Base directory" input in panel console.
114 - perms corrected in templates.metadata
115 - normalize template and .spec

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