2004-09-09 06:18:34 +00:00
|
|
|
Summary: Utilities for the IBM Power Linux RAID adapters
|
2007-11-16 23:00:57 +00:00
|
|
|
Name: iprutils
|
2011-12-22 09:48:49 +00:00
|
|
|
Version: 2.3.9
|
2011-08-05 17:21:27 +00:00
|
|
|
Release: 1%{?dist}
|
2004-09-09 06:18:34 +00:00
|
|
|
License: CPL
|
2007-11-16 23:00:57 +00:00
|
|
|
Group: System Environment/Base
|
|
|
|
URL: http://sourceforge.net/projects/iprdd/
|
|
|
|
|
2009-08-17 07:53:21 +00:00
|
|
|
Source0: http://downloads.sourceforge.net/project/iprdd/iprutils%20for%202.6%20kernels/%{version}/%{name}-%{version}-src.tgz
|
2010-02-11 08:37:39 +00:00
|
|
|
|
|
|
|
# missing man page
|
|
|
|
Source1: iprdbg.8.gz
|
|
|
|
|
2007-11-16 23:00:57 +00:00
|
|
|
Patch0: %{name}-cflags.patch
|
2009-08-17 07:53:21 +00:00
|
|
|
Patch1: %{name}-initscripts.patch
|
2007-11-16 23:00:57 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2008-07-02 11:51:43 +00:00
|
|
|
ExclusiveArch: ppc ppc64
|
2007-11-16 23:00:57 +00:00
|
|
|
|
2008-04-10 11:00:47 +00:00
|
|
|
Requires: /sbin/pidof
|
|
|
|
|
2006-07-10 10:12:07 +00:00
|
|
|
BuildRequires: libsysfs-devel
|
2005-01-03 20:49:21 +00:00
|
|
|
BuildRequires: pciutils-devel
|
|
|
|
BuildRequires: ncurses-devel
|
2005-03-16 09:01:51 +00:00
|
|
|
BuildRequires: libcap-devel
|
2009-02-02 18:38:05 +00:00
|
|
|
BuildRequires: kernel-devel
|
2004-09-09 06:18:34 +00:00
|
|
|
|
2007-11-16 23:00:57 +00:00
|
|
|
Obsoletes: ipr-utils
|
|
|
|
|
2004-09-09 06:18:34 +00:00
|
|
|
%description
|
|
|
|
Provides a suite of utilities to manage and configure SCSI devices
|
|
|
|
supported by the ipr SCSI storage device driver.
|
|
|
|
|
|
|
|
%prep
|
2005-01-03 20:49:21 +00:00
|
|
|
%setup -q -n %{name}
|
2009-08-17 07:53:21 +00:00
|
|
|
%patch0 -p1 -b .cflags
|
|
|
|
%patch1 -p1 -b .initscripts
|
|
|
|
|
2004-09-09 06:18:34 +00:00
|
|
|
%build
|
2007-11-16 23:00:57 +00:00
|
|
|
CFLAGS="%{optflags}" %{__make}
|
2004-09-09 06:18:34 +00:00
|
|
|
|
|
|
|
%install
|
2007-11-16 23:00:57 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%{__make} INSTALL_MOD_PATH=%{buildroot} install
|
|
|
|
|
|
|
|
%{__install} -d %{buildroot}%{_sysconfdir}/rc.d/init.d
|
|
|
|
%{__install} -m 0755 init.d/iprinit %{buildroot}%{_sysconfdir}/rc.d/init.d/iprinit
|
|
|
|
%{__install} -m 0755 init.d/iprdump %{buildroot}%{_sysconfdir}/rc.d/init.d/iprdump
|
|
|
|
%{__install} -m 0755 init.d/iprupdate %{buildroot}%{_sysconfdir}/rc.d/init.d/iprupdate
|
2010-02-11 08:37:39 +00:00
|
|
|
|
|
|
|
# missing man page
|
|
|
|
%{__install} -m 0755 %SOURCE1 %{buildroot}%{_mandir}/man8/
|
|
|
|
|
2010-01-28 12:21:37 +00:00
|
|
|
# move all binaries from /sbin to /usr/sbin and
|
|
|
|
# make symbolink links for all binaries in /sbin to /usr/sbin
|
|
|
|
mkdir %{buildroot}/usr/sbin
|
|
|
|
for file in iprconfig iprdbg iprdump iprinit iprupdate; do
|
|
|
|
mv %{buildroot}/sbin/$file %{buildroot}/usr/sbin/$file
|
|
|
|
ln -s /usr/sbin/$file %{buildroot}/sbin/$file
|
|
|
|
done
|
2004-09-09 06:18:34 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
/sbin/chkconfig --add iprdump
|
|
|
|
/sbin/chkconfig --add iprupdate
|
2004-09-09 06:19:15 +00:00
|
|
|
/sbin/chkconfig --add iprinit
|
2004-09-09 06:18:34 +00:00
|
|
|
|
|
|
|
%preun
|
|
|
|
/sbin/chkconfig --del iprdump
|
|
|
|
/sbin/chkconfig --del iprupdate
|
2004-09-09 06:19:15 +00:00
|
|
|
/sbin/chkconfig --del iprinit
|
2004-09-09 06:18:34 +00:00
|
|
|
|
|
|
|
%clean
|
2007-11-16 23:00:57 +00:00
|
|
|
%{__rm} -rf %{buildroot}
|
2004-09-09 06:18:34 +00:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc README LICENSE
|
|
|
|
/sbin/*
|
2010-01-28 12:21:37 +00:00
|
|
|
/usr/sbin/*
|
2004-09-09 06:18:34 +00:00
|
|
|
%{_mandir}/man*/*
|
|
|
|
%{_sysconfdir}/rc.d/init.d/*
|
|
|
|
|
|
|
|
%changelog
|
2011-12-22 09:48:49 +00:00
|
|
|
* Thu Dec 22 2011 Jiri Skala <jskala@redhat.com> - 2.3.9-1
|
|
|
|
- Update to version 2.3.9
|
|
|
|
|
2011-08-24 08:44:39 +00:00
|
|
|
* Wed Aug 24 2011 Jiri Skala <jskala@redhat.com> - 2.3.7-1
|
|
|
|
- Update to version 2.3.7
|
|
|
|
|
2011-08-05 17:21:27 +00:00
|
|
|
* Fri Aug 05 2011 Jiri Skala <jskala@redhat.com> - 2.3.6-1
|
|
|
|
- Update to version 2.3.6
|
|
|
|
|
2011-02-09 12:59:50 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-02-09 12:03:13 +00:00
|
|
|
* Wed Feb 09 2011 Jiri Skala <jskala@redhat.com> - 2.3.2-1
|
|
|
|
- Update to version 2.3.2
|
|
|
|
|
2010-04-12 11:42:51 +00:00
|
|
|
* Mon Apr 12 2010 Roman Rakus <rrakus@redhat.com> - 2.2.20-1
|
|
|
|
- Update to version 2.2.20
|
|
|
|
|
2010-02-11 08:37:39 +00:00
|
|
|
* Thu Feb 11 2010 Roman Rakus <rrakus@redhat.com> 2.2.18-3
|
|
|
|
- added missing man page
|
|
|
|
|
2010-01-28 12:21:37 +00:00
|
|
|
* Tue Jan 26 2010 Roman Rakus <rrakus@redhat.com> 2.2.18-2
|
|
|
|
- moved files from /sbin to /usr/sbin and made symlinks
|
|
|
|
|
2009-11-04 16:14:11 +00:00
|
|
|
* Wed Nov 04 2009 Roman Rakus <rrakus@redhat.com> - 2.2.18-1
|
|
|
|
- Version 2.2.18
|
|
|
|
|
2009-10-05 13:20:06 +00:00
|
|
|
* Mon Oct 05 2009 Roman Rakus <rrakus@redhat.com> - 2.2.17-2
|
|
|
|
- Fixed initscripts (#522464, #522462, #522461)
|
|
|
|
|
2009-09-17 08:01:19 +00:00
|
|
|
* Thu Sep 17 2009 Roman Rakus <rrakus@redhat.com> - 2.2.17-1
|
|
|
|
- Version 2.2.17
|
|
|
|
|
2009-08-17 07:53:21 +00:00
|
|
|
* Mon Aug 17 2009 Roman Rakus <rrakus@redhat.com> - 2.2.16-1
|
|
|
|
- Bump to version 2.2.16
|
|
|
|
|
2009-07-25 03:32:04 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.13-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 07:45:49 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.13-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2009-02-02 18:38:05 +00:00
|
|
|
* Mon Feb 2 2009 Will Woods <wwoods@redhat.com> - 2.2.13-2
|
|
|
|
- Fix iprdump startup - #483340
|
|
|
|
- iprutils-swab-moved.patch - fix compilation with 2.6.29 kernels (#483643)
|
|
|
|
|
2008-11-21 13:23:41 +00:00
|
|
|
* Fri Nov 21 2008 Roman Rakus <rrakus@redhat.com> - 2.2.13-1
|
|
|
|
- New upstream version
|
|
|
|
|
2008-07-02 12:01:30 +00:00
|
|
|
* Wed Jul 2 2008 Roman Rakus <rrakus@redhat.com> - 2.2.8-6
|
|
|
|
- Fixed ExclusiveArch tag
|
|
|
|
|
2008-07-02 11:47:54 +00:00
|
|
|
* Wed Jul 2 2008 Roman Rakus <rrakus@redhat.com> - 2.2.8-5
|
|
|
|
- Fixed chkconfig issue - #453165
|
|
|
|
|
2008-04-10 11:13:11 +00:00
|
|
|
* Wed Apr 9 2008 Roman Rakus <rrakus@redhat.cz> - 2.2.8-4
|
2008-04-10 11:00:47 +00:00
|
|
|
- Rewrited initscripts for satisfying LSB spec
|
|
|
|
|
2008-02-08 21:26:07 +00:00
|
|
|
* Fri Feb 08 2008 David Cantrell <dcantrell@redhat.com> - 2.2.8-2
|
|
|
|
- Rebuild for gcc-4.3
|
|
|
|
|
2007-11-16 23:00:57 +00:00
|
|
|
* Fri Nov 16 2007 David Cantrell <dcantrell@redhat.com> - 2.2.8-1
|
|
|
|
- Upgrade to latest upstream release
|
|
|
|
|
2007-10-01 18:17:53 +00:00
|
|
|
* Mon Oct 1 2007 Jeremy Katz <katzj@redhat.com> - 2.2.6-3
|
|
|
|
- don't require redhat-lsb (#252343)
|
|
|
|
|
2007-08-21 17:24:45 +00:00
|
|
|
* Tue Aug 21 2007 David Cantrell <dcantrell@redhat.com> - 2.2.6-2
|
|
|
|
- Rebuild
|
|
|
|
|
2007-06-04 11:33:22 +00:00
|
|
|
* Thu May 17 2007 Paul Nasrat <pnasrat@redhat.com> - 2.2.6-1
|
2007-05-18 15:41:26 +00:00
|
|
|
- Update to latest upstream
|
|
|
|
|
2006-07-13 20:46:36 +00:00
|
|
|
* Thu Jul 13 2006 Paul Nasrat <pnasrat@redhat.com> - 2.1.5-1
|
|
|
|
- New upstream version
|
|
|
|
|
2006-07-12 06:25:20 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.1.4-3.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-07-10 15:30:16 +00:00
|
|
|
* Mon Jul 10 2006 Paul Nasrat <pnasrat@redhat.com> - 2.1.4-3
|
|
|
|
- Add redhat-lsb requires
|
|
|
|
|
2006-07-10 10:12:07 +00:00
|
|
|
* Mon Jul 10 2006 David Woodhouse <dwmw2@redhat.com> - 2.1.4-2
|
|
|
|
- Rebuild against new sysfsutils
|
|
|
|
|
2006-06-26 17:26:13 +00:00
|
|
|
* Mon Jun 26 2006 Paul Nasrat <pnasrat@redhat.com> - 2.1.4-1
|
|
|
|
- Update to 2.1.4
|
|
|
|
|
2006-02-11 03:37:19 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-1.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 12:16:49 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.1.1-1.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-23 10:19:25 +00:00
|
|
|
* Fri Dec 23 2005 Paul Nasrat <pnasrat@redhat.com> - 2.1.1-1
|
|
|
|
- Update to 2.1.1
|
|
|
|
- Use RPM_OPT_FLAGS
|
2005-12-09 22:41:00 +00:00
|
|
|
|
2005-08-02 12:14:54 +00:00
|
|
|
* Tue Aug 02 2005 Paul Nasrat <pnasrat@redhat.com> - 2.0.15.3-1
|
|
|
|
- update to 2.0.15.3-1
|
|
|
|
|
|
|
|
* Wed May 11 2005 Paul Nasrat <pnasrat@redhat.com> - 2.0.14.2-1
|
|
|
|
- update to 2.0.14.2 (#156934)
|
2005-03-15 17:26:31 +00:00
|
|
|
|
2005-02-24 09:23:20 +00:00
|
|
|
* Thu Feb 24 2005 Paul Nasrat <pnasrat@redhat.com> - 2.0.13.7-1
|
|
|
|
- Update to 2.0.13.7 (#144654)
|
|
|
|
- Project moved location to sourceforge
|
|
|
|
|
2005-01-03 20:49:21 +00:00
|
|
|
* Mon Jan 03 2005 Paul Nasrat <pnasrat@redhat.com> - 2.0.13.5-1
|
|
|
|
- Update to 2.0.13.5 (#143593)
|
|
|
|
|
|
|
|
* Wed Dec 8 2004 Jeremy Katz <katzj@redhat.com> - 2.0.13.4-2
|
|
|
|
- link dynamically to sysfsutils instead of statically (#142310)
|
|
|
|
|
|
|
|
* Wed Dec 08 2004 Paul Nasrat <pnasrat@redhat.com> 2.0.13.4-1
|
|
|
|
- update to 2.0.13.4 (#142164)
|
|
|
|
|
|
|
|
* Fri Dec 3 2004 Jeremy Katz <katzj@redhat.com> - 2.0.13.3-1
|
|
|
|
- update to 2.0.13.3 (#141707)
|
|
|
|
|
|
|
|
* Mon Nov 15 2004 Jeremy Katz <katzj@redhat.com> - 2.0.13.2-1
|
|
|
|
- update to 2.0.13.2 (#139083)
|
|
|
|
- fix firmware upload for firmware in /lib instead of /usr/lib
|
|
|
|
- fix sysfs race
|
|
|
|
|
2004-10-06 18:43:14 +00:00
|
|
|
* Wed Oct 6 2004 Jeremy Katz <katzj@redhat.com> - 2.0.13-1
|
|
|
|
- update to 2.0.13 (#128996)
|
|
|
|
|
2004-09-09 06:19:15 +00:00
|
|
|
* Tue Aug 3 2004 Jeremy Katz <katzj@redhat.com> - 2.0.12-1
|
|
|
|
- update to 2.0.12
|
|
|
|
- include a copy of libsysfs to build
|
2004-09-09 06:19:04 +00:00
|
|
|
|
2004-09-09 06:18:49 +00:00
|
|
|
* Tue Jun 15 2004 Jeremy Katz <katzj@redhat.com> - 1.0.7-1
|
|
|
|
- update to 1.0.7 (#125988)
|
|
|
|
|
2004-09-09 06:18:46 +00:00
|
|
|
* Tue May 11 2004 Jeremy Katz <katzj@redhat.com> - 1.0.5-3
|
|
|
|
- obsolete ipr-utils (old package name)
|
|
|
|
|
2004-09-09 06:18:34 +00:00
|
|
|
* Thu Mar 25 2004 Jeremy Katz <katzj@redhat.com> 1.0.5-2
|
|
|
|
- 1.0.5
|
|
|
|
- some spec file tweaks
|
|
|
|
|
|
|
|
* Tue Nov 25 2003 Brian King <brking@us.ibm.com> 1.0.3-2
|
|
|
|
- Fixed segmentation fault in iprupdate
|