mlterm-vl.spec 7.3 KB

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