tuxonice-userui-vl.spec 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. Summary: UserUI tools for TuxOnIce
  2. Summary(ja): TuxOnIce 用の UserUI ツール
  3. Name: tuxonice-userui
  4. Version: 1.0
  5. Release: 3%{?_dist_release}
  6. License: GPL
  7. Group: Applications/System
  8. URL: http://tuxonice.net/
  9. Source0: http://tuxonice.net/downloads/all/tuxonice-userui-%{version}.tar.gz
  10. Source1: TOI-Vine.tar.bz2
  11. Patch10: suspend2-userui-0.6.4-no-chown.patch
  12. Patch11: suspend2-userui-0.7.2-disable-usplash.patch
  13. Patch12: suspend2-userui-0.7.2-change-optimize-level.patch
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. BuildRequires: libpng-static, libjpeg-static, freetype2-static
  16. BuildRequires: zlib-static, libmng-static, lcms-static
  17. Obsoletes: suspend2-userui < 0.7.3
  18. %description
  19. The user interface for TuxOnIce, TuxOnIce-UserUI, is now a separate program
  20. that runs in userspace - it no longer exists in the kernel. This allows for
  21. greater flexibility in the user interface, and less potential for fatal issues
  22. to arise in kernel-space. TuxOnIce-UserUI is an optional component of Suspend
  23. 2, however, it can make your suspending experience much more enjoyable.
  24. %description -l ja
  25. Suspend 2 用のユーザーインターフェースである Suspend2-UserUI は、現在では
  26. ユーザー空間で実行される独立したプログラムになっています。その為 kernel に
  27. は含まれていません。 これによりユーザーインターフェースの自由度が増し、また
  28. カーネル空間で実行される場合に起こりうる致命的な問題の可能性も低減できます。
  29. Suspend2-UserUI は Suspend 2 のオプショナルなコンポーネントですが、インスト
  30. ールすればサスペンドがより楽しいものになります。
  31. %package fbsplash
  32. Summary: TuxOnIce UserUI tool for framebuffer console.
  33. Summary(ja): フレームバッファ用 TuxOnIce UserUI ツール
  34. Group: Applications/System
  35. Requires: tuxonice-userui
  36. Obsoletes: suspend2-userui-fbsplash < 0.7.3
  37. %description fbsplash
  38. This package includes the UserUI tool to display progress bar on the
  39. framebuffer console. (using fbsplash feature)
  40. %description fbsplash -l ja
  41. このパッケージはフレームバッファコンソール上にプログレスバーを表示する
  42. ための UserUI ツールを含んでいます。(fpsplash の機能を使用)
  43. %prep
  44. %setup -q
  45. %patch10 -p1
  46. %patch11 -p1
  47. %patch12 -p1
  48. %build
  49. make clean
  50. %__make all
  51. %install
  52. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  53. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/splash
  54. mkdir -p $RPM_BUILD_ROOT/sbin
  55. INSTDIR=$RPM_BUILD_ROOT/sbin make -e install
  56. # creating symlinks - see the NOTE in the below changelog
  57. pushd $RPM_BUILD_ROOT/sbin
  58. ln -s tuxoniceui_text suspend2ui_text
  59. ln -s tuxoniceui_fbsplash suspend2ui_fbsplash
  60. popd
  61. # Install Vine themes
  62. tar xjvf %{SOURCE1} -C $RPM_BUILD_ROOT%{_sysconfdir}/splash
  63. # creating symlinks - see the NOTE in the below changelog
  64. pushd $RPM_BUILD_ROOT%{_sysconfdir}/splash
  65. ln -s TOI-Vine suspend2
  66. ln -s TOI-Vine tuxonice
  67. popd
  68. %clean
  69. [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
  70. %files
  71. %defattr(-,root,root)
  72. %doc ChangeLog KERNEL_API README TODO USERUI_API
  73. /sbin/tuxoniceui_text
  74. /sbin/suspend2ui_text
  75. %files fbsplash
  76. /sbin/tuxoniceui_fbsplash
  77. /sbin/suspend2ui_fbsplash
  78. %config %{_sysconfdir}/splash/tuxonice
  79. %config %{_sysconfdir}/splash/suspend2
  80. %{_sysconfdir}/splash/TOI-Vine
  81. %changelog
  82. * Sat Apr 11 2009 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.0-3
  83. - rebuild with lcms 1.18vl2
  84. * Fri Apr 03 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-2
  85. - rebuild to add sign..
  86. * Thu Apr 02 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.0-1
  87. - new upstream release
  88. - rename /etc/splash/TuxOnIce to /etc/splash/tuxonice
  89. - update Vine splash theme
  90. * Fri Mar 27 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.3-1
  91. - new upstream release
  92. - spec in utf-8
  93. - new versioning policy
  94. - rename to tuxonice-userui
  95. - add BuildRequires -static instead of -devel
  96. * Fri Oct 19 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 0.7.2-0vl2
  97. - updated to upstream release 0.7.2
  98. - the upstream tarball contains unnecessary x86_64 binaries:
  99. removed from the original tarball (since 0vl2)
  100. - added Patch11 (do not compile suspend2ui_usplash)
  101. - added Patch12 (change from -O3 to -O2 for somewhat i-love-stability reason)
  102. - NOTE: the whole suspend2 programs seem to be currently in transition
  103. to TuxOnIce: some codes (and even documents) still has suspend2/tuxonice
  104. name confusions. So here we have some symbolic links for compatibility
  105. until the upstream completely finishes the stable TuxOnIce release.
  106. I guess the name of the userui programs will be changed from
  107. suspend2-userui to tuxonice-userui or something like that.
  108. * Sun Jan 28 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.6.3-0vl3
  109. - fix typo in spec <BTS:VineLinux:425>
  110. - add japanese description
  111. * Sat Sep 23 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.3-0vl2
  112. - update suspend2 theme based on sky background image.
  113. * Thu Mar 02 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.3-0vl1
  114. - initial build for Vine Linux