]> git.pld-linux.org Git - packages/lsscsi.git/blob - lsscsi.spec
- beta comment
[packages/lsscsi.git] / lsscsi.spec
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
5 Name:           lsscsi
6 Version:        0.21
7 Release:        1
8 License:        GPL v2
9 Group:          Applications/System
10 Source0:        http://sg.torque.net/scsi/%{name}-%{version}.tgz
11 # Source0-md5:  2acbb0a738b89ec0834a524ec4291da3
12 URL:            http://sg.torque.net/scsi/lsscsi.html
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
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.
24
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.
34
35 %prep
36 %setup -q
37
38 %build
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc AUTHORS CREDITS ChangeLog README
54 %attr(755,root,root) %{_bindir}/lsscsi
55 %{_mandir}/man8/lsscsi.8*
This page took 0.084955 seconds and 4 git commands to generate.