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 6 |
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 |
|
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 |
|
Patch5: smeserver-geneweb-2.3.0-migrate-logs-users-bz12047_httpd-bz12074_backup.patch |
18 |
|
|
19 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
20 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
22 |
Requires: smeserver-release >= 10.0 |
Requires: smeserver-release >= 10.0 |
23 |
Requires: e-smith-formmagick >= 2.4.0-1 |
Requires: e-smith-formmagick >= 2.4.0-1 |
24 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
25 |
|
Requires: e-smith-apache >= 2.6.0-19 |
26 |
|
Requires: smeserver-php >= 3.0.0-43 |
27 |
|
AutoReqProv: no |
28 |
|
|
29 |
%description |
%description |
30 |
This RPM must be installed after the geneweb*.el6.sme package |
This RPM must be installed after the geneweb package |
31 |
to complete the integration for SME Server. |
to complete the integration for SME Server. |
32 |
|
|
|
%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 |
|
|
|
|
33 |
%prep |
%prep |
34 |
|
|
35 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
36 |
|
|
37 |
%setup |
%setup |
38 |
#%patch0 -p1 |
%patch0 -p1 |
39 |
|
%patch1 -p1 |
40 |
|
%patch2 -p1 |
41 |
|
%patch3 -p1 |
42 |
|
%patch4 -p1 |
43 |
|
%patch5 -p1 |
44 |
|
|
45 |
%build |
%build |
46 |
perl createlinks |
perl createlinks |
61 |
%files -f %{name}-%{version}-filelist |
%files -f %{name}-%{version}-filelist |
62 |
|
|
63 |
%defattr(-,root,root) |
%defattr(-,root,root) |
64 |
%attr(755, root, root) /var/service/geneweb/log/run |
%attr(755, root, root) /usr/lib/systemd/systemd-geneweb |
65 |
%attr(755, root, root) /var/service/gwsetup/log/run |
%attr(755, root, root) /usr/lib/systemd/systemd-gwsetup |
|
|
|
66 |
|
|
67 |
%clean |
%clean |
68 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
70 |
%pre |
%pre |
71 |
|
|
72 |
%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 |
|
|
mkdir -p /var/log/geneweb |
|
|
chown smelog:smelog /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 |
|
|
mkdir -p /var/log/gwsetup |
|
|
chown smelog:smelog /var/log/gwsetup |
|
73 |
|
|
74 |
%preun |
%preun |
75 |
/sbin/e-smith/db configuration setprop geneweb status disabled |
/sbin/e-smith/db configuration setprop geneweb status disabled |
76 |
/sbin/e-smith/db configuration setprop gwsetup status disabled |
/sbin/e-smith/db configuration setprop gwsetup status disabled |
77 |
#/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 |
|
78 |
|
|
79 |
%postun |
%postun |
80 |
|
|
81 |
|
%changelog |
82 |
|
* Thu Jul 14 2022 Michel Begue <mab974@misouk.com> 2.3.0-6.sme |
83 |
|
- fix migrate fragment error [SME: 11610] |
84 |
|
- back to standard log files and fix log files not fed |
85 |
|
- run 2 services with user geneweb |
86 |
|
- add geneweb to backup list [SME: 12074] |
87 |
|
- update to httpd 2.4 syntax [SME: 12047] |
88 |
|
|
89 |
|
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 2.3.0-5.sme |
90 |
|
- Add-class-to-div-for-AdminLTE [SME: 11838] |
91 |
|
|
92 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.3.0-4.sme |
93 |
|
- apply locale 2021-08-22 patch |
94 |
|
|
95 |
|
* Tue Mar 23 2021 Michel Begue <mab974@gmail.com> 2.3.0-3.sme |
96 |
|
- change TCPPort attributes to avoid filtering effect [SME: 10930] |
97 |
|
- move changelog to the bottom of spec |
98 |
|
- readd changelog from contribs9 |
99 |
|
|
100 |
|
* Mon Mar 15 2021 Michel Begue <mab974@gmail.com> 2.3.0-2.sme |
101 |
|
- change geneweb & gwsetup to systemd services |
102 |
|
- add smeserver-geneweb-update event |
103 |
|
- add template and controller for smanager |
104 |
|
|
105 |
|
* Thu Nov 05 2020 Michel Begue <mab974@gmail.com> 2.3.0-1.sme |
106 |
|
- first import to sme 10 for geneweb v6.08 |
107 |
|
|
108 |
|
* Thu Jul 30 2020 SME Translation Server <translations@contribs.org> 2.1.0-5.sme |
109 |
|
- apply locale 2020-07-30 patch |
110 |
|
|
111 |
|
* Sat Jul 11 2020 Michel Begue <mab974@gmail.com> 2.1.0-4.sme |
112 |
|
- geneweb and gwsetup services thru proxypass [SME: 10930] |
113 |
|
|
114 |
|
* Sat Dec 07 2019 SME Translation Server <translations@contribs.org> 2.1.0-2.sme |
115 |
|
- apply locale 2019-12-07 patch |
116 |
|
|
117 |
|
* Wed Apr 03 2019 Michel Begue <mab974@gmail.com> 2.1-1.sme |
118 |
|
- first import in sme9 for geneweb v6.08 |
119 |
|
- geneweb service not started [SME: 6371] |
120 |
|
- Add "Base directory" input in panel console. |
121 |
|
- perms corrected in templates.metadata |
122 |
|
- normalize template and .spec |