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