SHA256
1
0
forked from pool/ledmon
ledmon/ledmon.spec
Marcus Meissner 83bdcb4254 Accepting request 288449 from home:dimstar:Factory
- Do not BuildRequire libsgutils2-2: pulling in the library is
  responsibility of the respective -devel packages.

OBS-URL: https://build.opensuse.org/request/show/288449
OBS-URL: https://build.opensuse.org/package/show/Base:System/ledmon?expand=0&rev=6
2015-03-04 13:27:18 +00:00

71 lines
1.8 KiB
RPMSpec

#
# spec file for package ledmon
#
# Copyright (c) 2015 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
Url: http://sourceforge.net/projects/ledmon/
Version: 0.79
Release: 0
#Release: 0.<RELEASE5>
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: Enclosure LED Utilities
License: GPL-2.0
Group: Hardware/Other
Source0: %{name}-%{version}.tar.gz
Patch0: Makefile-error-dependency.patch
#BuildRequires: smp_utils
#BuildRequires: sg3_utils-devel
BuildRequires: libsgutils-devel
#Requires: sg3_utils
Provides: sgpio:/sbin/ledmon
Provides: sgpio:/{%_bindir}/ledctl
%description
The ledctl application and ledmon daemon are part of Intel(R) LED
ControlUtilities. They help to enable LED management for software RAID
solutions.
Authors:
--------
artur.wojcik@intel.com
%prep
%setup -q
%patch0 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS"
%install
DESTDIR=$RPM_BUILD_ROOT make install
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%doc README COPYING
%{_sbindir}/ledmon
%{_sbindir}/ledctl
%{_mandir}/man5/ledctl.conf.5.gz
%{_mandir}/man8/ledctl.8.gz
%{_mandir}/man8/ledmon.8.gz
%changelog