SPECS: lsscsi.spec (NEW) - simple utility to list scsi devices and...
pluto
pluto at pld-linux.org
Fri Dec 30 15:05:24 CET 2005
Author: pluto Date: Fri Dec 30 14:05:24 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- simple utility to list scsi devices and hosts.
---- Files affected:
SPECS:
lsscsi.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/lsscsi.spec
diff -u /dev/null SPECS/lsscsi.spec:1.1
--- /dev/null Fri Dec 30 15:05:24 2005
+++ SPECS/lsscsi.spec Fri Dec 30 15:05:18 2005
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+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/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/12/30 14:05:18 pluto
+- simple utility to list scsi devices and hosts.
================================================================
More information about the pld-cvs-commit
mailing list