Blame SPECS/iprutils.spec

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