Package init
This commit is contained in:
commit
94328bce93
BIN
lsscsi-0.30.tgz
Normal file
BIN
lsscsi-0.30.tgz
Normal file
Binary file not shown.
48
lsscsi.spec
Normal file
48
lsscsi.spec
Normal 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
|
||||||
Loading…
x
Reference in New Issue
Block a user