2011-02-07 17:24:24 +00:00
|
|
|
Summary: Enclosure LED Utilities
|
|
|
|
Name: ledmon
|
2012-07-25 05:57:51 +00:00
|
|
|
Version: 0.40
|
|
|
|
Release: 1%{?dist}
|
2011-02-07 17:24:24 +00:00
|
|
|
License: GPLv2+
|
|
|
|
Group: Applications/System
|
|
|
|
URL: http://sourceforge.net/projects/ledmon/
|
2012-02-10 09:42:23 +00:00
|
|
|
Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
2011-02-07 17:24:24 +00:00
|
|
|
Patch0: ledmon_cflags.patch
|
|
|
|
BuildRequires: perl
|
|
|
|
Obsoletes: ledctl = 0.1-1
|
|
|
|
Provides: ledctl = %{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
The ledmon and ledctl are user space applications design to control LED
|
|
|
|
associated with each slot in an enclosure or a drive bay. There are two
|
|
|
|
types of system: 2-LED system (Activity LED, Status LED) and 3-LED system
|
|
|
|
(Activity LED, Locate LED, Fail LED). User must have root privileges to
|
|
|
|
use this application.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1 -b .cflags
|
|
|
|
|
|
|
|
%build
|
|
|
|
# can't use smp_flags because -j4 makes the build fail
|
|
|
|
make CFLAGS="$RPM_OPT_FLAGS --std=c99"
|
|
|
|
|
|
|
|
%install
|
|
|
|
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc README COPYING
|
|
|
|
%{_sbindir}/ledctl
|
|
|
|
%{_sbindir}/ledmon
|
|
|
|
%{_mandir}/*/*
|
|
|
|
|
|
|
|
%changelog
|
2012-07-25 05:57:51 +00:00
|
|
|
* Wed Jul 25 2012 Jan Synáček <jsynacek@redhat.com> - 0.40-1
|
|
|
|
- Update to 0.40
|
|
|
|
- Resolves: #838086
|
2012-07-25 05:58:56 +00:00
|
|
|
- Make spec fedora-review friendly
|
2012-07-25 05:57:51 +00:00
|
|
|
|
2012-07-19 18:57:20 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-03-05 08:33:45 +00:00
|
|
|
* Mon Mar 05 2012 Jan Synáček <jsynacek@redhat.com> - 0.32-1
|
|
|
|
- Update to 0.32
|
|
|
|
|
2012-02-10 09:42:23 +00:00
|
|
|
* Fri Feb 10 2012 Jan Synáček <jsynacek@redhat.com> - 0.31-1
|
|
|
|
- Update to 0.31
|
|
|
|
|
2012-01-13 07:11:36 +00:00
|
|
|
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-08 04:01:42 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-07 17:24:24 +00:00
|
|
|
* Fri Jan 14 2011 Jiri Moskovcak <jmoskovc@redhat.com> 0.1-2
|
|
|
|
- renamed to ledmon, because ledctl is taken
|
|
|
|
|
|
|
|
* Fri Jan 07 2011 Jiri Moskovcak <jmoskovc@redhat.com> 0.1-1
|
2012-02-10 09:42:23 +00:00
|
|
|
- initial release
|