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