mlterm-vl.spec 6.8 KB

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