]> git.pld-linux.org Git - packages/lsscsi.git/commitdiff
- simple utility to list scsi devices and hosts. auto/th/lsscsi-0_16-1
authorPaweł Sikora <pluto@pld-linux.org>
Fri, 30 Dec 2005 14:05:18 +0000 (14:05 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lsscsi.spec -> 1.1

lsscsi.spec [new file with mode: 0644]

diff --git a/lsscsi.spec b/lsscsi.spec
new file mode 100644 (file)
index 0000000..00dd1a3
--- /dev/null
@@ -0,0 +1,42 @@
+Summary:       Utility that uses sysfs to list SCSI devices and SCSI hosts
+Name:          lsscsi
+Version:       0.16
+Release:       1
+License:       GPL v2
+Group:         Applications/System
+Source0:       http://sg.torque.net/scsi/%{name}-%{version}.tgz
+# Source0-md5: 52c1672e36ad0d9a5ef75cccae4831c6
+URL:           http://sg.torque.net/scsi/lsscsi.html
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The lsscsi command accesses the sysfs file system (usually mounted
+under /sys ) to obtain information rather than opening the SCSI device
+nodes (e.g. /dev/sda) in the system. Reading information within the
+sysfs file system is usually available to all users (as is the
+information in procfs). However the permissions on SCSI device nodes
+are necessarily tight which precludes normal users from directly
+interrogating these devices. The lsscsi command will typically be
+available to all users.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS CREDITS ChangeLog README
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man8/*
This page took 0.028448 seconds and 4 git commands to generate.