|
|
139da6 |
Summary: Enclosure LED Utilities
|
|
|
139da6 |
Name: ledmon
|
|
|
3476ae |
Version: 0.92
|
|
|
3476ae |
Release: 7%{?dist}
|
|
|
139da6 |
License: GPLv2+
|
|
|
139da6 |
Group: Applications/System
|
|
|
139da6 |
URL: https://github.com/intel/ledmon
|
|
|
139da6 |
Source0: https://github.com/intel/ledmon/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
139da6 |
|
|
|
139da6 |
Patch0: ledmon_cflags.patch
|
|
|
3476ae |
Patch1: 0001-fix-segfault-when-a-value-is-missing-from-ibpi_str.patch
|
|
|
3476ae |
Patch2: 0002-fix-the-_ledmon_status-function.patch
|
|
|
3476ae |
Patch3: 0003-use-proper-format-string-with-syslog.patch
|
|
|
139da6 |
BuildRequires: perl-interpreter perl-podlators
|
|
|
139da6 |
BuildRequires: sg3_utils-devel
|
|
|
139da6 |
# Needed for the udev dependency.
|
|
|
139da6 |
BuildRequires: systemd-devel
|
|
|
139da6 |
Obsoletes: ledctl = 0.1-1
|
|
|
139da6 |
Provides: ledctl = %{version}-%{release}
|
|
|
139da6 |
Requires: sg3_utils-libs
|
|
|
139da6 |
|
|
|
139da6 |
%description
|
|
|
139da6 |
The ledmon and ledctl are user space applications design to control LED
|
|
|
139da6 |
associated with each slot in an enclosure or a drive bay. There are two
|
|
|
139da6 |
types of system: 2-LED system (Activity LED, Status LED) and 3-LED system
|
|
|
139da6 |
(Activity LED, Locate LED, Fail LED). User must have root privileges to
|
|
|
139da6 |
use this application.
|
|
|
139da6 |
|
|
|
139da6 |
%prep
|
|
|
139da6 |
%setup -q
|
|
|
139da6 |
%patch0 -p1 -b .cflags
|
|
|
139da6 |
%patch1 -p1
|
|
|
3476ae |
%patch2 -p1
|
|
|
3476ae |
%patch3 -p1
|
|
|
139da6 |
|
|
|
139da6 |
%build
|
|
|
139da6 |
# can't use smp_flags because -j4 makes the build fail
|
|
|
139da6 |
make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
|
|
|
139da6 |
|
|
|
139da6 |
%install
|
|
|
139da6 |
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
|
|
139da6 |
|
|
|
139da6 |
%files
|
|
|
139da6 |
%doc README COPYING
|
|
|
139da6 |
%{_sbindir}/ledctl
|
|
|
139da6 |
%{_sbindir}/ledmon
|
|
|
139da6 |
%{_mandir}/*/*
|
|
|
139da6 |
|
|
|
139da6 |
%changelog
|
|
|
3476ae |
* Tue Jun 4 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-7
|
|
|
3476ae |
- tests: fix tests (#1681030)
|
|
|
3476ae |
|
|
|
3476ae |
* Tue Jun 4 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-6
|
|
|
3476ae |
- tests: fix tests (#1681030)
|
|
|
3476ae |
|
|
|
3476ae |
* Mon Jun 3 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-5
|
|
|
3476ae |
- tests: skip tests on unsupported devices (#1681030)
|
|
|
3476ae |
|
|
|
3476ae |
* Mon May 27 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-4
|
|
|
3476ae |
- fix the _ledmon_status() function (#1681030)
|
|
|
3476ae |
|
|
|
3476ae |
* Mon May 20 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-3
|
|
|
3476ae |
- tests: fix segfault when a value is missing from ibpi_str[] (#1681030)
|
|
|
3476ae |
|
|
|
3476ae |
* Mon May 6 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-2
|
|
|
3476ae |
- tests: add PURPOSE target (#1681030)
|
|
|
3476ae |
|
|
|
3476ae |
* Mon Apr 15 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-1
|
|
|
3476ae |
- update to 0.92 (#1661204)
|
|
|
3476ae |
|
|
|
139da6 |
* Fri Feb 15 2019 Jan Synáček <jsynacek@redhat.com> - 0.90-3
|
|
|
139da6 |
- LEDs do not work properly during migration (#1669232)
|
|
|
139da6 |
|
|
|
139da6 |
* Tue Aug 7 2018 Jan Synáček <jsynacek@redhat.com> - 0.90-2
|
|
|
139da6 |
- fix manpage generation (#1612711)
|
|
|
139da6 |
|
|
|
139da6 |
* Wed Mar 14 2018 Jan Synáček <jsynacek@redhat.com> - 0.90-1
|
|
|
139da6 |
- update to 0.90 (#1555099)
|
|
|
139da6 |
|
|
|
139da6 |
* Mon Feb 26 2018 Jan Synáček <jsynacek@redhat.com> - 0.80-6
|
|
|
139da6 |
- use distribution LDFLAGS during build (#1548551)
|
|
|
139da6 |
|
|
|
139da6 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-5
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-4
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-3
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-2
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Tue Dec 6 2016 Jan Synáček <jsynacek@redhat.com> - 0.80-1
|
|
|
139da6 |
- Update to 0.80 (#1401924)
|
|
|
139da6 |
|
|
|
139da6 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.79-5
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-4
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-3
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-2
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Thu Nov 28 2013 Michal Sekletar <msekleta@redhat.com> - 0.79-1
|
|
|
139da6 |
- update to 0.79
|
|
|
139da6 |
|
|
|
139da6 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.78-2
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Wed Jul 03 2013 Michal Sekletar <msekleta@redhat.com> - 0.78-1
|
|
|
139da6 |
- Update to 0.78
|
|
|
139da6 |
|
|
|
139da6 |
* Fri Apr 19 2013 Jan Synáček <jsynacek@redhat.com> - 0.77-1
|
|
|
139da6 |
- Update to 0.77
|
|
|
139da6 |
- Documentation enhancements
|
|
|
139da6 |
|
|
|
139da6 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75-2
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Mon Jan 07 2013 Jan Synáček <jsynacek@redhat.com> - 0.75-1
|
|
|
139da6 |
- Update to 0.75 and drop upstreamed patch
|
|
|
139da6 |
|
|
|
139da6 |
* Thu Nov 15 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-3
|
|
|
139da6 |
- Some coverity fixes
|
|
|
139da6 |
|
|
|
139da6 |
* Fri Oct 19 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-2
|
|
|
139da6 |
- Require sg3_utils-libs
|
|
|
139da6 |
|
|
|
139da6 |
* Mon Aug 13 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-1
|
|
|
139da6 |
- Update to 0.74
|
|
|
139da6 |
- Resolves: #847072
|
|
|
139da6 |
|
|
|
139da6 |
* Tue Aug 07 2012 Jan Synáček <jsynacek@redhat.com> - 0.72-1
|
|
|
139da6 |
- Update to 0.72 and update patch
|
|
|
139da6 |
- Resolves: #846018
|
|
|
139da6 |
|
|
|
139da6 |
* Wed Jul 25 2012 Jan Synáček <jsynacek@redhat.com> - 0.40-1
|
|
|
139da6 |
- Update to 0.40
|
|
|
139da6 |
- Resolves: #838086
|
|
|
139da6 |
- Make spec fedora-review friendly
|
|
|
139da6 |
|
|
|
139da6 |
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-2
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Mon Mar 05 2012 Jan Synáček <jsynacek@redhat.com> - 0.32-1
|
|
|
139da6 |
- Update to 0.32
|
|
|
139da6 |
|
|
|
139da6 |
* Fri Feb 10 2012 Jan Synáček <jsynacek@redhat.com> - 0.31-1
|
|
|
139da6 |
- Update to 0.31
|
|
|
139da6 |
|
|
|
139da6 |
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
|
|
|
139da6 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
139da6 |
|
|
|
139da6 |
* Fri Jan 14 2011 Jiri Moskovcak <jmoskovc@redhat.com> 0.1-2
|
|
|
139da6 |
- renamed to ledmon, because ledctl is taken
|
|
|
139da6 |
|
|
|
139da6 |
* Fri Jan 07 2011 Jiri Moskovcak <jmoskovc@redhat.com> 0.1-1
|
|
|
139da6 |
- initial release
|