sdparm-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Summary: List or change SCSI disk parameters
  2. Summary(ja): SCSI ディスクパラメータの一覧表示や変更を行うためのツール
  3. Name: sdparm
  4. Version: 1.08
  5. Release: 1%{?_dist_release}
  6. License: BSD
  7. Group: Applications/System
  8. URL: http://sg.danny.cz/sg/sdparm.html
  9. Source: http://sg.danny.cz/sg/p/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  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. Fetches Vital Product Data pages. Can send commands to start or stop
  19. the media and load or unload removable media.
  20. Warning: It is possible (but unlikely) to change SCSI disk settings
  21. such that the disk stops operating or is slowed down. Use with care.
  22. %prep
  23. %setup -q
  24. %build
  25. %configure
  26. %install
  27. %{__rm} -rf %{buildroot}
  28. %{__make} install DESTDIR="%{buildroot}"
  29. %clean
  30. %{__rm} -rf %{buildroot}
  31. %files
  32. %defattr(-, root, root, 0755)
  33. %doc AUTHORS ChangeLog COPYING CREDITS README notes.txt
  34. %{_bindir}/sas_disk_blink
  35. %{_bindir}/scsi_ch_swp
  36. %{_bindir}/sdparm
  37. %doc %{_mandir}/man8/sas_disk_blink.8*
  38. %doc %{_mandir}/man8/scsi_ch_swp.8*
  39. %doc %{_mandir}/man8/sdparm.8*
  40. %changelog
  41. * Sun Nov 2 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.08-1
  42. - updated to 1.08
  43. - added Japanese summary
  44. * Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.05-2
  45. - rebuild with Vine6 environment
  46. * Sun Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.05-1
  47. - new upstream release
  48. - built with new toolchain
  49. * Sun Sep 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.03-1
  50. - new upstream release
  51. - applied new versioning policy
  52. * Sun Nov 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.00-0vl1
  53. - initial package for Vine Linux based on DAG package
  54. * Tue Oct 17 2006 Dag Wieers <dag@wieers.com> - 1.00-1 - +/
  55. - Initial package. (based on upstream package)