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 3 |
%define release 7 |
7 |
Version: %{version} |
Version: %{version} |
8 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
9 |
License: GPL |
License: GPL |
12 |
Patch0: %{name}-%{version}-init_v10_systemd.patch |
Patch0: %{name}-%{version}-init_v10_systemd.patch |
13 |
Patch1: %{name}-%{version}-to_smanager.patch |
Patch1: %{name}-%{version}-to_smanager.patch |
14 |
Patch2: %{name}-%{version}-TcpPort.patch |
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 |
AutoReqProv: no |
28 |
|
|
29 |
%description |
%description |
30 |
This RPM must be installed after the geneweb 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 |
|
|
|
|
|
33 |
%prep |
%prep |
34 |
|
|
35 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
38 |
%patch0 -p1 |
%patch0 -p1 |
39 |
%patch1 -p1 |
%patch1 -p1 |
40 |
%patch2 -p1 |
%patch2 -p1 |
41 |
|
%patch3 -p1 |
42 |
|
%patch4 -p1 |
43 |
|
%patch5 -p1 |
44 |
|
|
45 |
%build |
%build |
46 |
perl createlinks |
perl createlinks |
64 |
%attr(755, root, root) /usr/lib/systemd/systemd-geneweb |
%attr(755, root, root) /usr/lib/systemd/systemd-geneweb |
65 |
%attr(755, root, root) /usr/lib/systemd/systemd-gwsetup |
%attr(755, root, root) /usr/lib/systemd/systemd-gwsetup |
66 |
|
|
|
|
|
67 |
%clean |
%clean |
68 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
69 |
|
|
70 |
%pre |
%pre |
71 |
|
|
72 |
%post |
%post |
|
mkdir -p /var/log/geneweb |
|
|
chown geneweb:geneweb /var/log/geneweb |
|
|
mkdir -p /var/log/gwsetup |
|
|
chown geneweb:geneweb /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 |
79 |
%postun |
%postun |
80 |
|
|
81 |
%changelog |
%changelog |
82 |
|
* Sat Jul 30 2022 Brian Read <brianr@bjsystems.co.uk> 2.3.0-7.sme |
83 |
|
- Re-build and link to latest devtools [SME: 11997] |
84 |
|
|
85 |
|
* Thu Jul 14 2022 Michel Begue <mab974@misouk.com> 2.3.0-6.sme |
86 |
|
- Re-build and link to latest devtools migrate fragment error [SME: 11610] |
87 |
|
- back to standard log files and fix log files not fed |
88 |
|
- run 2 services with user geneweb |
89 |
|
- add geneweb to backup list [SME: 12074] |
90 |
|
- update to httpd 2.4 syntax [SME: 12047] |
91 |
|
|
92 |
|
* Fri Jan 07 2022 Brian Read <brianr@bjsystems.co.uk> 2.3.0-5.sme |
93 |
|
- Add-class-to-div-for-AdminLTE [SME: 11838] |
94 |
|
|
95 |
|
* Sun Aug 22 2021 Terry Fage <terry.fage@gmail.com> 2.3.0-4.sme |
96 |
|
- apply locale 2021-08-22 patch |
97 |
|
|
98 |
* Tue Mar 23 2021 Michel Begue <mab974@gmail.com> 2.3.0-3.sme |
* Tue Mar 23 2021 Michel Begue <mab974@gmail.com> 2.3.0-3.sme |
99 |
- change TCPPort attributes to avoid filtering effect [SME: 10930] |
- change TCPPort attributes to avoid filtering effect [SME: 10930] |
100 |
- move changelog to the bottom of spec |
- move changelog to the bottom of spec |