1 Summary: Utility that uses sysfs to list SCSI devices and SCSI hosts
2 Summary(pl.UTF-8): Narzędzie używające sysfs-a do wypisywania urządzeń i hostów SCSI
7 Group: Applications/System
8 Source0: http://sg.torque.net/scsi/%{name}-%{version}.tgz
9 # Source0-md5: bc80ef8ae775e8640f40603bf761aeb9
10 URL: http://sg.torque.net/scsi/lsscsi.html
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
23 %description -l pl.UTF-8
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.
41 rm -rf $RPM_BUILD_ROOT
44 DESTDIR=$RPM_BUILD_ROOT
47 rm -rf $RPM_BUILD_ROOT
50 %defattr(644,root,root,755)
51 %doc AUTHORS CREDITS ChangeLog README
52 %attr(755,root,root) %{_bindir}/lsscsi
53 %{_mandir}/man8/lsscsi.8*