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 5 |
%define release 9 |
7 |
Version: %{version} |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
9 |
License: GPL |
License: GPL |
14 |
Patch2: %{name}-%{version}-TcpPort.patch |
Patch2: %{name}-%{version}-TcpPort.patch |
15 |
Patch3: smeserver-geneweb-2.3.0-locale-2021-08-22.patch |
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 |
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 |
|
Patch6: smeserver-geneweb-2.3.0-Alter-menu-category-for-new-arrangement.patch |
19 |
|
Patch7: smeserver-geneweb-2.3.0-locale-2024-09-05.patch |
20 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
24 |
Requires: smeserver-release >= 10.0 |
Requires: smeserver-release >= 10.0 |
25 |
Requires: e-smith-formmagick >= 2.4.0-1 |
Requires: e-smith-formmagick >= 2.4.0-1 |
26 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
27 |
|
Requires: e-smith-apache >= 2.6.0-19 |
28 |
|
Requires: smeserver-php >= 3.0.0-43 |
29 |
AutoReqProv: no |
AutoReqProv: no |
30 |
|
|
31 |
%description |
%description |
42 |
%patch2 -p1 |
%patch2 -p1 |
43 |
%patch3 -p1 |
%patch3 -p1 |
44 |
%patch4 -p1 |
%patch4 -p1 |
45 |
|
%patch5 -p1 |
46 |
|
%patch6 -p1 |
47 |
|
%patch7 -p1 |
48 |
|
|
49 |
%build |
%build |
50 |
perl createlinks |
perl createlinks |
74 |
%pre |
%pre |
75 |
|
|
76 |
%post |
%post |
77 |
mkdir -p /var/log/geneweb |
|
78 |
chown geneweb:geneweb /var/log/geneweb |
if (systemctl list-unit-files |grep smanager) then |
79 |
mkdir -p /var/log/gwsetup |
echo "Smanager restart in spec file" |
80 |
chown geneweb:geneweb /var/log/gwsetup |
/sbin/e-smith/signal-event smanager-refresh; |
81 |
|
fi |
82 |
|
|
83 |
%preun |
%preun |
84 |
/sbin/e-smith/db configuration setprop geneweb status disabled |
/sbin/e-smith/db configuration setprop geneweb status disabled |
88 |
%postun |
%postun |
89 |
|
|
90 |
%changelog |
%changelog |
91 |
|
* Thu Sep 05 2024 Terry Fage <terry@fage.id.au> 2.3.0-9.sme |
92 |
|
- apply locale 2.3.0-locale-2024-09-05.patch |
93 |
|
|
94 |
|
* Sat Mar 02 2024 Brian Read <brianr@koozali.org> 2.3.0-8.sme |
95 |
|
- Edit SM2 Menu entry to conform to new arrangements [SME: 12493] |
96 |
|
|
97 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.3.0-7.sme |
98 |
|
- Re-build and link to latest devtools [SME: 11997] |
99 |
|
|
100 |
|
* Thu Jul 14 2022 Michel Begue <mab974@misouk.com> 2.3.0-6.sme |
101 |
|
- Re-build and link to latest devtools migrate fragment error [SME: 11610] |
102 |
|
- back to standard log files and fix log files not fed |
103 |
|
- run 2 services with user geneweb |
104 |
|
- add geneweb to backup list [SME: 12074] |
105 |
|
- update to httpd 2.4 syntax [SME: 12047] |
106 |
|
|
107 |
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 2.3.0-5.sme |
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 2.3.0-5.sme |
108 |
- Add-class-to-div-for-AdminLTE [SME: 11838] |
- Add-class-to-div-for-AdminLTE [SME: 11838] |
109 |
|
|