2006-07-24 18:04:31 +00:00
|
|
|
Summary: List SCSI devices (or hosts) and associated information
|
|
|
|
Name: lsscsi
|
2009-02-02 11:42:53 +00:00
|
|
|
Version: 0.22
|
|
|
|
Release: 1%{?dist}
|
2008-05-22 18:15:30 +00:00
|
|
|
License: GPLv2+
|
2006-07-24 18:04:31 +00:00
|
|
|
Group: Applications/System
|
2008-11-04 19:33:12 +00:00
|
|
|
Source0: http://sg.danny.cz/scsi/%{name}-%{version}.tgz
|
2009-02-02 11:42:53 +00:00
|
|
|
URL: http://sg.danny.cz/scsi/lsscsi.html
|
2006-07-24 18:04:31 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
%description
|
|
|
|
Uses information provided by the sysfs pseudo file system in Linux kernel
|
|
|
|
2.6 series to list SCSI devices or all SCSI hosts. Includes a "classic"
|
|
|
|
option to mimic the output of "cat /proc/scsi/scsi" that has been widely
|
|
|
|
used prior to the lk 2.6 series.
|
|
|
|
|
|
|
|
Author:
|
|
|
|
--------
|
|
|
|
Doug Gilbert <dgilbert(at)interlog(dot)com>
|
|
|
|
|
|
|
|
|
2009-02-02 11:42:53 +00:00
|
|
|
%prep
|
2006-07-24 18:04:31 +00:00
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
2009-02-02 11:42:53 +00:00
|
|
|
%build
|
2006-07-24 18:04:31 +00:00
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
2009-02-02 11:42:53 +00:00
|
|
|
%install
|
2006-07-24 18:04:31 +00:00
|
|
|
rm -rf %{buildroot}
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
|
2009-02-02 11:42:53 +00:00
|
|
|
%clean
|
2006-07-24 18:04:31 +00:00
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
2009-02-02 11:42:53 +00:00
|
|
|
|
2006-07-24 18:04:31 +00:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog INSTALL README CREDITS AUTHORS COPYING
|
|
|
|
%attr(0755,root,root) %{_bindir}/*
|
|
|
|
%{_mandir}/man8/*
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
2009-02-02 11:42:53 +00:00
|
|
|
* Mon Feb 2 2009 Dan Horák <dan[at]danny.cz> - 0.22-1
|
|
|
|
- update to 0.22
|
|
|
|
|
|
|
|
* Tue Nov 4 2008 Dan Horák <dan[at]danny.cz> - 0.21-2
|
2008-11-04 19:40:50 +00:00
|
|
|
- add disttag
|
|
|
|
|
2009-02-02 11:42:53 +00:00
|
|
|
* Tue Nov 4 2008 Dan Horák <dan[at]danny.cz> - 0.21-1
|
2008-11-04 19:33:12 +00:00
|
|
|
- update to 0.21
|
|
|
|
- update urls
|
|
|
|
|
2008-05-22 18:15:30 +00:00
|
|
|
* Thu May 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.17-6
|
|
|
|
- fix license tag
|
|
|
|
|
2008-02-18 23:00:27 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.17-5
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2006-10-04 22:47:51 +00:00
|
|
|
* Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 0.17-4
|
|
|
|
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
|
|
|
|
|
2006-09-19 15:51:11 +00:00
|
|
|
* Tue Sep 19 2006 - Chip Coldwell <coldwell@redhat.com> 0.17-3
|
|
|
|
- bump the EVR for FC6 rebuild
|
2006-07-24 18:04:31 +00:00
|
|
|
* Mon Jul 17 2006 - Chip Coldwell <coldwell@redhat.com> 0.17-2
|
|
|
|
- modify spec file to meet Fedora Project packaging guidelines
|
|
|
|
* Mon Feb 06 2006 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.17-1
|
|
|
|
- fix disappearance of block device names in lk 2.6.16-rc1
|
|
|
|
* Fri Dec 30 2005 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.16-1
|
|
|
|
- wlun naming, osst and changer devices
|
|
|
|
* Tue Jul 19 2005 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.15-1
|
|
|
|
- does not use libsysfs, add filter argument, /dev scanning
|
|
|
|
* Fri Aug 20 2004 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.13-1
|
|
|
|
- add 'timeout'
|
|
|
|
* Sun May 9 2004 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.12-1
|
|
|
|
- rework for lk 2.6.6, device state, host name, '-d' for major+minor
|
|
|
|
* Fri Jan 09 2004 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.11-1
|
|
|
|
- rework for lk 2.6.1
|
|
|
|
* Tue May 06 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.10-1
|
|
|
|
- adjust HBA listing for lk > 2.5.69
|
|
|
|
* Fri Apr 04 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.09-1
|
|
|
|
- fix up sorting, GPL + copyright notice
|
|
|
|
* Sun Mar 2 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.08-1
|
|
|
|
- start to add host listing support (lk >= 2.5.63)
|
|
|
|
* Fri Feb 14 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.07-1
|
|
|
|
- queue_depth name change in sysfs (lk 2.5.60)
|
|
|
|
* Mon Jan 20 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.06-1
|
|
|
|
- osst device file names fix
|
|
|
|
* Sat Jan 18 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.05-1
|
|
|
|
- output st and osst device file names (rather than "-")
|
|
|
|
* Thu Jan 14 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.04-1
|
|
|
|
- fix multiple listings of st devices (needed for lk 2.5.57)
|
|
|
|
* Thu Jan 09 2003 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.03-1
|
|
|
|
- add --generic option (list sg devices), scsi_level output
|
|
|
|
* Wed Dec 18 2002 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.02-1
|
|
|
|
- add more options including classic mode
|
|
|
|
* Fri Dec 13 2002 - Doug Gilbert <dgilbert(at)interlog(dot)com> 0.01-1
|
|
|
|
- original
|