Package init

This commit is contained in:
overweight 2019-09-30 11:02:51 -04:00
commit 94328bce93
2 changed files with 48 additions and 0 deletions

BIN
lsscsi-0.30.tgz Normal file

Binary file not shown.

48
lsscsi.spec Normal file
View File

@ -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 <buildteam@openeuler.org> - 0.30-2
- Package init