File ledmon.spec of Package ledmon

# spec file for package ledmon
# Copyright (c) 2018 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

Name:           ledmon
Version:        0.90
Release:        0
Summary:        Enclosure LED Utilities
License:        GPL-2.0
Group:          Hardware/Other
Patch1:		0001-Recognize-RAID-volume-under-reshape-as-DEVICE_TYPE_V.patch
BuildRequires:  libsgutils-devel
BuildRequires:  libudev-devel
Provides:       sgpio:/sbin/ledmon
Provides:       sgpio:/{%{_bindir}}/ledctl
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The ledctl application and ledmon daemon are part of Intel(R) LED
ControlUtilities. They help to enable LED management for software RAID

%setup -q
%patch1 -p1

make -j1 CXFLAGS="%{optflags} -lsgutils2 -std=c99"



openSUSE Build Service is sponsored by