2 |
%define name e-smith-nutUPS |
%define name e-smith-nutUPS |
3 |
Name: %{name} |
Name: %{name} |
4 |
%define version 1.2.0 |
%define version 1.2.0 |
5 |
%define release 15 |
%define release 17 |
6 |
Version: %{version} |
Version: %{version} |
7 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
8 |
License: GPL |
License: GPL |
21 |
Patch10: e-smith-nutUPS-1.2.0-mfr.patch |
Patch10: e-smith-nutUPS-1.2.0-mfr.patch |
22 |
Patch11: e-smith-nutUPS-1.2.0-mfr2.patch |
Patch11: e-smith-nutUPS-1.2.0-mfr2.patch |
23 |
Patch12: e-smith-nutUPS-1.2.0-model.patch |
Patch12: e-smith-nutUPS-1.2.0-model.patch |
24 |
|
Patch13: e-smith-nutUPS-1.2.0-FixUninitializedValue.patch |
25 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
26 |
Requires: nut nut-client daemontools |
Requires: nut nut-client daemontools |
27 |
Requires: e-smith-lib >= 1.15.1-16 |
Requires: e-smith-lib >= 1.15.1-16 |
34 |
the SME server software. |
the SME server software. |
35 |
|
|
36 |
%changelog |
%changelog |
37 |
|
* Tue Jan 08 2008 Stephen Noble <support@dungog.net> 1.2.0-17 |
38 |
|
- Start rc7.d/S38nut up from S15 [SME: 3592] |
39 |
|
|
40 |
|
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-16 |
41 |
|
- Fix use of uninitialized value in nutModel migrate. [SME: 3597] |
42 |
|
|
43 |
* Sun Oct 7 2007 Shad L. Lords <slords@mail.com> 1.2.0-15 |
* Sun Oct 7 2007 Shad L. Lords <slords@mail.com> 1.2.0-15 |
44 |
- Fix ups model for new version of nut [SME: 3457] |
- Fix ups model for new version of nut [SME: 3457] |
45 |
|
|
236 |
%patch10 -p1 |
%patch10 -p1 |
237 |
%patch11 -p1 |
%patch11 -p1 |
238 |
%patch12 -p1 |
%patch12 -p1 |
239 |
|
%patch13 -p1 |
240 |
|
|
241 |
%build |
%build |
242 |
perl createlinks |
perl createlinks |
243 |
|
|
244 |
mkdir -p root/etc/rc.d/rc7.d |
mkdir -p root/etc/rc.d/rc7.d |
245 |
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 |
246 |
mkdir -p root/etc/rc.d/init.d |
mkdir -p root/etc/rc.d/init.d |
247 |
ln -s ups root/etc/rc.d/init.d/nut |
ln -s ups root/etc/rc.d/init.d/nut |
248 |
|
|