]> git.pld-linux.org Git - packages/lsscsi.git/blob - lsscsi.spec
- updated to 0.28
[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.28
7 Release:        1
8 License:        GPL v2
9 Group:          Applications/System
10 Source0:        http://sg.danny.cz/scsi/%{name}-%{version}.tgz
11 # Source0-md5:  4a39e3b09cd422e2cae3edbaf56b3176
12 URL:            http://sg.danny.cz/scsi/lsscsi.html
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 The lsscsi command accesses the sysfs file system (usually mounted
19 under /sys ) to obtain information rather than opening the SCSI device
20 nodes (e.g. /dev/sda) in the system. Reading information within the
21 sysfs file system is usually available to all users (as is the
22 information in procfs). However the permissions on SCSI device nodes
23 are necessarily tight which precludes normal users from directly
24 interrogating these devices. The lsscsi command will typically be
25 available to all users.
26
27 %description -l pl.UTF-8
28 Polecenie lsscsi w celu uzyskania informacji odczytuje system plików
29 sysfs (zwykle podmontowany pod /sys) zamiast otwierania plików
30 urządzeń SCSI (np. /dev/sda) w systemie. Odczyt informacji z systemu
31 plików sysfs jest zwykle dostępny dla wszystkich użytkowników
32 (podobnie jak informacje w procfs). Jednak uprawnienia do plików
33 urządzeń SCSI muszą być ograniczone, aby nie pozwolić na bezpośredni
34 dostęp przez użytkowników do tych urządzeń. Polecenie lsscsi zwykle
35 jest dostępne dla wszystkich użytkowników.
36
37 %prep
38 %setup -q
39
40 %build
41 %{__aclocal}
42 %{__autoconf}
43 %{__automake}
44 %configure
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc AUTHORS CREDITS ChangeLog README
59 %attr(755,root,root) %{_bindir}/lsscsi
60 %{_mandir}/man8/lsscsi.8*
This page took 0.040274 seconds and 3 git commands to generate.