swsuspctl-vl.spec 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Summary: Software Suspend userspace utility (aka swsuspctl)
  2. Summary(ja): ソフトウエアサスペンド用ユーティリティ (swsuspctl)
  3. Name: swsuspctl
  4. Version: 0.93
  5. Release: 1%{?_dist_release}
  6. License: GPL
  7. Group: System Environment/Base
  8. Source: http://dagobah.ucc.asn.au/swsusp/swsuspctl5.c
  9. URL: http://dagobah.ucc.asn.au/swsusp/swsuspctl.html
  10. BuildRoot: %{_tmppath}/%{name}-root
  11. %description
  12. Swsuspctl makes it easier to understand the numbers in
  13. /proc/sys/kernel/swsusp. It also substitutes for the shutdown+z program to
  14. call software suspend. Be sure to get the version corresponding to your kernel
  15. swsusp version.
  16. %prep
  17. %build
  18. rm -rf %{name}-%{version}
  19. mkdir -p %{name}-%{version}
  20. cd %{name}-%{version}
  21. gcc -O2 -o swsuspctl %{SOURCE0}
  22. %install
  23. rm -rf %{buildroot}
  24. mkdir -p %{buildroot}%{_sbindir}
  25. cd %{name}-%{version}
  26. cp -a swsuspctl %{buildroot}%{_sbindir}
  27. %clean
  28. rm -rf %{buildroot}
  29. %files
  30. %defattr(-,root,root)
  31. %{_sbindir}/swsuspctl
  32. %changelog
  33. * Sat Oct 11 2008 Shu KONNO <owa@bg.wakwak.com> 0.93-1vl5
  34. - applied new versioning policy, spec in utf-8
  35. * Wed Jul 16 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.93-0vl1
  36. - new upstream release for swsusp-1.0
  37. * Mon Jul 14 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 0.91-0vl1
  38. - initial build.