Summary: A Kanji (Japanese character set) terminal emulator for X. Name: kterm Version: 6.2.0 Release: 40a # Original source is gziped Source: ftp://ftp.sunet.se/pub/X11/R6contrib/applications/kterm-6.2.0.tar.bz2 Source1: kterm-app-defaults-jp Source2: kterm-gnome.desktop Patch0: kterm-6.2.0-kbd.patch.bz2 Patch1: kterm-6.2.0-glibc.patch.bz2 Patch2: kterm-6.2.0-utmp98.patch.bz2 Patch3: kterm-debian.patch.bz2 Patch4: kterm-%{version}.envvars.patch.bz2 Patch5: kterm-6.2.0-xmodifiers.patch Patch6: kterm-6.2.0-ia64.patch Patch7: kterm-6.2.0-malloc.patch Patch8: kterm-6.2.0-macosx.patch License: distributable Group: User Interface/X Buildroot: %{_tmppath}/%{name}-root %ifnos darwin Requires: /usr/sbin/utempter %endif BuildPrereq: ncurses-devel %description The kterm package provides a terminal emulator for the Kanji Japanese character set. %prep %setup %patch0 -p1 -b .kbd %patch1 -p1 -b .glibc %ifnos darwin %patch2 -p1 -b .utempter %endif %patch3 -p1 -b .debian %patch4 -p1 -b .envvars # this patch is very very ad hoc. # when XMODIFIERS is inappropriate value like @im=none for XIM, # if a problem kterm crashes will be fixed, this patch doesn't apply. %patch5 -p1 -b .xmodifiers # ia64 fix %patch6 -p1 -b .ia64 %patch7 -p1 -b .malloc %patch8 -p1 -b .macosx %build xmkmf make %install [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %ifos darwin mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/X11/app-defaults (cd $RPM_BUILD_ROOT ln -s .%{_sysconfdir} etc cd ./usr/X11R6/lib/X11 ln -s ../../../../etc/X11/app-defaults . ) %endif make install install.man DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/usr/X11R6/lib/X11/ja/app-defaults/ sed "s|^\*translations|*VT100*translations|g" \ $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults/KTerm > KTerm.new mv -f KTerm.new $RPM_BUILD_ROOT/usr/X11R6/lib/X11/app-defaults/KTerm install -m644 %{SOURCE1} \ $RPM_BUILD_ROOT/usr/X11R6/lib/X11/ja/app-defaults/KTerm %ifnos darwin mkdir -p $RPM_BUILD_ROOT/usr/share/applications/ %{__install} -m 644 %{SOURCE2} $RPM_BUILD_ROOT/usr/share/applications/kterm.desktop %endif chmod 755 $RPM_BUILD_ROOT/usr/X11R6/bin/kterm %files %ifnos darwin %defattr(-,root,root) %else %defattr(-,root,wheel) %endif /usr/X11R6/bin/kterm %config %{_sysconfdir}/X11/app-defaults/KTerm %config /usr/X11R6/lib/X11/ja/app-defaults/KTerm /usr/X11R6/lib/X11/doc/html/kterm.1.html /usr/X11R6/man/man1/kterm.* %ifnos darwin %config(missingok) /usr/share/applications/kterm.desktop %endif %clean [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT %changelog * Sun Jan 03 2005 Keisuke Fujii 6.2.0-40a - 1st release on MacOSX 10.4. * Wed Mar 10 2004 Akira TAGOH 6.2.0-40 - kterm-6.2.0-malloc.patch: applied to fix wrong prototype declaration for malloc. Thanks to Jeff Law * Mon Mar 08 2004 Akira TAGOH 6.2.0-39 - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jun 04 2003 Elliot Lee - rebuilt * Thu Feb 6 2003 Yukihiro Nakai 6.2.0-36 - desktop category is X-Red-Hat-Extra (#83602) * Tue Feb 4 2003 Yukihiro Nakai 6.2.0-35 - Update .desktop file * Fri Jan 31 2003 Yukihiro Nakai - Add ia64 fix(#83179) * Wed Jan 22 2003 Tim Powers - rebuilt * Mon Dec 23 2002 Tim Powers 6.2.0-31 - bump and rebuild * Wed Nov 20 2002 Tim Powers - rebuild on all arches * Fri Jun 21 2002 Tim Powers - automated rebuild * Thu May 23 2002 Tim Powers - automated rebuild * Thu Apr 18 2002 Akira TAGOH 6.2.0-28 - kterm-6.2.0-xmodifiers.patch: applied to fix MUST-FIX Bug#62304. note that this patch is for avoiding this problem. * Thu Jan 17 2002 Yukihiro Nakai - Add large font * Wed Jan 16 2002 Yukihiro Nakai - Add kanjiFont resource * Mon Jan 14 2002 Yukihiro Nakai - Translate resource file for Japanized menu * Wed Jan 09 2002 Tim Powers - automated rebuild * Mon Dec 10 2001 Yukihiro Nakai - Add gnome desktop file * Tue Aug 7 2001 Yukihiro Nakai - Add ncurses-devel to BuildPrereq (#49884) * Sun Jun 24 2001 Elliot Lee - Bump release + rebuild. * Tue Feb 14 2001 Yukihiro Nakai - Apply debian patch * Thu Feb 8 2001 Yukihiro Nakai - bunzip2 Source1 * Tue Feb 6 2001 Bill Nottingham - fix conversions in English app-defaults file (#12118) * Sun Jan 28 2001 Yukihiro Nakai - bzip2 * Mon Dec 18 2000 Yukihiro Nakai - Rebuild for 7.1 tree * Wed Oct 18 2000 Mitsuo Hamada - uncomment USE_SYSV_ENVVARS * Sat Sep 02 2000 Yukihiro Nakai - Rebuild on 7.0J - Fix about translation setting. - Fix about allow events. - Add Japanese translation in .desktop * Sat Jun 17 2000 Matt Wilson - added defattr * Sat Jun 10 2000 Bill Nottingham - rebuild in new build env. - add a couple of fixes from debian * Thu May 11 2000 Bill Nottingham - rebuild against current ncurses * Mon Feb 07 2000 Preston Brown - wmconfig -> desktop * Thu Feb 3 2000 Bill Nottingham - handle compressed man pages * Fri Mar 26 1999 Erik Troan - added unix98 pty support * Wed Mar 24 1999 Erik Troan - added utemper support - turn off setuid bit * Sun Mar 21 1999 Cristian Gafton - auto rebuild in the new build environment (release 5) * Thu Jan 7 1999 Bill Nottingham - built for glibc2.1 - this package doesn't change much, does it? * Fri May 01 1998 Prospector System - translations modified for de, fr, tr * Thu Apr 30 1998 Cristian Gafton - fixed build problems for manhattan * Tue Oct 21 1997 Otto Hammersmith - updated source - added wmconfig entries - fixed source url * Tue Oct 07 1997 Erik Troan - needed patch for glibc on the alpha as TIOCSLTC is defined for OSF compatibility * Thu Jul 31 1997 Erik Troan - built against glibc