File lsscsi.spec of Package lsscsi
#
# spec file for package lsscsi
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: lsscsi
Version: 0.27
Release: 0
Summary: List all SCSI devices in the system
License: GPL-2.0+
Group: Hardware/Other
Url: http://sg.danny.cz/scsi/lsscsi.html
Source: http://sg.danny.cz/scsi/%name-%version.tar.xz
Patch1: lsscsi-fix-classic-output
Patch2: lsscsi-usb.diff
Patch3: lsscsi-fixup-fc-transport-id.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: xz
Provides: scsi:/usr/bin/lsscsi
%description
The lsscsi command lists information about SCSI devices in Linux.
Authors:
--------
Doug Gilbert <dgilbert@torque.net>
%prep
%setup
%patch1 -p1
%patch2 -p1
%patch3 -p1
%build
%configure
%install
make install DESTDIR="%buildroot"
%files
%defattr(-,root,root)
%_bindir/lsscsi
%doc %{_mandir}/man8/lsscsi.8.gz
%doc NEWS README ChangeLog
%changelog