]> git.pld-linux.org Git - packages/lsscsi.git/blob - lsscsi.spec
- simple utility to list scsi devices and hosts.
[packages/lsscsi.git] / lsscsi.spec
1 Summary:        Utility that uses sysfs to list SCSI devices and SCSI hosts
2 Name:           lsscsi
3 Version:        0.16
4 Release:        1
5 License:        GPL v2
6 Group:          Applications/System
7 Source0:        http://sg.torque.net/scsi/%{name}-%{version}.tgz
8 # Source0-md5:  52c1672e36ad0d9a5ef75cccae4831c6
9 URL:            http://sg.torque.net/scsi/lsscsi.html
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11
12 %description
13 The lsscsi command accesses the sysfs file system (usually mounted
14 under /sys ) to obtain information rather than opening the SCSI device
15 nodes (e.g. /dev/sda) in the system. Reading information within the
16 sysfs file system is usually available to all users (as is the
17 information in procfs). However the permissions on SCSI device nodes
18 are necessarily tight which precludes normal users from directly
19 interrogating these devices. The lsscsi command will typically be
20 available to all users.
21
22 %prep
23 %setup -q
24
25 %build
26 %configure
27 %{__make}
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 %{__make} install \
33         DESTDIR=$RPM_BUILD_ROOT
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %files
39 %defattr(644,root,root,755)
40 %doc AUTHORS CREDITS ChangeLog README
41 %attr(755,root,root) %{_bindir}/*
42 %{_mandir}/man8/*
This page took 0.061129 seconds and 4 git commands to generate.