- Update to version 0.97: Enhancements ledctl: add support to empty slots blinking ledmon license change to LGPLv2 ledctl: Add SES get/set/list slot support Update NPEM wait command Remove exclusionary language ledmon: Define ONESHOT_NORMAL for VMD Bug fixes ipmi: avoid error messages on non-dell platforms vmdssd: define normal pattern ledctl: clear unsupported params from config block.c: get_block_device_from_sysfs_path modification fix ibpi_value lists getter amd_ipmi: Allow to _enable_smbus_control ledmon.c: allocate memory for ignore sysfs: add only vmd devices to slots_list Rename --controller parameter Slots list implementations and fixes - Drop no longer needed patches: * 0001-Ledctl-slots-management-94.patch * 0002-add-Dell-15G-servers.patch * 0003-ipmi-avoid-error-messages-on-non-dell-platforms-112.patch OBS-URL: https://build.opensuse.org/request/show/1087724 OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=49
85 lines
2.2 KiB
RPMSpec
85 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package ledmon
|
|
#
|
|
# Copyright (c) 2023 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/
|
|
#
|
|
|
|
|
|
Name: ledmon
|
|
Version: 0.97
|
|
Release: 0
|
|
Summary: Enclosure LED Utilities
|
|
License: GPL-2.0-only AND LGPL-2.1-or-later
|
|
Group: Hardware/Other
|
|
URL: https://github.com/intel/ledmon/
|
|
Source0: https://github.com/intel/ledmon/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Patch0: harden_ledmon.service.patch
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: libsgutils-devel
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: systemd-rpm-macros
|
|
BuildRequires: pkgconfig(libpci)
|
|
BuildRequires: pkgconfig(libudev)
|
|
BuildRequires: pkgconfig(systemd)
|
|
Provides: sgpio:/sbin/ledmon
|
|
Provides: sgpio:/{%{_bindir}}/ledctl
|
|
%{?systemd_requires}
|
|
|
|
%description
|
|
The ledctl application and ledmon daemon are part of Intel(R) LED
|
|
ControlUtilities. They help to enable LED management for software RAID
|
|
solutions.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%define _lto_cflags %{nil}
|
|
autoreconf -fiv
|
|
%configure \
|
|
--enable-systemd=yes
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
ln -sv %{_sbindir}/service \
|
|
%{buildroot}%{_sbindir}/rc%{name}
|
|
rm %{buildroot}%{_datarootdir}/doc/ledmon/README.md
|
|
|
|
%pre
|
|
%service_add_pre %{name}.service
|
|
|
|
%post
|
|
%service_add_post %{name}.service
|
|
|
|
%preun
|
|
%service_del_preun %{name}.service
|
|
|
|
%postun
|
|
%service_del_postun %{name}.service
|
|
|
|
%files
|
|
%license COPYING COPYING.LIB
|
|
%doc README.md
|
|
%{_sbindir}/ledmon
|
|
%{_sbindir}/ledctl
|
|
%{_sbindir}/rcledmon
|
|
%{_unitdir}/ledmon.service
|
|
%{_mandir}/man5/ledmon.conf.5%{?ext_man}
|
|
%{_mandir}/man8/ledctl.8%{?ext_man}
|
|
%{_mandir}/man8/ledmon.8%{?ext_man}
|
|
|
|
%changelog
|