1 # NOTE: beta versions are versioned with just new version number,
2 # so check URL for final releases
3 Summary: Utility that uses sysfs to list SCSI devices and SCSI hosts
4 Summary(pl.UTF-8): Narzędzie używające sysfs-a do wypisywania urządzeń i hostów SCSI
9 Group: Applications/System
10 Source0: http://sg.danny.cz/scsi/%{name}-%{version}.tgz
11 # Source0-md5: 2acbb0a738b89ec0834a524ec4291da3
12 URL: http://sg.danny.cz/scsi/lsscsi.html
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 The lsscsi command accesses the sysfs file system (usually mounted
17 under /sys ) to obtain information rather than opening the SCSI device
18 nodes (e.g. /dev/sda) in the system. Reading information within the
19 sysfs file system is usually available to all users (as is the
20 information in procfs). However the permissions on SCSI device nodes
21 are necessarily tight which precludes normal users from directly
22 interrogating these devices. The lsscsi command will typically be
23 available to all users.
25 %description -l pl.UTF-8
26 Polecenie lsscsi w celu uzyskania informacji odczytuje system plików
27 sysfs (zwykle podmontowany pod /sys) zamiast otwierania plików
28 urządzeń SCSI (np. /dev/sda) w systemie. Odczyt informacji z systemu
29 plików sysfs jest zwykle dostępny dla wszystkich użytkowników
30 (podobnie jak informacje w procfs). Jednak uprawnienia do plików
31 urządzeń SCSI muszą być ograniczone, aby nie pozwolić na bezpośredni
32 dostęp przez użytkowników do tych urządzeń. Polecenie lsscsi zwykle
33 jest dostępne dla wszystkich użytkowników.
43 rm -rf $RPM_BUILD_ROOT
46 DESTDIR=$RPM_BUILD_ROOT
49 rm -rf $RPM_BUILD_ROOT
52 %defattr(644,root,root,755)
53 %doc AUTHORS CREDITS ChangeLog README
54 %attr(755,root,root) %{_bindir}/lsscsi
55 %{_mandir}/man8/lsscsi.8*