source: projects/specs/trunk/t/tuxonice-userui/tuxonice-userui-vl.spec @ 4021

Revision 4021, 5.3 KB checked in by daisuke, 13 years ago (diff)

tuxonice-userui: remove fbsplash add usplash, addBR: usplash-devel, glib-static

Line 
1Summary: UserUI tools for TuxOnIce
2Summary(ja): TuxOnIce 用の UserUI ツール
3Name: tuxonice-userui
4Version: 1.0
5Release: 6%{?_dist_release}
6License: GPL
7Group: Applications/System
8URL: http://tuxonice.net/
9
10Source0: http://tuxonice.net/downloads/all/tuxonice-userui-%{version}.tar.gz
11Source1: TOI-Vine.tar.bz2
12Patch10: suspend2-userui-0.6.4-no-chown.patch
13Patch11: tuxonice-userui-1.0-disable-fbsplash.patch
14Patch12: suspend2-userui-0.7.2-change-optimize-level.patch
15
16BuildRoot: %{_tmppath}/%{name}-%{version}-root
17BuildRequires: glibc-static
18BuildRequires: libpng-static, freetype2-static
19BuildRequires: zlib-static, libmng-static, lcms-static
20BuildRequires: usplash-devel
21Obsoletes: suspend2-userui < 0.7.3
22
23%description
24The user interface for TuxOnIce, TuxOnIce-UserUI, is now a separate program
25that runs in userspace - it no longer exists in the kernel. This allows for
26greater flexibility in the user interface, and less potential for fatal issues
27to arise in kernel-space. TuxOnIce-UserUI is an optional component of Suspend
282, however, it can make your suspending experience much more enjoyable.
29
30%description -l ja
31Suspend 2 用のユーザーインターフェースである Suspend2-UserUI は、現在では
32ユーザー空間で実行される独立したプログラムになっています。その為 kernel に
33は含まれていません。 これによりユーザーインターフェースの自由度が増し、また
34カーネル空間で実行される場合に起こりうる致命的な問題の可能性も低減できます。
35Suspend2-UserUI は Suspend 2 のオプショナルなコンポーネントですが、インスト
36ールすればサスペンドがより楽しいものになります。
37
38%package usplash
39Summary: TuxOnIce UserUI tool for framebuffer console.
40Summary(ja): フレームバッファ用 TuxOnIce UserUI ツール
41Group: Applications/System
42Requires: tuxonice-userui
43Requires: usplash
44Obsoletes: suspend2-userui-fbsplash < 0.7.3
45Obsoletes: tunonice-userui-fbsplash < 1.0-5
46
47%description usplash
48This package includes the UserUI tool to display progress bar on the
49framebuffer console. (using usplash feature)
50
51%description usplash -l ja
52このパッケージはフレームバッファコンソール上にプログレスバーを表示する
53ための UserUI ツールを含んでいます。(usplash の機能を使用)
54
55
56%prep
57%setup -q
58%patch10 -p1
59%patch11 -p1
60%patch12 -p1
61
62
63%build
64make clean
65%__make all
66
67
68%install
69[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
70mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/splash
71mkdir -p $RPM_BUILD_ROOT/sbin
72INSTDIR=$RPM_BUILD_ROOT/sbin make -e install
73
74# creating symlinks - see the NOTE in the below changelog
75pushd $RPM_BUILD_ROOT/sbin
76ln -s tuxoniceui_text     suspend2ui_text
77ln -s tuxoniceui_usplash suspend2ui_usplash
78popd
79
80# Install Vine themes
81tar xjvf %{SOURCE1} -C $RPM_BUILD_ROOT%{_sysconfdir}/splash
82
83# creating symlinks - see the NOTE in the below changelog
84pushd $RPM_BUILD_ROOT%{_sysconfdir}/splash
85ln -s TOI-Vine suspend2
86ln -s TOI-Vine tuxonice
87popd
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
101%files usplash
102/sbin/tuxoniceui_usplash
103/sbin/suspend2ui_usplash
104%config %{_sysconfdir}/splash/tuxonice
105%config %{_sysconfdir}/splash/suspend2
106%{_sysconfdir}/splash/TOI-Vine
107
108
109%changelog
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
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
Note: See TracBrowser for help on using the repository browser.