5 |
Summary: Power management software for APC UPS hardware |
Summary: Power management software for APC UPS hardware |
6 |
Name: apcupsd |
Name: apcupsd |
7 |
Version: 3.14.10 |
Version: 3.14.10 |
8 |
Release: %mkrel 3 |
Release: %mkrel 4 |
9 |
License: GPLv2 |
License: GPLv2 |
10 |
Group: System/Servers |
Group: System/Servers |
11 |
URL: http://sourceforge.net/projects/apcupsd/ |
URL: http://sourceforge.net/projects/apcupsd/ |
13 |
Patch1: apcupsd-3.10.16-staleusb.patch |
Patch1: apcupsd-3.10.16-staleusb.patch |
14 |
Patch2: apcupsd-3.14.4-mdv_conf.diff |
Patch2: apcupsd-3.14.4-mdv_conf.diff |
15 |
Patch3: apcupsd-3.14.10-link.patch |
Patch3: apcupsd-3.14.10-link.patch |
16 |
|
Patch4: apcupsd-3.14.10-lockdir.patch |
17 |
Requires(post): rpm-helper |
Requires(post): rpm-helper |
18 |
Requires(preun):rpm-helper |
Requires(preun):rpm-helper |
19 |
Requires: tcp_wrappers |
Requires: tcp_wrappers |
36 |
%patch1 -p1 -b .usbstale |
%patch1 -p1 -b .usbstale |
37 |
%patch2 -p0 -b .mdv_conf |
%patch2 -p0 -b .mdv_conf |
38 |
%patch3 -p0 -b .link |
%patch3 -p0 -b .link |
39 |
|
%patch4 -p1 -b .lock |
40 |
|
|
41 |
# fix attribs |
# fix attribs |
42 |
find examples -type f | xargs chmod 644 |
find examples -type f | xargs chmod 644 |