]>
Commit | Line | Data |
---|---|---|
bc2e028a | 1 | Summary: sdparm - listing and changing SCSI disk parameters |
d06b635a | 2 | Summary(pl.UTF-8): sdparm - wyświetlanie i zmiana parametrów dysków SCSI |
bc2e028a | 3 | Name: sdparm |
9eeba1cf | 4 | Version: 1.08 |
c0d800b5 | 5 | Release: 1 |
bc2e028a JB |
6 | License: BSD |
7 | Group: Applications/System | |
cfe7230e | 8 | Source0: http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz |
9eeba1cf | 9 | # Source0-md5: d290e6b45d690bfa2cc05700ec119073 |
733ee203 | 10 | URL: http://sg.danny.cz/sg/sdparm.html |
1689ba9f | 11 | BuildRequires: autoconf |
12 | BuildRequires: automake | |
cfe7230e JB |
13 | BuildRequires: tar >= 1:1.22 |
14 | BuildRequires: xz | |
9eeba1cf JB |
15 | # for scsi_ch_swp |
16 | Suggests: blockdev | |
bc2e028a JB |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
18 | ||
19 | %description | |
20 | sdparm is a utility for listing and potentially changing SCSI disk | |
21 | parameters. More generally it can be used on any device that uses a | |
22 | SCSI command set. Apart from SCSI disks, examples of devices that use | |
23 | SCSI command sets are ATAPI CD/DVD drives, SCSI and ATAPI tape drives | |
24 | and SCSI enclosures. | |
25 | ||
c933dff5 JR |
26 | %description -l pl.UTF-8 |
27 | sdparm to narzędzie do wyświetlania i ewentualnej zmiany parametrów | |
28 | dysków SCSI. Bardziej ogólnie może być używane z każdym urządzeniem | |
29 | używającym zestawu poleceń SCSI. Oprócz dysków SCSI przykładami takich | |
30 | urządzeń mogą być napędy CD/DVD ATAPI, napędy taśmowe SCSI i ATAPI | |
31 | oraz zewnętrzne macierze SCSI. | |
bc2e028a JB |
32 | |
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
1689ba9f | 37 | %{__aclocal} |
38 | %{__autoconf} | |
39 | %{__automake} | |
bc2e028a JB |
40 | %configure |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc AUTHORS COPYING CREDITS ChangeLog README | |
9eeba1cf JB |
55 | %attr(755,root,root) %{_bindir}/sas_disk_blink |
56 | %attr(755,root,root) %{_bindir}/scsi_ch_swp | |
bc2e028a | 57 | %attr(755,root,root) %{_bindir}/sdparm |
9eeba1cf JB |
58 | %{_mandir}/man8/sas_disk_blink.8* |
59 | %{_mandir}/man8/scsi_ch_swp.8* | |
bc2e028a | 60 | %{_mandir}/man8/sdparm.8* |