|
|
739f98 |
Summary: Enclosure LED Utilities
|
|
|
739f98 |
Name: ledmon
|
|
|
a914a3 |
Version: 0.79
|
|
|
889294 |
Release: 4%{?dist}
|
|
|
739f98 |
License: GPLv2+
|
|
|
739f98 |
Group: Applications/System
|
|
|
739f98 |
URL: http://sourceforge.net/projects/ledmon/
|
|
|
739f98 |
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
739f98 |
Patch0: ledmon_cflags.patch
|
|
|
889294 |
Patch1: 0001-Recognize-bool-values-in-sysfs.patch
|
|
|
739f98 |
BuildRequires: perl
|
|
|
739f98 |
BuildRequires: sg3_utils-devel
|
|
|
739f98 |
Obsoletes: ledctl = 0.1-1
|
|
|
739f98 |
Provides: ledctl = %{version}-%{release}
|
|
|
739f98 |
Requires: sg3_utils-libs
|
|
|
739f98 |
|
|
|
739f98 |
%description
|
|
|
739f98 |
The ledmon and ledctl are user space applications design to control LED
|
|
|
739f98 |
associated with each slot in an enclosure or a drive bay. There are two
|
|
|
739f98 |
types of system: 2-LED system (Activity LED, Status LED) and 3-LED system
|
|
|
739f98 |
(Activity LED, Locate LED, Fail LED). User must have root privileges to
|
|
|
739f98 |
use this application.
|
|
|
739f98 |
|
|
|
739f98 |
%prep
|
|
|
739f98 |
%setup -q
|
|
|
739f98 |
%patch0 -p1 -b .cflags
|
|
|
889294 |
%patch1 -p1
|
|
|
739f98 |
|
|
|
739f98 |
%build
|
|
|
739f98 |
# can't use smp_flags because -j4 makes the build fail
|
|
|
739f98 |
make CFLAGS="$RPM_OPT_FLAGS --std=c99"
|
|
|
739f98 |
|
|
|
739f98 |
%install
|
|
|
739f98 |
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
|
|
739f98 |
|
|
|
739f98 |
%files
|
|
|
739f98 |
%doc README COPYING
|
|
|
739f98 |
%{_sbindir}/ledctl
|
|
|
739f98 |
%{_sbindir}/ledmon
|
|
|
739f98 |
%{_mandir}/*/*
|
|
|
739f98 |
|
|
|
739f98 |
%changelog
|
|
|
889294 |
* Wed Sep 16 2015 Jan Synáček <jsynacek@redhat.com> - 0.79-4
|
|
|
889294 |
- Fix: Ledmon does not work with AHCI (#1262799)
|
|
|
889294 |
|
|
|
a914a3 |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.79-3
|
|
|
a914a3 |
- Mass rebuild 2014-01-24
|
|
|
a914a3 |
|
|
|
a914a3 |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.79-2
|
|
|
a914a3 |
- Mass rebuild 2013-12-27
|
|
|
a914a3 |
|
|
|
a914a3 |
* Thu Nov 28 2013 Jan Synáček <jsynacek@redhat.com> - 0.79-1
|
|
|
a914a3 |
- Update to 0.79
|
|
|
a914a3 |
- Resolves: #887206
|
|
|
a914a3 |
|
|
|
739f98 |
* Fri Apr 19 2013 Jan Synáček <jsynacek@redhat.com> - 0.77-1
|
|
|
739f98 |
- Update to 0.77
|
|
|
739f98 |
- Documentation enhancements
|
|
|
739f98 |
|
|
|
739f98 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75-2
|
|
|
739f98 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
739f98 |
|
|
|
739f98 |
* Mon Jan 07 2013 Jan Synáček <jsynacek@redhat.com> - 0.75-1
|
|
|
739f98 |
- Update to 0.75 and drop upstreamed patch
|
|
|
739f98 |
|
|
|
739f98 |
* Thu Nov 15 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-3
|
|
|
739f98 |
- Some coverity fixes
|
|
|
739f98 |
|
|
|
739f98 |
* Fri Oct 19 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-2
|
|
|
739f98 |
- Require sg3_utils-libs
|
|
|
739f98 |
|
|
|
739f98 |
* Mon Aug 13 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-1
|
|
|
739f98 |
- Update to 0.74
|
|
|
739f98 |
- Resolves: #847072
|
|
|
739f98 |
|
|
|
739f98 |
* Tue Aug 07 2012 Jan Synáček <jsynacek@redhat.com> - 0.72-1
|
|
|
739f98 |
- Update to 0.72 and update patch
|
|
|
739f98 |
- Resolves: #846018
|
|
|
739f98 |
|
|
|
739f98 |
* Wed Jul 25 2012 Jan Synáček <jsynacek@redhat.com> - 0.40-1
|
|
|
739f98 |
- Update to 0.40
|
|
|
739f98 |
- Resolves: #838086
|
|
|
739f98 |
- Make spec fedora-review friendly
|
|
|
739f98 |
|
|
|
739f98 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-2
|
|
|
739f98 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
739f98 |
|
|
|
739f98 |
* Mon Mar 05 2012 Jan Synáček <jsynacek@redhat.com> - 0.32-1
|
|
|
739f98 |
- Update to 0.32
|
|
|
739f98 |
|
|
|
739f98 |
* Fri Feb 10 2012 Jan Synáček <jsynacek@redhat.com> - 0.31-1
|
|
|
739f98 |
- Update to 0.31
|
|
|
739f98 |
|
|
|
739f98 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
|
|
|
739f98 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
739f98 |
|
|
|
739f98 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
|
|
|
739f98 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
739f98 |
|
|
|
739f98 |
* Fri Jan 14 2011 Jiri Moskovcak <jmoskovc@redhat.com> 0.1-2
|
|
|
739f98 |
- renamed to ledmon, because ledctl is taken
|
|
|
739f98 |
|
|
|
739f98 |
* Fri Jan 07 2011 Jiri Moskovcak <jmoskovc@redhat.com> 0.1-1
|
|
|
739f98 |
- initial release
|