sdparm-vl.spec 1.6 KB

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