mlterm-vl.spec 6.9 KB

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