sdparm-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. Summary: List or change SCSI disk parameters
  2. Name: sdparm
  3. Version: 1.05
  4. Release: 1%{?_dist_release}
  5. License: BSD
  6. Group: Applications/System
  7. URL: http://sg.danny.cz/sg/sdparm.html
  8. Source: http://sg.danny.cz/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 -q
  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 Apr 25 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.05-1
  37. - new upstream release
  38. - built with new toolchain
  39. * Sun Sep 7 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.03-1
  40. - new upstream release
  41. - applied new versioning policy
  42. * Sun Nov 12 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.00-0vl1
  43. - initial package for Vine Linux based on DAG package
  44. * Tue Oct 17 2006 Dag Wieers <dag@wieers.com> - 1.00-1 - +/
  45. - Initial package. (based on upstream package)