1 |
# $Id: e-smith-nutUPS.spec,v 1.6 2020/11/27 05:14:55 jpp Exp $ |
# $Id: e-smith-nutUPS.spec,v 1.10 2020/12/07 16:31:51 jpp 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 5 |
%define release 8 |
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 |
|
Patch1: e-smith-nutUPS-2.6.0-bz11215-fix-line-endings.patch |
|
14 |
|
|
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
Requires: nut nut-client daemontools |
Requires: nut nut-client daemontools |
25 |
the SME server software. |
the SME server software. |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
* Sun Nov 29 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-5.sme |
* Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-8.sme |
29 |
|
- fix template path for monitor [SME: 9423] |
30 |
|
|
31 |
|
* Sun Nov 29 2020 John Crisp <jcrisp@safeandsoundit.co.uk> 2.6.0-6.sme |
32 |
- Fix preset line endings in 49-koozali.preset [SME: 11215] |
- Fix preset line endings in 49-koozali.preset [SME: 11215] |
33 |
|
|
34 |
* Wed Nov 18 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
* Wed Nov 18 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme |
256 |
%prep |
%prep |
257 |
%setup |
%setup |
258 |
%patch0 -p1 |
%patch0 -p1 |
|
%patch1 -p1 |
|
259 |
|
|
260 |
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 |
261 |
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 |