Summary: Enclosure LED Utilities Name: ledmon Version: 0.31 Release: 1%{?dist} License: GPLv2+ Group: Applications/System URL: http://sourceforge.net/projects/ledmon/ Source0: http://download.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2 Patch0: ledmon_cflags.patch BuildRequires: perl BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 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 rm -rf $RPM_BUILD_ROOT make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README COPYING %{_sbindir}/ledctl %{_sbindir}/ledmon %{_mandir}/*/* %changelog * Fri Feb 10 2012 Jan Synáček - 0.31-1 - Update to 0.31 * Fri Jan 13 2012 Fedora Release Engineering - 0.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Feb 07 2011 Fedora Release Engineering - 0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jan 14 2011 Jiri Moskovcak 0.1-2 - renamed to ledmon, because ledctl is taken * Fri Jan 07 2011 Jiri Moskovcak 0.1-1 - initial release