forked from pool/ipmitool
19edee2bc0
Changes: many, see http://ipmitool.cvs.sourceforge.net/viewvc/ipmitool/ipmitool/ChangeLog?revision=1.37&view=markup&pathrev=IPMITOOL_1_8_12 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=8
96 lines
2.8 KiB
RPMSpec
96 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package ipmitool
|
|
#
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: ipmitool
|
|
BuildRequires: openssl-devel readline-devel
|
|
BuildRequires: libtool
|
|
Url: http://ipmitool.sourceforge.net/
|
|
Summary: Utility for IPMI Control
|
|
Version: 1.8.12
|
|
Release: 9
|
|
License: BSD-3-Clause
|
|
Group: System/Management
|
|
Source: http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
|
|
Patch: compile-fixes
|
|
Patch1: ipmitool-1.8.10-implicit-fortify-decl.patch
|
|
Patch2: increase_possible_fw_file_size.patch
|
|
Patch3: fwum_enhance_output.patch
|
|
Patch4: sdradd_close_file_handle.patch
|
|
Patch5: ekanalyzer_fix_wrong_type_comparison.patch
|
|
Patch6: fix_file_permissions.patch
|
|
Patch8: several_more_compile_fixes.patch
|
|
Patch9: automake-1.13.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
This package contains a utility for interfacing with devices that
|
|
support the Intelligent Platform Management Interface specification.
|
|
IPMI is an open standard for machine health, inventory, and remote
|
|
power control.
|
|
|
|
This utility can communicate with IPMI-enabled devices through either a
|
|
kernel driver such as OpenIPMI or over the RMCP LAN protocol defined in
|
|
the IPMI specification. IPMIv2 adds support for encrypted LAN
|
|
communications and remote Serial-over-LAN functionality.
|
|
|
|
It provides commands for reading the Sensor Data Repository (SDR) and
|
|
displaying sensor values, displaying the contents of the System Event
|
|
Log (SEL), printing Field Replaceable Unit (FRU) information, reading
|
|
and setting LAN configuration, and chassis power control.
|
|
|
|
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch -p1
|
|
%patch1 -p0
|
|
%patch2 -p1
|
|
%patch3 -p1
|
|
%patch4 -p1
|
|
%patch5 -p1
|
|
%patch6 -p1
|
|
%patch8 -p1
|
|
%patch9 -p1
|
|
|
|
%build
|
|
touch INSTALL NEWS
|
|
autoreconf -fiv
|
|
%configure --with-pic
|
|
%{__make} %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/ipmitool
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING README
|
|
%{_bindir}/*
|
|
%{_sbindir}/*
|
|
%{_datadir}/ipmitool
|
|
#%{_datadir}/doc/packages/ipmitool/*
|
|
%doc %{_mandir}/man1/*
|
|
%doc %{_mandir}/man8/*
|
|
|
|
%changelog
|