]> git.pld-linux.org Git - packages/lsscsi.git/blob - lsscsi.spec
- updated to 0.18.
[packages/lsscsi.git] / lsscsi.spec
1 Summary:        Utility that uses sysfs to list SCSI devices and SCSI hosts
2 Summary(pl):    Narzêdzie u¿ywaj±ce sysfs-a do wypisywania urz±dzeñ i hostów SCSI
3 Name:           lsscsi
4 Version:        0.18
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/System
8 Source0:        http://sg.torque.net/scsi/%{name}-%{version}.tgz
9 # Source0-md5:  d4add3dd2f6763c55508a0a7dc39b29b
10 URL:            http://sg.torque.net/scsi/lsscsi.html
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 The lsscsi command accesses the sysfs file system (usually mounted
15 under /sys ) to obtain information rather than opening the SCSI device
16 nodes (e.g. /dev/sda) in the system. Reading information within the
17 sysfs file system is usually available to all users (as is the
18 information in procfs). However the permissions on SCSI device nodes
19 are necessarily tight which precludes normal users from directly
20 interrogating these devices. The lsscsi command will typically be
21 available to all users.
22
23 %description -l pl
24 Polecenie lsscsi w celu uzyskania informacji odczytuje system plików
25 sysfs (zwykle podmontowany pod /sys) zamiast otwierania plików
26 urz±dzeñ SCSI (np. /dev/sda) w systemie. Odczyt informacji z systemu
27 plików sysfs jest zwykle dostêpny dla wszystkich u¿ytkowników
28 (podobnie jak informacje w procfs). Jednak uprawnienia do plików
29 urz±dzeñ SCSI musz± byæ ograniczone, aby nie pozwoliæ na bezpo¶redni
30 dostêp przez u¿ytkowników do tych urz±dzeñ. Polecenie lsscsi zwykle
31 jest dostêpne dla wszystkich u¿ytkowników.
32
33 %prep
34 %setup -q
35
36 %build
37 %configure
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %clean
47 rm -rf $RPM_BUILD_ROOT
48
49 %files
50 %defattr(644,root,root,755)
51 %doc AUTHORS CREDITS ChangeLog README
52 %attr(755,root,root) %{_bindir}/*
53 %{_mandir}/man8/*
This page took 0.064109 seconds and 4 git commands to generate.