hibernate-vl.spec 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. Summary: software suspend 2 hibernate script
  2. Summary(ja): ソフトウエアサスペンド2 ハイバネーションスクリプト
  3. Name: hibernate
  4. Version: 2.0
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: Applications/System
  8. URL: http://www.tuxonice.net/
  9. Source0: http://www.tuxonice.net/downloads/all/hibernate-script-%{version}.tar.gz
  10. Patch10: hibernate-script-2.0-vine.patch
  11. Patch11: hibernate-script-1.97-fix-gconftool-path.patch
  12. Patch12: hibernate-script-1.97-disable-hibernation-on-smp-ppc.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildArch: noarch
  15. %description
  16. hibernate is a shell script that handles the process of getting ready
  17. to suspend to disk and to resume from disk. It requires the Software
  18. Suspend 2 patches available at http://softwaresuspend.berlios.de/
  19. After installing you will want to run 'hibernate -h' to see available
  20. options and modify your /etc/hibernate/hibernate.conf to set them.
  21. %prep
  22. %setup -q -n hibernate-script-%{version}
  23. %patch10 -p1
  24. %patch11 -p1
  25. %patch12 -p1
  26. %build
  27. # 1.97 tarball somewhat consists of all go-r files/directries...
  28. find . | xargs chmod go+r
  29. %install
  30. rm -rf ${RPM_BUILD_ROOT}
  31. mkdir -p ${RPM_BUILD_ROOT}%{_docdir}/%{name}-%{version}/
  32. export BASE_DIR=${RPM_BUILD_ROOT}
  33. export PREFIX=%{_prefix}
  34. export MAN_DIR=${BASE_DIR}%{_mandir}
  35. sh install.sh
  36. %clean
  37. unset BASE_DIR
  38. unset PREFIX
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-,root,root,-)
  42. %doc CHANGELOG COPYING README SCRIPTLET-API
  43. %dir %{_datadir}/hibernate
  44. %config %{_sysconfdir}/hibernate/*
  45. %{_sbindir}/hibernate
  46. %{_datadir}/hibernate/*
  47. %{_mandir}/*
  48. %changelog
  49. * Thu Apr 30 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.0-1
  50. - new upstream release
  51. - fix Patch10 (vine.patch) for 2.0
  52. * Sat Oct 04 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.99-1
  53. - new upstream release
  54. - fix Patch10 (vine.patch) for 1.99
  55. * Fri Aug 15 2008 Shu KONNO <owa@bg.wakwak.com> 1.97-1vl5
  56. - applied new versioning policy, spec in utf-8
  57. * Fri Oct 19 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.97-0vl3
  58. - updated to the newest upstream release 1.97
  59. - URL changes from suspend2.net to tuxonice.net
  60. - BuildArch changed to noarch
  61. - updated Patch10
  62. - added Patch11 to supress error message (since 0vl2)
  63. - added Patch23 to disable hibernation on ppc SMP kernel (since 0vl3)
  64. * Fri Oct 13 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.93-0vl4
  65. - update Patch10 to unset FullSpeedCPU option. <BTS:VineLinux:220>
  66. * Fri Sep 19 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.93-0vl3
  67. - remove "-b .vine" option from %%patch10
  68. * Mon Sep 18 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.93-0vl2
  69. - update Patch10 (<BTS:200>)
  70. - set "Runi915resolution yes"
  71. * Thu Aug 03 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.93-0vl1
  72. - new upstream release
  73. - update Patch10 ([VineSeed:11039])
  74. - modify default common.conf
  75. - up/down network interfaces on hibernating.
  76. - change CPU to full speed when suspending.
  77. - enable some hardware tweaks
  78. * Wed Mar 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.12-0vl2
  79. - add Patch10
  80. - add all version of ndiswrapper module to blacklist
  81. - add autodetecting for userui program
  82. - modify default hibernate.conf
  83. * Thu Mar 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.12-0vl1
  84. - new upstream release
  85. * Thu May 12 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.07-0vl1
  86. - new upstream source
  87. - use macros
  88. * Tue Jan 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 1.03-0vl1
  89. - initial build for Vine Linux
  90. * Wed Jan 5 2005 Bernard Blackham <bernard@blackham.com.au> -
  91. - Updated to 1.03 final version
  92. * Wed Nov 24 2004 Bernard Blackham <bernard@blackham.com.au> -
  93. - Updated to 1.02 final version
  94. * Thu Nov 18 2004 Bernard Blackham <bernard@blackham.com.au> -
  95. - Updated to 1.01 final version
  96. * Sun Nov 7 2004 Bernard Blackham <bernard@blackham.com.au> -
  97. - Updated to 1.00 final version
  98. * Fri Aug 20 2004 Bernard Blackham <bernard@blackham.com.au> -
  99. - Updated to 0.99 final version
  100. * Fri Aug 20 2004 Bernard Blackham <bernard@blackham.com.au> -
  101. - Updated to 0.98 final version
  102. * Thu Jul 29 2004 Bernard Blackham <bernard@blackham.com.au> -
  103. - Updated to 0.97 final version
  104. * Sat Jul 24 2004 Bernard Blackham <bernard@blackham.com.au> -
  105. - Updated to 0.96 final version
  106. * Sat Jul 24 2004 Bernard Blackham <bernard@blackham.com.au> -
  107. - Updated to 0.96-rc2 version
  108. * Sat Jul 24 2004 Bernard Blackham <bernard@blackham.com.au> -
  109. - Updated to 0.96-rc1 version
  110. * Fri Jul 23 2004 Bernard Blackham <bernard@blackham.com.au> -
  111. - Updated to 0.95.1 final version
  112. * Wed Jul 21 2004 Kevin Fenzi <kevin@tummy.com> -
  113. - Updated to 0.95 final version
  114. * Fri Jul 16 2004 Kevin Fenzi <kevin@tummy.com> -
  115. - Updated to 0.95-rc1 version
  116. * Mon Jul 12 2004 Kevin Fenzi <kevin@tummy.com> -
  117. - Initial build.