[521] | 1 | Summary: List or change SCSI disk parameters |
---|
[9050] | 2 | Summary(ja): SCSI ディスクパラメータの一覧表示や変更を行うためのツール |
---|
[521] | 3 | Name: sdparm |
---|
[9050] | 4 | Version: 1.08 |
---|
[521] | 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: BSD |
---|
| 7 | Group: Applications/System |
---|
[891] | 8 | URL: http://sg.danny.cz/sg/sdparm.html |
---|
[9050] | 9 | |
---|
| 10 | Source: http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz |
---|
| 11 | |
---|
[521] | 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | %description |
---|
| 15 | SCSI disk parameters are held in mode pages. This utility lists or |
---|
| 16 | changes those parameters. Other SCSI devices (or devices that use |
---|
| 17 | the SCSI command set) such as CD/DVD and tape drives may also find |
---|
| 18 | parts of sdparm useful. Requires the linux kernel 2.4 series or later. |
---|
| 19 | In the 2.6 series any device node the understands a SCSI command set |
---|
| 20 | may be used (e.g. /dev/sda). In the 2.4 series SCSI device node may be used. |
---|
| 21 | |
---|
| 22 | Fetches Vital Product Data pages. Can send commands to start or stop |
---|
| 23 | the media and load or unload removable media. |
---|
| 24 | |
---|
| 25 | Warning: It is possible (but unlikely) to change SCSI disk settings |
---|
| 26 | such that the disk stops operating or is slowed down. Use with care. |
---|
| 27 | |
---|
| 28 | %prep |
---|
[891] | 29 | %setup -q |
---|
[521] | 30 | |
---|
| 31 | %build |
---|
| 32 | %configure |
---|
| 33 | |
---|
| 34 | %install |
---|
| 35 | %{__rm} -rf %{buildroot} |
---|
| 36 | %{__make} install DESTDIR="%{buildroot}" |
---|
| 37 | |
---|
| 38 | %clean |
---|
| 39 | %{__rm} -rf %{buildroot} |
---|
| 40 | |
---|
| 41 | %files |
---|
| 42 | %defattr(-, root, root, 0755) |
---|
[9050] | 43 | %doc AUTHORS ChangeLog COPYING CREDITS README notes.txt |
---|
| 44 | %{_bindir}/sas_disk_blink |
---|
| 45 | %{_bindir}/scsi_ch_swp |
---|
| 46 | %{_bindir}/sdparm |
---|
| 47 | %doc %{_mandir}/man8/sas_disk_blink.8* |
---|
| 48 | %doc %{_mandir}/man8/scsi_ch_swp.8* |
---|
[521] | 49 | %doc %{_mandir}/man8/sdparm.8* |
---|
| 50 | |
---|
| 51 | %changelog |
---|
[9050] | 52 | * Sun Nov 2 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.08-1 |
---|
| 53 | - updated to 1.08 |
---|
| 54 | - added Japanese summary |
---|
| 55 | |
---|
| 56 | * Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.05-2 |
---|
| 57 | - rebuild with Vine6 environment |
---|
| 58 | |
---|
[891] | 59 | * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.05-1 |
---|
| 60 | - new upstream release |
---|
| 61 | - built with new toolchain |
---|
| 62 | |
---|
[521] | 63 | * Sun Sep 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.03-1 |
---|
| 64 | - new upstream release |
---|
| 65 | - applied new versioning policy |
---|
| 66 | |
---|
| 67 | * Sun Nov 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.00-0vl1 |
---|
| 68 | - initial package for Vine Linux based on DAG package |
---|
| 69 | |
---|
| 70 | * Tue Oct 17 2006 Dag Wieers <dag@wieers.com> - 1.00-1 - +/ |
---|
| 71 | - Initial package. (based on upstream package) |
---|