SHA256
1
0
forked from pool/ledmon
ledmon/ledmon.spec
Dirk Mueller dcd1092024 Accepting request 448169 from home:pluskalm:branches:Base:System
- Update to version 0.80:
  * No upstream changelog available
  * refresh Makefile-error-dependency.patch
- Drop no longer needed 0001-Recognize_bool_values_in_sysfs.patch

OBS-URL: https://build.opensuse.org/request/show/448169
OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=16
2017-01-02 08:53:35 +00:00

58 lines
1.7 KiB
RPMSpec

#
# spec file for package ledmon
#
# Copyright (c) 2016 SUSE LINUX 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/
#
Name: ledmon
Version: 0.80
Release: 0
Summary: Enclosure LED Utilities
License: GPL-2.0
Group: Hardware/Other
Url: http://sourceforge.net/projects/ledmon/
Source0: http://sourceforge.net/projects/ledmon/files/ledmon-%{version}/%{name}-%{version}.tar.gz
Patch0: Makefile-error-dependency.patch
BuildRequires: libsgutils-devel
Provides: sgpio:/sbin/ledmon
Provides: sgpio:/{%{_bindir}}/ledctl
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%setup -q
%patch0
%build
make %{?_smp_mflags} CXFLAGS="%{optflags} -lsgutils2"
%install
%make_install
%files
%defattr(-,root,root)
%doc README COPYING
%{_sbindir}/ledmon
%{_sbindir}/ledctl
%{_mandir}/man5/ledctl.conf.5%{ext_man}
%{_mandir}/man8/ledctl.8%{ext_man}
%{_mandir}/man8/ledmon.8%{ext_man}
%changelog