mlterm-vl.spec 8.6 KB

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