lsscsi/lsscsi.spec
chenyanpanHW a97fef2ef1 delete -Sgit from %autosetup, and delete BuildRequires git
(cherry picked from commit 1e778e04acbd5486e803a1b6dd4bb7d3dfbb7591)
2021-07-31 09:39:33 +08:00

51 lines
1.2 KiB
RPMSpec

Name: lsscsi
Version: 0.30
Release: 3
Summary: The lsscsi command lists information about SCSI devices in Linux.
License: GPLv2+
URL: http://sg.danny.cz/scsi/lsscsi.html
Source0: http://sg.danny.cz/scsi/%{name}-%{version}.tgz
BuildRequires: gcc
%description
Using SCSI terminology, lsscsi lists SCSI logical units (or SCSI targets
when the '--transport' option is given). The default action is to produce
one line of output for each SCSI device currently attached to the system.
In version 0.30 of this utility, support was added to list NVMe namespaces
(under SCSI devices(LUs)) and NVMe controllers (under SCSI hosts).
%package help
Summary: Documents for %{name}
Buildarch: noarch
Requires: man info
%description help
Man pages and other related documents for %{name}.
%prep
%autosetup -n %{name}-030r154 -p1
%build
%configure
%make_build
%install
%make_install
%files
%doc ChangeLog INSTALL README CREDITS AUTHORS
%license COPYING
%{_bindir}/%{name}
%files help
%{_mandir}/man8/%{name}.8*
%changelog
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 0.30-3
- DESC: delete -Sgit from %autosetup, and delete BuildRequires git
* Thu Aug 29 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.30-2
- Package init