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