Summary: A graphical desktop manager. %define version 1.2 %define prefix /usr/local Name: jp-TkDesk Version: %{version} Release: 1b Source: ftp://sunsite.sut.ac.jp/pub/archives/linux/Incoming/tkdesk-%{version}.tar.gz Patch0: tkdesk-%{version}+jp.patch Patch1: exit-save.diff Patch2: appbar-dnd.diff Patch3: empty-trash.diff Copyright: GPL Group: X11/Applications Packager: Keisuke Fujii, fujiik@jlcuxf.kek.jp BuildRoot: /tmp/tkdesk-root %description From the README: TkDesk is a rather sophisticated desktop and file manager for Unix and X. It has got loads of features, such as file-specific pop-up menus, history management etc. etc. See below for more. TkDesk is mainly implemented in Tcl/Tk, with core functions written in C. It needs a recent version of Tcl/Tk installed to run. Most every aspect of TkDesk can be configured through configuration files (which again are simple Tcl scripts, and thus give the user who knows Tcl enormous power). %prep %setup -n tkdesk-%{version} %patch0 -p1 %patch1 -p0 cd tcldesk %patch2 -p0 %patch3 -p0 cd .. find . -name '*.orig' -exec rm -f {} \; -print find ./tcldesk/configs -name '*~' -exec rm -f {} \; -print rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{prefix}/bin mkdir -p $RPM_BUILD_ROOT%{prefix}/lib mkdir -p $RPM_BUILD_ROOT%{prefix}/man %build ./configure --prefix=%{prefix} make CC_OPTS="$RPM_OPT_FLAGS -DKANJI -DKINPUT2" %install make INSTALL_ROOT=$RPM_BUILD_ROOT install %clean rm -rf $RPM_BUILD_ROOT %files %{prefix}/bin/* %{prefix}/lib/TkDesk %{prefix}/man/man1/* %doc COPYING CREDITS INSTALL README TODO license.terms doc/guide.ps doc/guide.sgml %changelog * Fri Dec 17 1999 Keisuke Fujii - added 3 patches from the official TkDesk site. * Fri Nov 19 1999 Keisuke Fujii - update to v.1.2 - built with tcl7.6jp/tk4.2jp since i18n of tcl/tk8.2.2 is still incomplete. * Fri Feb 5 1999 Keisuke Fujii - added $RPM_OPT_FLAGS to CC_OPTS according to T.Oe's suggestion. * Sat Nov 14 1998 Keisuke Fujii - applied two official fixes from Christian Bolik, the creator of TkDesk: - saveall.fix and trashdir.fix, both of them fix rather serious bugs. * Mon Sep 21 1998 Keisuke Fujii - 1st Japanized release of the latest TkDesk version.