Blame SPECS/ledmon.spec

f550d0
Summary: Enclosure LED Utilities
f550d0
Name: ledmon
55252e
Version: 0.96
55252e
Release: 2%{?dist}
f550d0
License: GPLv2+
f550d0
Group: Applications/System
f550d0
URL: https://github.com/intel/ledmon
f550d0
Source0: https://github.com/intel/ledmon/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
f550d0
f550d0
BuildRequires: perl-interpreter perl-podlators
f550d0
BuildRequires: sg3_utils-devel
e14a02
BuildRequires: pciutils-devel
9369b9
BuildRequires: autoconf, automake
f550d0
# Needed for the udev dependency.
f550d0
BuildRequires: systemd-devel
55252e
BuildRequires: systemd-rpm-macros
55252e
f550d0
Obsoletes: ledctl = 0.1-1
f550d0
Provides: ledctl = %{version}-%{release}
f550d0
Requires: sg3_utils-libs
f550d0
f550d0
%description
f550d0
The ledmon and ledctl are user space applications design to control LED
f550d0
associated with each slot in an enclosure or a drive bay. There are two
f550d0
types of system: 2-LED system (Activity LED, Status LED) and 3-LED system
f550d0
(Activity LED, Locate LED, Fail LED). User must have root privileges to
f550d0
use this application.
f550d0
f550d0
%prep
f550d0
%setup -q
f550d0
f550d0
%build
f550d0
# can't use smp_flags because -j4 makes the build fail
9369b9
#make CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
9369b9
sh autogen.sh
9369b9
%configure --enable-systemd=yes
9369b9
make
f550d0
f550d0
%install
f550d0
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT SBIN_DIR=$RPM_BUILD_ROOT/%{_sbindir} MANDIR=$RPM_BUILD_ROOT%{_mandir}
f550d0
55252e
%post
55252e
%systemd_post ledmon.service
55252e
55252e
%preun
55252e
%systemd_preun ledmon.service
55252e
55252e
%postun
55252e
%systemd_postun_with_restart ledmon.service
55252e
f550d0
%files
360e0c
%doc README.md COPYING
f550d0
%{_sbindir}/ledctl
f550d0
%{_sbindir}/ledmon
f550d0
%{_mandir}/*/*
9369b9
%{_unitdir}/ledmon.service
f550d0
f550d0
%changelog
55252e
* Mon Jun 27 2022 Jan Macku <jamacku@redhat.com> - 0.96-2
55252e
- Use systemd-rpm-macros to handle ledmon.service (#2073331)
55252e
55252e
* Wed Jun 01 2022 Jan Macku <jamacku@redhat.com> - 0.96-1
55252e
- update to 0.96 (#2041713)
55252e
360e0c
* Mon Jan 18 2021 Jan Macku <jamacku@redhat.com> - 0.95-1
360e0c
- update to 0.95 (#1841501)
360e0c
360e0c
* Thu Jan 14 2021 Jan Macku <jamacku@redhat.com> - 0.94-2
360e0c
- tests: fix test to run on reverse depedency pipeline (#1912591)
360e0c
e14a02
* Mon Feb 17 2020 Jan Synáček <jsynacek@redhat.com> - 0.94-1
e14a02
- update to 0.94 (#1780521)
e14a02
9369b9
* Tue Dec 10 2019 Jan Synáček <jsynacek@redhat.com> - 0.93-1
9369b9
- update to 0.93 (#1721928)
9369b9
f550d0
* Tue Jun  4 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-7
f550d0
- tests: fix tests (#1681030)
f550d0
f550d0
* Tue Jun  4 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-6
f550d0
- tests: fix tests (#1681030)
f550d0
f550d0
* Mon Jun  3 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-5
f550d0
- tests: skip tests on unsupported devices (#1681030)
f550d0
f550d0
* Mon May 27 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-4
f550d0
- fix the _ledmon_status() function (#1681030)
f550d0
f550d0
* Mon May 20 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-3
f550d0
- tests: fix segfault when a value is missing from ibpi_str[] (#1681030)
f550d0
f550d0
* Mon May  6 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-2
f550d0
- tests: add PURPOSE target (#1681030)
f550d0
f550d0
* Mon Apr 15 2019 Jan Synáček <jsynacek@redhat.com> - 0.92-1
f550d0
- update to 0.92 (#1661204)
f550d0
f550d0
* Fri Feb 15 2019 Jan Synáček <jsynacek@redhat.com> - 0.90-3
f550d0
- LEDs do not work properly during migration (#1669232)
f550d0
f550d0
* Tue Aug  7 2018 Jan Synáček <jsynacek@redhat.com> - 0.90-2
f550d0
- fix manpage generation (#1612711)
f550d0
f550d0
* Wed Mar 14 2018 Jan Synáček <jsynacek@redhat.com> - 0.90-1
f550d0
- update to 0.90 (#1555099)
f550d0
f550d0
* Mon Feb 26 2018 Jan Synáček <jsynacek@redhat.com> - 0.80-6
f550d0
- use distribution LDFLAGS during build (#1548551)
f550d0
f550d0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-5
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f550d0
f550d0
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-4
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f550d0
f550d0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-3
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f550d0
f550d0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.80-2
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f550d0
f550d0
* Tue Dec  6 2016 Jan Synáček <jsynacek@redhat.com> - 0.80-1
f550d0
- Update to 0.80 (#1401924)
f550d0
f550d0
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.79-5
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f550d0
f550d0
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-4
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f550d0
f550d0
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-3
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f550d0
f550d0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-2
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f550d0
f550d0
* Thu Nov 28 2013 Michal Sekletar <msekleta@redhat.com> - 0.79-1
f550d0
- update to 0.79
f550d0
f550d0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.78-2
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f550d0
f550d0
* Wed Jul 03 2013 Michal Sekletar <msekleta@redhat.com> - 0.78-1
f550d0
- Update to 0.78
f550d0
f550d0
* Fri Apr 19 2013 Jan Synáček <jsynacek@redhat.com> - 0.77-1
f550d0
- Update to 0.77
f550d0
- Documentation enhancements
f550d0
f550d0
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.75-2
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f550d0
f550d0
* Mon Jan 07 2013 Jan Synáček <jsynacek@redhat.com> - 0.75-1
f550d0
- Update to 0.75 and drop upstreamed patch
f550d0
f550d0
* Thu Nov 15 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-3
f550d0
- Some coverity fixes
f550d0
f550d0
* Fri Oct 19 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-2
f550d0
- Require sg3_utils-libs
f550d0
f550d0
* Mon Aug 13 2012 Jan Synáček <jsynacek@redhat.com> - 0.74-1
f550d0
- Update to 0.74
f550d0
- Resolves: #847072
f550d0
f550d0
* Tue Aug 07 2012 Jan Synáček <jsynacek@redhat.com> - 0.72-1
f550d0
- Update to 0.72 and update patch
f550d0
- Resolves: #846018
f550d0
f550d0
* Wed Jul 25 2012 Jan Synáček <jsynacek@redhat.com> - 0.40-1
f550d0
- Update to 0.40
f550d0
- Resolves: #838086
f550d0
- Make spec fedora-review friendly
f550d0
f550d0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32-2
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
f550d0
f550d0
* Mon Mar 05 2012 Jan Synáček <jsynacek@redhat.com> - 0.32-1
f550d0
- Update to 0.32
f550d0
f550d0
* Fri Feb 10 2012 Jan Synáček <jsynacek@redhat.com> - 0.31-1
f550d0
- Update to 0.31
f550d0
f550d0
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-4
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
f550d0
f550d0
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-3
f550d0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f550d0
f550d0
* Fri Jan 14 2011 Jiri Moskovcak <jmoskovc@redhat.com> 0.1-2
f550d0
- renamed to ledmon, because ledctl is taken
f550d0
f550d0
* Fri Jan 07 2011 Jiri Moskovcak <jmoskovc@redhat.com> 0.1-1
f550d0
- initial release