%define name lsscsi %define version 0.22 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} License: GPL Group: System/Kernel and hardware Summary: List SCSI devices (or hosts) and associated information Url: http://sg.danny.cz/scsi/lsscsi.html Source0: http://sg.danny.cz/scsi/%{name}-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version} %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. %prep %setup -q %build %configure %make %install %makeinstall %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc ChangeLog INSTALL README CREDITS AUTHORS COPYING %attr(0755,root,root) %{_bindir}/* %{_mandir}/man8/* %changelog * Sun May 10 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.22-1mdv2010.0 + Revision: 373947 - new version * Fri Jan 23 2009 Jérôme Soyer <saispo@mandriva.org> 0.21-1mdv2009.1 + Revision: 332762 - New upstream release * Mon Jul 28 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.19-4mdv2009.0 + Revision: 251497 - rebuild * Thu Jan 03 2008 Olivier Blin <oblin@mandriva.com> 0.19-2mdv2008.1 + Revision: 140933 - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon Mar 05 2007 Nicolas Lécureuil <neoclust@mandriva.org> 0.19-2mdv2007.0 + Revision: 132757 - Fix group * Fri Feb 09 2007 Thierry Vignaud <tvignaud@mandriva.com> 0.19-1mdv2007.1 + Revision: 118611 - new release * Tue Jan 02 2007 Anne Nicolas <anne.nicolas@mandriva.com> 0.15-1mdv2007.1 + Revision: 103039 - Import lsscsi