mlterm-vl.spec 7.8 KB

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