commit 94328bce93902dfe54a76b1c85e096a294aea0b0 Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 11:02:51 2019 -0400 Package init diff --git a/lsscsi-0.30.tgz b/lsscsi-0.30.tgz new file mode 100644 index 0000000..43c04a8 Binary files /dev/null and b/lsscsi-0.30.tgz differ diff --git a/lsscsi.spec b/lsscsi.spec new file mode 100644 index 0000000..1e23d51 --- /dev/null +++ b/lsscsi.spec @@ -0,0 +1,48 @@ +Name: lsscsi +Version: 0.30 +Release: 2 +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 +BuildRequires: git + +%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 -Sgit + +%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 +* Thu Aug 29 2019 openEuler Buildteam - 0.30-2 +- Package init