1 |
|
# $Id: e-smith-nutUPS.spec,v 1.5 2008/10/07 18:48:20 slords 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 1.2.0 |
%define version 2.0.0 |
7 |
%define release 14 |
%define release 2 |
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 |
13 |
Patch0: e-smith-nutUPS-1.2.0-upsd.conf-perms.patch |
Patch0: e-smith-nutUPS-2.0.0-fixDefaultDriver.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 |
|
14 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
15 |
Requires: nut nut-client daemontools |
Requires: nut nut-client daemontools |
16 |
Requires: e-smith-lib >= 1.15.1-16 |
Requires: e-smith-lib >= 1.15.1-16 |
23 |
the SME server software. |
the SME server software. |
24 |
|
|
25 |
%changelog |
%changelog |
26 |
|
* Sun May 17 2009 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-2.sme |
27 |
|
- Fix another instance of ups model for new version of nut [SME: 4750] |
28 |
|
|
29 |
|
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
30 |
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
31 |
|
|
32 |
|
* Tue Jan 08 2008 Stephen Noble <support@dungog.net> 1.2.0-17 |
33 |
|
- Start rc7.d/S38nut up from S15 [SME: 3592] |
34 |
|
|
35 |
|
* Fri Nov 30 2007 Gavin Weight <gweight@gmail.com> 1.2.0-16 |
36 |
|
- Fix use of uninitialized value in nutModel migrate. [SME: 3597] |
37 |
|
|
38 |
|
* Sun Oct 7 2007 Shad L. Lords <slords@mail.com> 1.2.0-15 |
39 |
|
- Fix ups model for new version of nut [SME: 3457] |
40 |
|
|
41 |
* 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 |
42 |
- Fix mfr & mdl options in ups.conf [SME: 2791] |
- Fix mfr & mdl options in ups.conf [SME: 2791] |
43 |
|
|
219 |
%prep |
%prep |
220 |
%setup |
%setup |
221 |
%patch0 -p1 |
%patch0 -p1 |
|
%patch1 -p1 |
|
|
%patch2 -p1 |
|
|
%patch3 -p1 |
|
|
%patch4 -p1 |
|
|
%patch5 -p1 |
|
|
%patch6 -p1 |
|
|
%patch7 -p1 |
|
|
%patch8 -p1 |
|
|
%patch9 -p1 |
|
|
%patch10 -p1 |
|
|
%patch11 -p1 |
|
222 |
|
|
223 |
%build |
%build |
224 |
perl createlinks |
perl createlinks |
225 |
|
|
226 |
mkdir -p root/etc/rc.d/rc7.d |
mkdir -p root/etc/rc.d/rc7.d |
227 |
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 |
228 |
mkdir -p root/etc/rc.d/init.d |
mkdir -p root/etc/rc.d/init.d |
229 |
ln -s ups root/etc/rc.d/init.d/nut |
ln -s ups root/etc/rc.d/init.d/nut |
230 |
|
|