Files
perl-Net-ILO/perl-Net-ILO.spec
2025-08-12 18:16:00 +02:00

89 lines
2.5 KiB
RPMSpec

#
# spec file for package perl-Net-ILO
#
# Copyright (c) 2024 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
%define cpan_name Net-ILO
Name: perl-Net-ILO
Version: 0.540.0
Release: 0
# 0.54 -> normalize -> 0.540.0
%define cpan_version 0.54
License: Artistic-1.0 OR GPL-1.0-or-later
Summary: Interface to HP Integrated Lights-Out
URL: https://metacpan.org/release/%{cpan_name}
Source0: https://cpan.metacpan.org/authors/id/N/NL/NLEWIS/%{cpan_name}-%{cpan_version}.tar.gz
Source1: cpanspec.yml
Source100: README.md
BuildArch: noarch
BuildRequires: perl
BuildRequires: perl-macros
BuildRequires: perl(IO::Socket::SSL)
BuildRequires: perl(XML::Simple)
Requires: perl(IO::Socket::SSL)
Requires: perl(XML::Simple)
Provides: perl(Net::ILO) = %{version}
%undefine __perllib_provides
%{perl_requires}
%description
The Net::ILO module is an interface to a subset of Hewlett-Packards
Integrated Lights-Out out-of-band management system. HP's API is XML-based
and cumbersome to use; this module aims to simplify accessing the iLO from
Perl while retaining as much functionality as possible.
Not every iLO function is implemented here, however most common ones are.
This module is based on the sixth edition of the "HP Integrated Lights-Out
Management Processor Scripting and Command Line Resource Guide" and has
been successfully tested with the following server types:
DL360/G3
DL360/G4
DL360/G4p
DL360/G5
DL360/G6
DL360/G7 ** see note below
DL380/G3
DL380/G4
DL380/G5
It should work with other server models; feedback (either way) is much
appreciated.
Note: iLO 3 support is in BETA, and still being tested.
%prep
%autosetup -n %{cpan_name}
%build
perl Makefile.PL INSTALLDIRS=vendor
%make_build
%check
make test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%files -f %{name}.files
%doc Changes README TODO
%license LICENSE
%changelog