2013-12-06 11:52:18 +01:00
|
|
|
#
|
|
|
|
# spec file for package ledmon
|
|
|
|
#
|
2015-03-04 14:27:18 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2013-12-06 11:52:18 +01:00
|
|
|
#
|
|
|
|
# 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.79
|
2014-09-03 18:26:44 +02:00
|
|
|
Release: 0
|
2013-12-06 11:52:18 +01:00
|
|
|
Summary: Enclosure LED Utilities
|
2014-01-10 09:50:56 +01:00
|
|
|
License: GPL-2.0
|
|
|
|
Group: Hardware/Other
|
2015-04-23 08:01:34 +02:00
|
|
|
Url: http://sourceforge.net/projects/ledmon/
|
|
|
|
Source0: http://sourceforge.net/projects/ledmon/files/ledmon-%{version}/%{name}-%{version}.tar.gz
|
2013-12-06 11:52:18 +01:00
|
|
|
Patch0: Makefile-error-dependency.patch
|
|
|
|
BuildRequires: libsgutils-devel
|
|
|
|
Provides: sgpio:/sbin/ledmon
|
2015-04-23 08:01:34 +02:00
|
|
|
Provides: sgpio:/{%{_bindir}}/ledctl
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-12-06 11:52:18 +01:00
|
|
|
|
|
|
|
%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 -p1
|
|
|
|
|
|
|
|
%build
|
2015-04-23 08:01:34 +02:00
|
|
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
2013-12-06 11:52:18 +01:00
|
|
|
|
|
|
|
%install
|
2015-04-23 08:01:34 +02:00
|
|
|
make DESTDIR=%{buildroot} install %{?_smp_mflags}
|
2013-12-06 11:52:18 +01:00
|
|
|
|
|
|
|
%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
|