123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227 |
- %define pixmapdir %{_datadir}/pixmaps
- %define appentdir %{_datadir}/applications
- %define scrlbardir %{_datadir}/mlterm/scrollbars
- Summary: Multi Lingual TERMinal emulator for X
- Summary(ja): 多言語対応 X ターミナルエミュレータ
- Name: mlterm
- Version: 2.9.4
- Release: 5%{?_dist_release}
- Source0: http://prdownloads.sourceforge.net/mlterm/mlterm-%{version}.tar.gz
- Source1: mlterm-icons.tar.bz2
- Patch0: mlterm-vine-2.patch
- Patch1: mlterm-2.9.4-stropts.patch
- License: Modified BSD-style license
- Group: User Interface/Desktops
- BuildRoot: %{_tmppath}/%{name}-buildroot
- Requires: xorg-x11-libs
- Requires: gdk-pixbuf, gtk2, freetype2 >= 2.0.2
- Requires: fribidi
- BuildRequires: gtk2-devel, fribidi-devel, scim-devel
- Distribution: Vine Linux
- Vendor: Project Vine
- URL: http://mlterm.sourceforge.net/
- %description
- mlterm is a multi-lingual terminal emulator written from
- scratch, which supports various character sets and encodings
- in the world. It also supports various unique feature such as
- anti-alias using FreeType, multiple windows, scrollbar API,
- scroll by mouse wheel, automatic selection of encoding,
- and so on. Multiple xims are also supported.
- You can dynamically change various xims.
- %description -l ja
- mlterm は世界中の様々なキャラクタコードとエンコーディングをサポートする
- 多言語対応の、スクラッチから書かれたターミナルエミュレータです。
- 又 mlterm は FreeTypeフォント使用によるアンチエリアス、多重ウィンドウ、
- スクロールバーAPI、マウスホイールによるスクロール、エンコーディングの自
- 動選択等の様々なユニークな特徴を持っています。多種の xim もサポートし、
- 動的に xim を変更することも可能です。
- %prep
- rm -rf %{buildroot}
- %setup -q
- %__tar jxf %{SOURCE1}
- %patch0 -p1
- %patch1 -p1
- %build
- CFLAGS="$RPM_OPT_FLAGS" \
- %configure --libexecdir=%{_libexecdir}/%{name} \
- --with-imagelib=gdk-pixbuf \
- --enable-fribidi \
- --with-type-engines=xcore, xft \
- --with-tools=mlclient,mlconfig,mlterm-menu,mlcc,mlterm-zoom \
- --enable-anti-alias \
- --with-scrollbars=sample,extra,pixmap_engine \
- --enable-scim
- %__make
- %install
- rm -rf %{buildroot}
- make DESTDIR=%{buildroot} install
- mkdir -p %{buildroot}%{pixmapdir}
- install -m 644 %{_builddir}/%{name}-%{version}/doc/icon/mlterm* \
- %{buildroot}%{pixmapdir}
- mkdir -p %{buildroot}%{_datadir}/applications/
- install -m 644 %{_builddir}/%{name}-%{version}/MLterm*.desktop \
- %{buildroot}%{appentdir}
- %{find_lang} mlconfig
- ## remove unuse files
- rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
- rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
- %post
- cat << EOF
- デフォルトの設定を変更したい場合は、'Control+右クリック'して
- 設定ダイアログを開いて設定してください。
- 設定ダイアログがサポートしないフォント、ショートカットキー、
- im 等の設定は、/etc/mlterm/ に有る該当設定ファイルを
- \$HOME/.mlterm/ 以下にコピーし、編集してください。
- mlterm の日本語情報は
- /usr/share/doc/mlterm-%{version}/ja/
- に有ります。
- EOF
- %clean
- rm -rf %{buildroot}
- %files -f mlconfig.lang
- %defattr(-,root,root)
- %doc ChangeLog LICENCE README doc/{en,ja}
- %{_bindir}/*
- %{_libdir}/libkik.*
- %{_libdir}/libmkf.*
- %{_libdir}/mlterm
- %{_libexecdir}/mlterm
- %{_sysconfdir}/mlterm
- %{_mandir}/man1/mlterm.1*
- %{_mandir}/man1/mlclient.1*
- %{pixmapdir}/mlterm*
- %{appentdir}/*
- %{scrlbardir}/*
- %changelog
- * Thu Sep 24 2009 KATO Masashi <mkato@par.odn.ne.jp> 2.9.4-5
- - changed image library (imlib -> gdk-pixbuf)
- - updated mlterm-vine.patch
- * Sun Sep 28 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.9.4-4
- - add Patch1 to build against glibc-2.8
- * Fri Sep 26 2008 Shu KONNO <owa@bg.wakwak.com> 2.9.4-3
- - removed *.la
- - spec in utf-8
- * Fri Jun 27 2008 KATO Masashi <mkato@par.odn.ne.jp> 2.9.4-2
- - added desktop entries & icons (Standerd, UTF-8 and EUC-JP mode)
- * Sun Jun 15 2008 Satoshi MACHINO <machino@vinelinux.org> 2.9.4-1vl5
- - applied new versioning policy
- - changed requires (xorg >= 7.3)
- * Wed Dec 19 2007 KATO Masashi <mkato@par.odn.ne.jp> 2.9.4-0vl1, 2
- - upstream source update
- * Tue Dec 26 2006 KATO Masashi <mkato@par.odn.ne.jp> 2.9.3-0vl4, 5
- - remove '--enable-uim' option
- * Sun Dec 24 2006 KATO Masashi <mkato@par.odn.ne.jp> 2.9.3-0vl2, 3
- - rebuild at Vine 4.0, Seed
- - change Group ('User Interface/X' to 'User Interface/Desktops')
- - change bindir ('%{_prefix}/X11R6/bin' to '%{_exec_prefix}/bin')
- - change require ( 'gtk+' to 'gtk2' )
- - support scim (default input_method = scim)
- - specified "vl gothic" to default font
- - enable mlterm-zoom (control+button2)
- * Fri Nov 03 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.9.3-0vl1
- - Source version 2.9.3
- * Thu May 05 2005 Satoshi MACHINO <machino@vinelinux.org> 2.9.2-0vl1
- - new upstream release
- - dropped patch0
- * Wed Jun 16 2004 KATO Masashi <mkato@par.odn.ne.jp> 2.8.0-0vl3
- - using rpm macros
- * Wed Jun 16 2004 KATO Masashi <mkato@par.odn.ne.jp> 2.8.0-0vl2
- - build for VineSeed
- * Mon Jun 14 2004 KATO Masashi <mkato@par.odn.ne.jp> 2.8.0-0vl1
- - packaging for VineLinux
- * Sun Oct 05 2003 Araki Ken <arakiken@users.sf.net>
- - Source version 2.8.0
- * Sat Jun 14 2003 Araki Ken <arakiken@users.sf.net>
- - Source version 2.7.0
- * Sun Jan 12 2003 Araki Ken <arakiken@users.sf.net>
- - Source version 2.6.3
- * Thu Oct 1 2002 Araki Ken <arakiken@users.sf.net>
- - Source version 2.6.2
- * Thu Sep 12 2002 Araki Ken <arakiken@users.sf.net>
- - Source version 2.6.1
- * Sat Sep 7 2002 Araki Ken <arakiken@users.sf.net>
- - Source version 2.6.0
- * Sun Jun 16 2002 Araki Ken <arakiken@users.sourceforge.net>
- - Source version 2.5.0
- * Sun Apr 14 2002 Araki Ken <arakiken@users.sourceforge.net>
- - Source version 2.4.0
- * Mon Feb 25 2002 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 2.3.1
- * Sat Feb 23 2002 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 2.3.0
- * Tue Jan 29 2002 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 2.2.0
- * Wed Jan 2 2002 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 2.1.2
- * Sun Dec 30 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 2.1.1
- * Sat Dec 29 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 2.1.0
- * Thu Nov 29 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 2.0.0
- * Mon Nov 26 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 1.9.47
- * Sat Nov 24 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 1.9.46
- * Fri Nov 23 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 1.9.45
- * Sat Nov 17 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 1.9.44
- * Wed Nov 14 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 1.9.43
- * Tue Nov 13 2001 Araki Ken <j00v0113@ip.media.kyoto-u.ac.jp>
- - Source version 1.9.42pl6
|