File tkcon.spec of Package tkcon

#
# spec file for package tkcon (Version 2.5)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           tkcon
Summary:        Enhanced Tk Console
Version:        2.5
Release:        1
License:        BSD-3-Clause
Group:          Development/Languages/Tcl
Url:            http://tkcon.sourceforge.net
Source0:        %{name}-20080207.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  findutils tcl
BuildArch:      noarch

%description
Tkcon is a replacement for the standard console that comes with Tk (on
Windows/Mac, but also works on Unix).

The console itself provides many more features than the standard
console. Tkcon works on all platforms where Tcl/Tk is available. It is
meant primarily to help when working with the little details inside Tcl
and Tk, giving Unix users the GUI console provided by default in the
Mac and Windows Tk. It is also not a bad replacement for the default
MS-DOS shell (although it needs lots of fine tuning).



Authors:
--------
    Jeffrey Hobbs <jeff@hobbs.org>

%prep
%setup -q -n %name

%build

%install
find -type f | xargs chmod 644
mkdir -p %buildroot%tcl_noarchdir/tkcon
install -m755 tkcon.tcl    %buildroot/%tcl_noarchdir/tkcon
install -m644 pkgIndex.tcl %buildroot/%tcl_noarchdir/tkcon
mkdir -p %buildroot/usr/bin
ln -sf %tcl_noarchdir/tkcon/tkcon.tcl %buildroot/usr/bin/tkcon

%clean
rm -rf %buildroot

%files
%defattr(-,root,root,-)
%doc README.txt ChangeLog index.html docs
/usr/bin/tkcon
%tclscriptdir/tkcon

%changelog
* Fri Sep 26 2008 max@suse.de
- Update to the latest version from CVS
- Install as an executable as well as a tcl extension package.
* Wed Jun 04 2008 max@suse.de
- Make it work with Tcl/Tk 8.5.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Aug 02 2004 max@suse.de
- New version: 2.4
* Tue Feb 24 2004 hmacht@suse.de
- building as non-root
* Wed Jun 04 2003 max@suse.de
- New Package: tkcon
- An enhanced console for Tk