1db140
%global gitver rel-2-4-19
1db140
1db140
Summary: Utilities for the IBM Power Linux RAID adapters
1db140
Name:    iprutils
1db140
Version: 2.4.19
1db140
Release: 5%{?dist}
1db140
License: CPL
1db140
URL:     https://github.com/bjking1/iprutils
1db140
Source0: https://github.com/bjking1/iprutils/archive/%{gitver}/%{name}-%{version}.tar.gz
1db140
1db140
# missing man page
1db140
Source1: iprdbg.8.gz
1db140
1db140
BuildRequires: libtool
1db140
BuildRequires: ncurses-devel
1db140
BuildRequires: libcap-devel
1db140
BuildRequires: kernel-headers
1db140
BuildRequires: systemd
1db140
BuildRequires: zlib-devel
1db140
BuildRequires: make
1db140
1db140
1db140
%description
1db140
Provides a suite of utilities to manage and configure SCSI devices
1db140
supported by the ipr SCSI storage device driver.
1db140
1db140
1db140
%prep
1db140
%autosetup -p1 -n %{name}-%{gitver}
1db140
1db140
autoreconf -vif
1db140
1db140
1db140
%build
1db140
%configure --with-systemd --without-initscripts --disable-static --disable-sosreport
1db140
%{make_build}
1db140
1db140
1db140
%install
1db140
%{make_install}
1db140
1db140
# missing man page
1db140
install -p -m 0644 %SOURCE1 %{buildroot}%{_mandir}/man8/
1db140
1db140
#install bash completion
1db140
mv %{buildroot}/%{_sysconfdir}/bash_completion.d/{iprconfig-bash-completion.sh,iprconfig}
1db140
1db140
# Remove temporary files and scripts that will not be packaged.
1db140
rm %{buildroot}/%{_sysconfdir}/ha.d/resource.d/iprha
1db140
1db140
1db140
%post
1db140
%systemd_post iprinit.service
1db140
%systemd_post iprdump.service
1db140
%systemd_post iprupdate.service
1db140
%systemd_post iprutils.target
1db140
1db140
%preun
1db140
%systemd_preun iprinit.service
1db140
%systemd_preun iprdump.service
1db140
%systemd_preun iprupdate.service
1db140
%systemd_preun iprutils.target
1db140
1db140
%files
1db140
%license LICENSE
1db140
%doc README
1db140
%{_sbindir}/*
1db140
%{_sysconfdir}/bash_completion.d/
1db140
%{_mandir}/man*/*
1db140
%{_unitdir}/iprinit.service
1db140
%{_unitdir}/iprdump.service
1db140
%{_unitdir}/iprupdate.service
1db140
%{_unitdir}/iprutils.target
1db140
%{_udevrulesdir}/90-iprutils.rules
1db140
1db140
1db140
%changelog
1db140
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.19-5
1db140
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
1db140
  Related: rhbz#1991688
1db140
1db140
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.4.19-4
1db140
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
1db140
1db140
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.19-3
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
1db140
1db140
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.19-2
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1db140
1db140
* Thu Jul 09 2020 Than Ngo <than@redhat.com> - 2.4.19-1
1db140
- rebase to 2.4.19
1db140
1db140
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.17.1-4
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
1db140
1db140
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.17.1-3
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1db140
1db140
* Mon Apr 15 2019 Than Ngo <than@redhat.com> - 2.4.17.1-2
1db140
- add tests
1db140
1db140
* Mon Mar 04 2019 Than Ngo <than@redhat.com> - 2.4.17.1-1
1db140
- update to 2.4.17.1
1db140
1db140
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.16.1-4
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
1db140
1db140
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.16.1-3
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1db140
1db140
* Mon May 14 2018 Dan HorĂ¡k <dan[at]danny.cz> - 2.4.16.1-2
1db140
- use better patch for udev activation
1db140
1db140
* Fri May 11 2018 Dan HorĂ¡k <dan[at]danny.cz> - 2.4.16.1-1
1db140
- rebased to 2.4.16.1
1db140
- spec file cleanup
1db140
1db140
* Thu Mar 15 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.4.15.1-4
1db140
- Update Python 2 dependency declarations to new packaging standards
1db140
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
1db140
1db140
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.15.1-3
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
1db140
1db140
* Tue Jan 23 2018 Merlin Mathesius <mmathesi@redhat.com> - 2.4.15.1-2
1db140
- Not building kernel modules, so use kernel-headers instead of kernel-devel
1db140
1db140
* Fri Oct 13 2017 Sinny Kumari <sinnykunmari@fedoraproject.org> - 2.4.15.1-1
1db140
- Rebase to 2.4.15.1
1db140
1db140
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.14.1-3
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1db140
1db140
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.14.1-2
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
1db140
1db140
* Wed Apr 05 2017 Sinny Kumari <sinnykunmari@fedoraproject.org> - 2.4.14.1-1
1db140
- Rebase to 2.4.14.1
1db140
1db140
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.12.1-2
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
1db140
1db140
* Wed Aug 10 2016 Sinny Kumari <sinnykumari@fedoraproject.org> - 2.4.12.1-1
1db140
- Rebase to 2.4.12.1
1db140
1db140
* Mon Apr 11 2016 Sinny Kumari <sinnykumari@fedoraproject.org> - 2.4.11.1-1
1db140
- Update to 2.4.11.1
1db140
- Add zlib-devel as BuildRequires
1db140
1db140
* Sat Feb 27 2016 Jakub ÄŒajka <jcajka@redhat.com> - 2.4.10.1-1
1db140
- rebase to 2.4.10.1
1db140
- Resolves: #1289145 - iprutils-2.4.9 package update in Fedora
1db140
1db140
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.4.8-2
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1db140
1db140
* Fri Jul 10 2015 Gabriel Krisman Bertazi <krisman@linux.vnet.ibm.com> - 2.4.8-1
1db140
- Rebase to 2.4.8
1db140
- Move to Autotools
1db140
- Remove unused files
1db140
- Rebase patch 0001 to use autotools
1db140
- Install bash completion
1db140
- Spec file clean up
1db140
1db140
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.5-2
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1db140
1db140
* Wed Nov 19 2014 Jakub ÄŒajka <jcajka@redhat.com> - 2.4.5-1
1db140
- Rebase to 2.4.5
1db140
1db140
* Wed Oct 1 2014 Jakub ÄŒajka <jcajka@redhat.com> - 2.4.4-1
1db140
- Rebase to 2.4.4
1db140
- Moved to systemd
1db140
- Spec file clean up
1db140
- Fixed build flags
1db140
1db140
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.13-5
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
1db140
1db140
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.13-4
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
1db140
1db140
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.13-3
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1db140
1db140
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.13-2
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
1db140
1db140
* Sat Dec 29 2012 Peter Robinson <pbrobinson@fedoraproject.org> 2.3.13-1
1db140
- update to 2.3.13
1db140
1db140
* Tue Sep 11 2012 David Aquilina <dwa@redhat.com> 2.3.11-2
1db140
- Prevent the RPM from conflicting with itself (BZ #856330)
1db140
1db140
* Wed Sep 05 2012 Karsten Hopp <karsten@redhat.com> 2.3.11-1
1db140
- update to 2.3.11
1db140
- enable on all archs as it now supports some adapters on them, too.
1db140
1db140
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.10-2
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
1db140
1db140
* Tue May 08 2012 Karsten Hopp <karsten@redhat.com> 2.3.10-1
1db140
- update to iprutils-2.3.10
1db140
1db140
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.9-2
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
1db140
1db140
* Thu Dec 22 2011 Jiri Skala <jskala@redhat.com> - 2.3.9-1
1db140
- Update to version 2.3.9
1db140
1db140
* Wed Aug 24 2011 Jiri Skala <jskala@redhat.com> - 2.3.7-1
1db140
- Update to version 2.3.7
1db140
1db140
* Fri Aug 05 2011 Jiri Skala <jskala@redhat.com> - 2.3.6-1
1db140
- Update to version 2.3.6
1db140
1db140
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
1db140
1db140
* Wed Feb 09 2011 Jiri Skala <jskala@redhat.com> - 2.3.2-1
1db140
- Update to version 2.3.2
1db140
1db140
* Mon Apr 12 2010 Roman Rakus <rrakus@redhat.com> - 2.2.20-1
1db140
- Update to version 2.2.20
1db140
1db140
* Thu Feb 11 2010 Roman Rakus <rrakus@redhat.com> 2.2.18-3
1db140
- added missing man page
1db140
1db140
* Tue Jan 26 2010 Roman Rakus <rrakus@redhat.com> 2.2.18-2
1db140
- moved files from /sbin to /usr/sbin and made symlinks
1db140
1db140
* Wed Nov 04 2009 Roman Rakus <rrakus@redhat.com> - 2.2.18-1
1db140
- Version 2.2.18
1db140
1db140
* Mon Oct 05 2009 Roman Rakus <rrakus@redhat.com> - 2.2.17-2
1db140
- Fixed initscripts (#522464, #522462, #522461)
1db140
1db140
* Thu Sep 17 2009 Roman Rakus <rrakus@redhat.com> - 2.2.17-1
1db140
- Version 2.2.17
1db140
1db140
* Mon Aug 17 2009 Roman Rakus <rrakus@redhat.com> - 2.2.16-1
1db140
- Bump to version 2.2.16
1db140
1db140
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.13-4
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1db140
1db140
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.13-3
1db140
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
1db140
1db140
* Mon Feb 2 2009 Will Woods <wwoods@redhat.com> - 2.2.13-2
1db140
- Fix iprdump startup - #483340
1db140
- iprutils-swab-moved.patch - fix compilation with 2.6.29 kernels (#483643)
1db140
1db140
* Fri Nov 21 2008 Roman Rakus <rrakus@redhat.com> - 2.2.13-1
1db140
- New upstream version
1db140
1db140
* Wed Jul  2 2008 Roman Rakus <rrakus@redhat.com> - 2.2.8-6
1db140
- Fixed ExclusiveArch tag
1db140
1db140
* Wed Jul  2 2008 Roman Rakus <rrakus@redhat.com> - 2.2.8-5
1db140
- Fixed chkconfig issue - #453165
1db140
1db140
* Wed Apr  9 2008 Roman Rakus <rrakus@redhat.cz> - 2.2.8-4
1db140
- Rewrited initscripts for satisfying LSB spec
1db140
1db140
* Fri Feb 08 2008 David Cantrell <dcantrell@redhat.com> - 2.2.8-2
1db140
- Rebuild for gcc-4.3
1db140
1db140
* Fri Nov 16 2007 David Cantrell <dcantrell@redhat.com> - 2.2.8-1
1db140
- Upgrade to latest upstream release
1db140
1db140
* Mon Oct  1 2007 Jeremy Katz <katzj@redhat.com> - 2.2.6-3
1db140
- don't require redhat-lsb (#252343)
1db140
1db140
* Tue Aug 21 2007 David Cantrell <dcantrell@redhat.com> - 2.2.6-2
1db140
- Rebuild
1db140
1db140
* Thu May 17 2007 Paul Nasrat <pnasrat@redhat.com> - 2.2.6-1
1db140
- Update to latest upstream
1db140
1db140
* Thu Jul 13 2006 Paul Nasrat <pnasrat@redhat.com> - 2.1.5-1
1db140
- New upstream version
1db140
1db140
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.1.4-3.1
1db140
- rebuild
1db140
1db140
* Mon Jul 10 2006 Paul Nasrat <pnasrat@redhat.com> - 2.1.4-3
1db140
- Add redhat-lsb requires
1db140
1db140
* Mon Jul 10 2006 David Woodhouse <dwmw2@redhat.com> - 2.1.4-2
1db140
- Rebuild against new sysfsutils
1db140
1db140
* Mon Jun 26 2006 Paul Nasrat <pnasrat@redhat.com> - 2.1.4-1
1db140
- Update to 2.1.4
1db140
1db140
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-1.2
1db140
- bump again for double-long bug on ppc(64)
1db140
1db140
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-1.1
1db140
- rebuilt for new gcc4.1 snapshot and glibc changes
1db140
1db140
* Fri Dec 23 2005 Paul Nasrat <pnasrat@redhat.com> - 2.1.1-1
1db140
- Update to 2.1.1
1db140
- Use RPM_OPT_FLAGS
1db140
1db140
* Tue Aug 02 2005 Paul Nasrat <pnasrat@redhat.com> - 2.0.15.3-1
1db140
- update to 2.0.15.3-1
1db140
1db140
* Wed May 11 2005 Paul Nasrat <pnasrat@redhat.com> - 2.0.14.2-1
1db140
- update to 2.0.14.2 (#156934)
1db140
1db140
* Thu Feb 24 2005 Paul Nasrat <pnasrat@redhat.com> - 2.0.13.7-1
1db140
- Update to 2.0.13.7 (#144654)
1db140
- Project moved location to sourceforge
1db140
1db140
* Mon Jan 03 2005 Paul Nasrat <pnasrat@redhat.com> - 2.0.13.5-1
1db140
- Update to 2.0.13.5 (#143593)
1db140
1db140
* Wed Dec  8 2004 Jeremy Katz <katzj@redhat.com> - 2.0.13.4-2
1db140
- link dynamically to sysfsutils instead of statically (#142310)
1db140
1db140
* Wed Dec 08 2004 Paul Nasrat <pnasrat@redhat.com> 2.0.13.4-1
1db140
- update to 2.0.13.4 (#142164)
1db140
1db140
* Fri Dec  3 2004 Jeremy Katz <katzj@redhat.com> - 2.0.13.3-1
1db140
- update to 2.0.13.3 (#141707)
1db140
1db140
* Mon Nov 15 2004 Jeremy Katz <katzj@redhat.com> - 2.0.13.2-1
1db140
- update to 2.0.13.2 (#139083)
1db140
  - fix firmware upload for firmware in /lib instead of /usr/lib
1db140
  - fix sysfs race
1db140
1db140
* Wed Oct  6 2004 Jeremy Katz <katzj@redhat.com> - 2.0.13-1
1db140
- update to 2.0.13 (#128996)
1db140
1db140
* Tue Aug  3 2004 Jeremy Katz <katzj@redhat.com> - 2.0.12-1
1db140
- update to 2.0.12
1db140
- include a copy of libsysfs to build
1db140
1db140
* Tue Jun 15 2004 Jeremy Katz <katzj@redhat.com> - 1.0.7-1
1db140
- update to 1.0.7 (#125988)
1db140
1db140
* Tue May 11 2004 Jeremy Katz <katzj@redhat.com> - 1.0.5-3
1db140
- obsolete ipr-utils (old package name)
1db140
1db140
* Thu Mar 25 2004 Jeremy Katz <katzj@redhat.com> 1.0.5-2
1db140
- 1.0.5
1db140
- some spec file tweaks
1db140
1db140
* Tue Nov 25 2003 Brian King <brking@us.ibm.com> 1.0.3-2
1db140
- Fixed segmentation fault in iprupdate