1 | %define pixmapdir %{_datadir}/pixmaps |
---|
2 | %define appentdir %{_datadir}/applications |
---|
3 | |
---|
4 | Summary: Multi Lingual TERMinal emulator for X |
---|
5 | Summary(ja): 多言語対応 X ターミナルエミュレータ |
---|
6 | Name: mlterm |
---|
7 | Version: 3.0.2 |
---|
8 | Release: 1%{?_dist_release} |
---|
9 | Source0: http://prdownloads.sourceforge.net/mlterm/%{name}-%{version}.tar.gz |
---|
10 | Source1: mlterm-icons.tar.bz2 |
---|
11 | Patch0: mlterm-vine-3.patch |
---|
12 | ###Patch1: mlterm-2.9.4-stropts.patch |
---|
13 | License: Modified BSD-style license |
---|
14 | Group: User Interface/Desktops |
---|
15 | BuildRoot: %{_tmppath}/%{name}-buildroot |
---|
16 | Requires: task-xorg-x11 gdk-pixbuf gtk2 freetype2 |
---|
17 | Requires: fribidi scim libXft |
---|
18 | BuildRequires: task-xorg-x11 gdk-pixbuf-devel gtk2-devel freetype2-devel |
---|
19 | BuildRequires: fribidi-devel scim-devel libXft-devel |
---|
20 | Distribution: Vine Linux |
---|
21 | Vendor: Project Vine |
---|
22 | URL: http://mlterm.sourceforge.net/ |
---|
23 | |
---|
24 | %description |
---|
25 | mlterm is a multi-lingual terminal emulator written from |
---|
26 | scratch, which supports various character sets and encodings |
---|
27 | in the world. It also supports various unique feature such as |
---|
28 | anti-alias using FreeType, multiple windows, scrollbar API, |
---|
29 | scroll by mouse wheel, automatic selection of encoding, |
---|
30 | and so on. Multiple xims are also supported. |
---|
31 | You can dynamically change various xims. |
---|
32 | |
---|
33 | %description -l ja |
---|
34 | mlterm は世界中の様々なキャラクタコードとエンコーディングをサポートする |
---|
35 | 多言語対応の、スクラッチから書かれたターミナルエミュレータです。 |
---|
36 | 又 mlterm は FreeTypeフォント使用によるアンチエリアス、多重ウィンドウ、 |
---|
37 | スクロールバーAPI、マウスホイールによるスクロール、エンコーディングの自 |
---|
38 | 動選択等の様々なユニークな特徴を持っています。多種の xim もサポートし、 |
---|
39 | 動的に xim を変更することも可能です。 |
---|
40 | |
---|
41 | |
---|
42 | %prep |
---|
43 | rm -rf %{buildroot} |
---|
44 | |
---|
45 | %setup -q -a 1 |
---|
46 | %patch0 -p1 |
---|
47 | ##%%patch1 -p1 |
---|
48 | |
---|
49 | |
---|
50 | %build |
---|
51 | CFLAGS="$RPM_OPT_FLAGS" \ |
---|
52 | %configure --libexecdir=%{_libexecdir}/%{name} \ |
---|
53 | --with-imagelib=gdk-pixbuf \ |
---|
54 | --enable-fribidi \ |
---|
55 | --with-type-engines=xcore,xft \ |
---|
56 | --with-tools=mlclient,mlconfig,mlterm-menu,mlcc,mlterm-zoom \ |
---|
57 | --enable-anti-alias \ |
---|
58 | --with-scrollbars=sample,extra,pixmap_engine \ |
---|
59 | --enable-scim |
---|
60 | |
---|
61 | |
---|
62 | %__make |
---|
63 | |
---|
64 | %install |
---|
65 | rm -rf %{buildroot} |
---|
66 | make DESTDIR=%{buildroot} install |
---|
67 | mkdir -p %{buildroot}%{pixmapdir} |
---|
68 | install -m 644 %{_builddir}/%{name}-%{version}/doc/icon/mlterm* \ |
---|
69 | %{buildroot}%{pixmapdir} |
---|
70 | mkdir -p %{buildroot}%{_datadir}/applications/ |
---|
71 | install -m 644 %{_builddir}/%{name}-%{version}/MLterm*.desktop \ |
---|
72 | %{buildroot}%{appentdir} |
---|
73 | %{find_lang} mlconfig |
---|
74 | |
---|
75 | ## remove unuse files |
---|
76 | rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
77 | rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la |
---|
78 | rm -rf $RPM_BUILD_ROOT%{_libdir}/mkf/*.la |
---|
79 | |
---|
80 | %post |
---|
81 | cat << EOF |
---|
82 | |
---|
83 | デフォルトの設定を変更したい場合は、'Control+右クリック'して |
---|
84 | 設定ダイアログを開いて設定してください。 |
---|
85 | 設定ダイアログがサポートしないフォント、ショートカットキー、 |
---|
86 | im 等の設定は、/etc/mlterm/ に有る該当設定ファイルを |
---|
87 | \$HOME/.mlterm/ 以下にコピーし、編集してください。 |
---|
88 | |
---|
89 | mlterm の日本語情報は |
---|
90 | /usr/share/doc/mlterm-%{version}/ja/ |
---|
91 | に有ります。 |
---|
92 | |
---|
93 | EOF |
---|
94 | |
---|
95 | %clean |
---|
96 | rm -rf %{buildroot} |
---|
97 | |
---|
98 | |
---|
99 | %files |
---|
100 | %defattr(-,root,root) |
---|
101 | %doc ChangeLog LICENCE README doc/{en,ja} |
---|
102 | %{_bindir}/* |
---|
103 | %{_libdir}/* |
---|
104 | %{_libexecdir}/* |
---|
105 | %{_sysconfdir}/* |
---|
106 | %{_datadir}/* |
---|
107 | |
---|
108 | %changelog |
---|
109 | * Wed Jan 19 2011 KATO Masashi <mkato@par.odn.ne.jp> 3.0.2-1 |
---|
110 | - upstream source update |
---|
111 | - dropped patch1 |
---|
112 | |
---|
113 | * Sun Jul 18 2010 KATO Masashi <mkato@par.odn.ne.jp> 3.0.1-1 |
---|
114 | - upstream source update |
---|
115 | |
---|
116 | * Sun Apr 11 2010 KATO Masashi <mkato@par.odn.ne.jp> 3.0.0-1 |
---|
117 | - upstream source update |
---|
118 | - updated mlterm-vine.patch |
---|
119 | |
---|
120 | * Thu Sep 24 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.9.4-5 |
---|
121 | - changed image library (imlib -> gdk-pixbuf) |
---|
122 | - updated mlterm-vine.patch |
---|
123 | |
---|
124 | * Sun Sep 28 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.9.4-4 |
---|
125 | - add Patch1 to build against glibc-2.8 |
---|
126 | |
---|
127 | * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 2.9.4-3 |
---|
128 | - removed *.la |
---|
129 | - spec in utf-8 |
---|
130 | |
---|
131 | * Fri Jun 27 2008 KATO Masashi <mkato@par.odn.ne.jp> 2.9.4-2 |
---|
132 | - added desktop entries & icons (Standerd, UTF-8 and EUC-JP mode) |
---|
133 | |
---|
134 | * Sun Jun 15 2008 Satoshi MACHINO <machino@vinelinux.org> 2.9.4-1vl5 |
---|
135 | - applied new versioning policy |
---|
136 | - changed requires (xorg >= 7.3) |
---|
137 | |
---|
138 | * Wed Dec 19 2007 KATO Masashi <mkato@par.odn.ne.jp> 2.9.4-0vl1, 2 |
---|
139 | - upstream source update |
---|
140 | |
---|
141 | * Tue Dec 26 2006 KATO Masashi <mkato@par.odn.ne.jp> 2.9.3-0vl4, 5 |
---|
142 | - remove '--enable-uim' option |
---|
143 | |
---|
144 | * Sun Dec 24 2006 KATO Masashi <mkato@par.odn.ne.jp> 2.9.3-0vl2, 3 |
---|
145 | - rebuild at Vine 4.0, Seed |
---|
146 | - change Group ('User Interface/X' to 'User Interface/Desktops') |
---|
147 | - change bindir ('%{_prefix}/X11R6/bin' to '%{_exec_prefix}/bin') |
---|
148 | - change require ( 'gtk+' to 'gtk2' ) |
---|
149 | - support scim (default input_method = scim) |
---|
150 | - specified "vl gothic" to default font |
---|
151 | - enable mlterm-zoom (control+button2) |
---|
152 | |
---|
153 | * Fri Nov 03 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.9.3-0vl1 |
---|
154 | - Source version 2.9.3 |
---|
155 | |
---|
156 | * Thu May 05 2005 Satoshi MACHINO <machino@vinelinux.org> 2.9.2-0vl1 |
---|
157 | - new upstream release |
---|
158 | - dropped patch0 |
---|
159 | |
---|
160 | * Wed Jun 16 2004 KATO Masashi <mkato@par.odn.ne.jp> 2.8.0-0vl3 |
---|
161 | - using rpm macros |
---|
162 | |
---|
163 | * Wed Jun 16 2004 KATO Masashi <mkato@par.odn.ne.jp> 2.8.0-0vl2 |
---|
164 | - build for VineSeed |
---|
165 | |
---|
166 | * Mon Jun 14 2004 KATO Masashi <mkato@par.odn.ne.jp> 2.8.0-0vl1 |
---|
167 | - packaging for VineLinux |
---|
168 | |
---|
169 | * Sun Oct 05 2003 Araki Ken <arakiken@users.sf.net> |
---|
170 | - Source version 2.8.0 |
---|
171 | |
---|
172 | * Sat Jun 14 2003 Araki Ken <arakiken@users.sf.net> |
---|
173 | - Source version 2.7.0 |
---|
174 | |
---|
175 | * Sun Jan 12 2003 Araki Ken <arakiken@users.sf.net> |
---|
176 | - Source version 2.6.3 |
---|
177 | |
---|
178 | * Thu Oct 1 2002 Araki Ken <arakiken@users.sf.net> |
---|
179 | - Source version 2.6.2 |
---|
180 | |
---|
181 | * Thu Sep 12 2002 Araki Ken <arakiken@users.sf.net> |
---|
182 | - Source version 2.6.1 |
---|
183 | |
---|
184 | * Sat Sep 7 2002 Araki Ken <arakiken@users.sf.net> |
---|
185 | - Source version 2.6.0 |
---|
186 | |
---|
187 | * Sun Jun 16 2002 Araki Ken <arakiken@users.sourceforge.net> |
---|
188 | - Source version 2.5.0 |
---|
189 | |
---|
190 | * Sun Apr 14 2002 Araki Ken <arakiken@users.sourceforge.net> |
---|
191 | - Source version 2.4.0 |
---|
192 | |
---|
193 | * Mon Feb 25 2002 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
194 | - Source version 2.3.1 |
---|
195 | |
---|
196 | * Sat Feb 23 2002 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
197 | - Source version 2.3.0 |
---|
198 | |
---|
199 | * Tue Jan 29 2002 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
200 | - Source version 2.2.0 |
---|
201 | |
---|
202 | * Wed Jan 2 2002 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
203 | - Source version 2.1.2 |
---|
204 | |
---|
205 | * Sun Dec 30 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
206 | - Source version 2.1.1 |
---|
207 | |
---|
208 | * Sat Dec 29 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
209 | - Source version 2.1.0 |
---|
210 | |
---|
211 | * Thu Nov 29 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
212 | - Source version 2.0.0 |
---|
213 | |
---|
214 | * Mon Nov 26 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
215 | - Source version 1.9.47 |
---|
216 | |
---|
217 | * Sat Nov 24 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
218 | - Source version 1.9.46 |
---|
219 | |
---|
220 | * Fri Nov 23 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
221 | - Source version 1.9.45 |
---|
222 | |
---|
223 | * Sat Nov 17 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
224 | - Source version 1.9.44 |
---|
225 | |
---|
226 | * Wed Nov 14 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
227 | - Source version 1.9.43 |
---|
228 | |
---|
229 | * Tue Nov 13 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp> |
---|
230 | - Source version 1.9.42pl6 |
---|
231 | |
---|