1 |
# $Id: e-smith-nutUPS.spec,v 1.6 2009/05/17 08:22:18 snetram Exp $ |
# $Id: e-smith-nutUPS.spec,v 1.9 2015/02/07 09:24:32 stephdl 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.4.0 |
%define version 2.4.0 |
7 |
%define release 1 |
%define release 9 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
Requires: nut nut-client daemontools |
Requires: nut nut-client daemontools |
15 |
|
Obsoletes: neon <= 0.25.5 |
16 |
Requires: e-smith-lib >= 1.15.1-16 |
Requires: e-smith-lib >= 1.15.1-16 |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
19 |
|
Patch0 : e-smith-nutUPS-2.4.0.Listen_Local_Network.patch |
20 |
|
Patch1 : e-smith-nutUPS-2.4.0.UPS_administrative_privileges.patch |
21 |
AutoReqProv: no |
AutoReqProv: no |
22 |
|
|
23 |
%description |
%description |
25 |
the SME server software. |
the SME server software. |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Sat Feb 07 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-9.sme |
29 |
|
- Allow the admin upsd in /etc/hosts.allow [SME: 8826] |
30 |
|
|
31 |
|
* Tue Feb 03 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-7.sme |
32 |
|
- Creation Admin Privilege for use of upscmd & upsrw [SME: 8826] |
33 |
|
- Remove obsolete directives {allowfrom} [SME: 8793] |
34 |
|
|
35 |
|
* Sun Jan 25 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-5.sme |
36 |
|
- Access property created (default value is 'localhost') [SME: 8793] |
37 |
|
|
38 |
|
* Thu Jan 22 2015 stephane de Labrusse <stephdl@de-labrusse.fr> 2.4.0-3.sme |
39 |
|
- Remove obsolete directives {ACL,ACCEPT,REJECT} and switch to LISTEN |
40 |
|
- in /etc/ups/upsd.conf |
41 |
|
- Allow NUT in /etc/hosts.allow and in /etc/services [SME: 8793] |
42 |
|
- Code change from Daniel B.<daniel@firewall-services.com> |
43 |
|
|
44 |
|
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-2.sme |
45 |
|
- Obsolete el5 packages that used to be required [SME: 7273] |
46 |
|
|
47 |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
* Thu Jan 31 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme |
48 |
- Roll new stream for sme9 |
- Roll new stream for sme9 |
49 |
|
|
242 |
|
|
243 |
%prep |
%prep |
244 |
%setup |
%setup |
245 |
|
%patch0 -p1 |
246 |
|
%patch1 -p1 |
247 |
|
|
248 |
%build |
%build |
249 |
perl createlinks |
perl createlinks |