1 |
# $Id: e-smith-nutUPS.spec,v 1.3 2016/02/05 22:31:56 stephdl Exp $ |
# $Id: e-smith-nutUPS.spec,v 1.12 2021/03/25 01:19:15 terryfage Exp $ |
2 |
|
|
3 |
Summary: SME server - nut UPS interaction module |
Summary: SME server - nut UPS interaction module |
4 |
%define name e-smith-nutUPS |
%define name e-smith-nutUPS |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.0 |
7 |
%define release 3 |
%define release 10 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Patch0: e-smith-nutUPS-2.6.0-bz9423-bz11146.patch |
Patch0: e-smith-nutUPS-2.6.0-bz9423-bz11146.patch |
14 |
|
Patch1: e-smith-nutUPS-2.6.0-bz11488.patch |
15 |
|
Patch2: e-smith-nutUPS-2.6.0-bz11494.patch |
16 |
|
|
17 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
18 |
Requires: nut nut-client daemontools |
Requires: nut nut-client daemontools |
27 |
the SME server software. |
the SME server software. |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
* Wed Nov 18 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
* Sat Mar 27 2021 Terry Fage <tfage@yahoo.com.au> 2.6.0-10.sme |
31 |
|
- fix ExecStartPre path for /usr/lib/tmpfiles.d/nut-run.conf [SME: 11488] |
32 |
|
|
33 |
|
* Thu Mar 25 2021 Terry Fage <tfage@yahoo.com.au> 2.6.0-9.sme |
34 |
|
- fix ExecStartPre path for nut.service [SME: 11488] |
35 |
|
|
36 |
|
* Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
37 |
|
- fix template path for monitor [SME: 9423] |
38 |
|
|
39 |
|
* Sun Nov 29 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-6.sme |
40 |
|
- Fix preset line endings in 49-koozali.preset [SME: 11215] |
41 |
|
|
42 |
|
* Wed Nov 18 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
43 |
- add update event to avoid reboot [SME: 11146] |
- add update event to avoid reboot [SME: 11146] |
44 |
- adapt nut UPS for systemd [SME: 9423] |
- adapt nut UPS for systemd [SME: 9423] |
45 |
|
|
264 |
%prep |
%prep |
265 |
%setup |
%setup |
266 |
%patch0 -p1 |
%patch0 -p1 |
267 |
|
%patch1 -p1 |
268 |
|
%patch2 -p1 |
269 |
|
|
270 |
rm -rf root/etc/rc.d/init.d/nut root/etc/rc.d/rc7.d/S38nut |
rm -rf root/etc/rc.d/init.d/nut root/etc/rc.d/rc7.d/S38nut |
271 |
mkdir -p root/usr/lib/systemd/system/nut-monitor.service.d root/usr/lib/systemd/system/nut-server.service.d |
mkdir -p root/usr/lib/systemd/system/nut-monitor.service.d root/usr/lib/systemd/system/nut-server.service.d |
272 |
|
|