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