diff --git a/.cvsignore b/.cvsignore index e69de29..27f3d27 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +lsscsi-0.17.tgz diff --git a/lsscsi.spec b/lsscsi.spec new file mode 100644 index 0000000..64565ab --- /dev/null +++ b/lsscsi.spec @@ -0,0 +1,80 @@ +Summary: List SCSI devices (or hosts) and associated information +Name: lsscsi +Version: 0.17 +Release: 2 +License: GPL +Group: Applications/System +Source0: http://www.torque.net/scsi/%{name}-%{version}.tgz +Url: http://www.torque.net/scsi/lsscsi.html +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 + +%prep + +%setup -q + +%build + +%configure +make %{?_smp_mflags} + +%install + +rm -rf %{buildroot} +make DESTDIR=%{buildroot} install + +%clean + +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc ChangeLog INSTALL README CREDITS AUTHORS COPYING +%attr(0755,root,root) %{_bindir}/* +%{_mandir}/man8/* + + +%changelog +* Mon Jul 17 2006 - Chip Coldwell 0.17-2 +- modify spec file to meet Fedora Project packaging guidelines +* Mon Feb 06 2006 - Doug Gilbert 0.17-1 +- fix disappearance of block device names in lk 2.6.16-rc1 +* Fri Dec 30 2005 - Doug Gilbert 0.16-1 +- wlun naming, osst and changer devices +* Tue Jul 19 2005 - Doug Gilbert 0.15-1 +- does not use libsysfs, add filter argument, /dev scanning +* Fri Aug 20 2004 - Doug Gilbert 0.13-1 +- add 'timeout' +* Sun May 9 2004 - Doug Gilbert 0.12-1 +- rework for lk 2.6.6, device state, host name, '-d' for major+minor +* Fri Jan 09 2004 - Doug Gilbert 0.11-1 +- rework for lk 2.6.1 +* Tue May 06 2003 - Doug Gilbert 0.10-1 +- adjust HBA listing for lk > 2.5.69 +* Fri Apr 04 2003 - Doug Gilbert 0.09-1 +- fix up sorting, GPL + copyright notice +* Sun Mar 2 2003 - Doug Gilbert 0.08-1 +- start to add host listing support (lk >= 2.5.63) +* Fri Feb 14 2003 - Doug Gilbert 0.07-1 +- queue_depth name change in sysfs (lk 2.5.60) +* Mon Jan 20 2003 - Doug Gilbert 0.06-1 +- osst device file names fix +* Sat Jan 18 2003 - Doug Gilbert 0.05-1 +- output st and osst device file names (rather than "-") +* Thu Jan 14 2003 - Doug Gilbert 0.04-1 +- fix multiple listings of st devices (needed for lk 2.5.57) +* Thu Jan 09 2003 - Doug Gilbert 0.03-1 +- add --generic option (list sg devices), scsi_level output +* Wed Dec 18 2002 - Doug Gilbert 0.02-1 +- add more options including classic mode +* Fri Dec 13 2002 - Doug Gilbert 0.01-1 +- original diff --git a/sources b/sources index e69de29..0ed80a1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c05c1cc6e6c425d86bf41e2ab0f09172 lsscsi-0.17.tgz