123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260 |
- %define pixmapdir %{_datadir}/pixmaps
- %define appentdir %{_datadir}/applications
- Summary: Multi Lingual TERMinal emulator for X
- Summary(ja): 多言語対応 X ターミナルエミュレータ
- Name: mlterm
- Version: 3.0.9
- Release: 1%{?_dist_release}
- Source0: http://sourceforge.net/projects/mlterm/files/01release/%{name}-%{version}/%{name}-%{version}.tar.gz
- Source1: mlterm-files-1.tar.bz2
- Patch0: mlterm-vine-5.patch
- ###Patch1: mlterm-2.9.4-stropts.patch
- Patch10: mlterm-key.patch
- License: Modified BSD-style license
- Group: User Interface/Desktops
- BuildRoot: %{_tmppath}/%{name}-buildroot
- Requires: task-xorg-x11 gtk2 freetype2
- Requires: fribidi scim libXft
- Requires: vte
- ###Requires: gdk-pixbuf2
- BuildRequires: gtk2-devel freetype2-devel
- BuildRequires: fribidi-devel scim-devel libXft-devel
- BuildRequires: vte-devel
- ###BuildRequires: gdk-pixbuf2-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 -a 1
- %patch0 -p1
- %patch10 -p1
- %build
- CFLAGS="$RPM_OPT_FLAGS" \
- %configure --libexecdir=%{_libexecdir}/%{name} \
- --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 --enable-ibus \
- --enable-ind --enable-utmp --enable-ssh2
- %__make
- %install
- rm -rf %{buildroot}
- make DESTDIR=%{buildroot} install
- # icons
- mkdir -p %{buildroot}%{pixmapdir}
- install -m 644 %{_builddir}/%{name}-%{version}/doc/icon/mlterm* \
- %{buildroot}%{pixmapdir}
- # desktop entries
- mkdir -p %{buildroot}%{_datadir}/applications/
- install -m 644 %{_builddir}/%{name}-%{version}/MLterm*.desktop \
- %{buildroot}%{appentdir}
- # libexec
- mkdir -p %{buildroot}/%{_libexecdir}/%{name}
- install -m 755 %{_builddir}/%{name}-%{version}/libexec/* \
- %{buildroot}/%{_libexecdir}/%{name}
- %{find_lang} mlconfig
- ## remove unuse files
- rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
- rm -rf $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
- rm -rf $RPM_BUILD_ROOT%{_libdir}/mkf/*.la
- %post
- cat << EOF
- デフォルトの設定を変更したい場合は、'Control+右クリック'して
- 設定ダイアログを開いて設定してください。
- 設定ダイアログがサポートしないフォント、ショートカットキー、
- im 等の設定は、/etc/mlterm/ に有る該当設定ファイルを
- \$HOME/.mlterm/ 以下にコピーし、編集してください。
- mlterm の日本語情報は
- /usr/share/doc/mlterm-%{version}/ja/
- に有ります。
- EOF
- %clean
- rm -rf %{buildroot}
- %files
- %defattr(-,root,root)
- %doc ChangeLog LICENCE README doc/{en,ja}
- %{_bindir}/*
- %{_libdir}/*
- %{_libexecdir}/*
- %{_sysconfdir}/*
- %{_datadir}/*
- %{_libexecdir}/*
- %changelog
- * Thu Nov 24 2011 KATO Masashi <mkato@par.odn.ne.jp> 3.0.9-1
- - upstream source update
- - rewrited desktop entry files
- * Sun Sep 25 2011 KATO Masashi <mkato@par.odn.ne.jp> 3.0.8-1
- - upstream source update
- * Thu Sep 22 2011 KATO Masashi <mkato@par.odn.ne.jp> 3.0.7-1
- - upstream source update
- - changed default xim (scim -> xim-ibus)
- - dropped pixmap support
- * Wed Jun 8 2011 KATO Masashi <mkato@par.odn.ne.jp> 3.0.5-1
- - upstream source update
- * Sat Mar 26 2011 KATO Masashi <mkato@par.odn.ne.jp> 3.0.3-1
- - upstream source update
- - added ibus suport
- * Wed Jan 19 2011 KATO Masashi <mkato@par.odn.ne.jp> 3.0.2-1
- - upstream source update
- - dropped patch1
- * Sun Jul 18 2010 KATO Masashi <mkato@par.odn.ne.jp> 3.0.1-1
- - upstream source update
- * Sun Apr 11 2010 KATO Masashi <mkato@par.odn.ne.jp> 3.0.0-1
- - upstream source update
- - updated mlterm-vine.patch
- * 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
|