1 |
|
# $Id$ |
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 1.2.0 |
%define version 2.0.0 |
7 |
%define release 14 |
%define release 1 |
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.gz |
Source: %{name}-%{version}.tar.gz |
|
Patch0: e-smith-nutUPS-1.2.0-upsd.conf-perms.patch |
|
|
Patch1: e-smith-nutUPS-1.2.0-secure.patch |
|
|
Patch2: e-smith-nutUPS-1.2.0-notify.patch |
|
|
Patch3: e-smith-nutUPS-1.2.0-slave.patch |
|
|
Patch4: e-smith-nutUPS-1.2.0-upstype.patch |
|
|
Patch5: e-smith-nutUPS-1.2.0-passwords.patch |
|
|
Patch6: e-smith-nutUPS-1.2.0-createlinks.patch |
|
|
Patch7: e-smith-nutUPS-1.2.0-config_perms.patch |
|
|
Patch8: e-smith-nutUPS-1.2.0-upstype3.patch |
|
|
Patch9: e-smith-nutUPS-1.2.0-upstype4.patch |
|
|
Patch10: e-smith-nutUPS-1.2.0-mfr.patch |
|
|
Patch11: e-smith-nutUPS-1.2.0-mfr2.patch |
|
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 |
Requires: e-smith-lib >= 1.15.1-16 |
Requires: e-smith-lib >= 1.15.1-16 |
22 |
the SME server software. |
the SME server software. |
23 |
|
|
24 |
%changelog |
%changelog |
25 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
26 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
27 |
|
|
28 |
|
* Tue Jan 08 2008 Stephen Noble <support@dungog.net> 1.2.0-17 |
29 |
|
- Start rc7.d/S38nut up from S15 [SME: 3592] |
30 |
|
|
31 |
|
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-16 |
32 |
|
- Fix use of uninitialized value in nutModel migrate. [SME: 3597] |
33 |
|
|
34 |
|
* Sun Oct 7 2007 Shad L. Lords <slords@mail.com> 1.2.0-15 |
35 |
|
- Fix ups model for new version of nut [SME: 3457] |
36 |
|
|
37 |
* Sun Jun 3 2007 Stephen Noble <support@dungog.net> 1.2.0-14 |
* Sun Jun 3 2007 Stephen Noble <support@dungog.net> 1.2.0-14 |
38 |
- Fix mfr & mdl options in ups.conf [SME: 2791] |
- Fix mfr & mdl options in ups.conf [SME: 2791] |
39 |
|
|
214 |
|
|
215 |
%prep |
%prep |
216 |
%setup |
%setup |
|
%patch0 -p1 |
|
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
217 |
|
|
218 |
%build |
%build |
219 |
perl createlinks |
perl createlinks |
220 |
|
|
221 |
mkdir -p root/etc/rc.d/rc7.d |
mkdir -p root/etc/rc.d/rc7.d |
222 |
ln -s ../init.d/e-smith-service root/etc/rc.d/rc7.d/S15nut |
ln -s ../init.d/e-smith-service root/etc/rc.d/rc7.d/S38nut |
223 |
mkdir -p root/etc/rc.d/init.d |
mkdir -p root/etc/rc.d/init.d |
224 |
ln -s ups root/etc/rc.d/init.d/nut |
ln -s ups root/etc/rc.d/init.d/nut |
225 |
|
|