tuxonice-userui-vl.spec 5.3 KB

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