File tclx.spec of Package tclx

# spec file for package tclx (Version 8.4)
# 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

# norootforbuild

Name:           tclx
BuildRequires:  tcl-devel
Version:        8.4
Release:        470
Group:          Development/Languages/Tcl
Summary:        TclX - Extended Tcl
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
License:        Any permissive; BSD 3-Clause
AutoReqProv:    on
Source0:        %name%version-20050712.tar.bz2
Patch0:         %name.patch

Extended Tcl is a superset of standard Tcl. Extended Tcl has three
basic functional areas: A set of new commands, a Tcl shell (a Unix
shell-style command line and interactive environment), and a
user-extensible library of useful Tcl procedures, any of which can be
automatically loaded on the first attempt to execute it.

In addition, a detailed help system is available for Tcl/Tk: tclhelp.

    Karl Lehenbauer and Mark Diekhan <>

%setup -q -n %name%version

%{?suse_update_config:%{suse_update_config -f tclconfig}}
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure \
	--with-tcl=%_libdir \
	--with-help \

make install DESTDIR=%buildroot tclscriptdir=%tclscriptdir

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

rm -rf %buildroot

%doc %_mandir/mann/*
%doc %_mandir/man3/*

* Wed Jan 25 2006
- converted neededforbuild to BuildRequires
* Wed Dec 14 2005
- fix typo in tcl configure script
* Tue Jul 26 2005
- New CVS snapshot: tclx8.4-20050712
- Moved script library to /usr/share/tcl .
* Thu Nov 11 2004
- fixed file list
* Fri Apr 30 2004
- added -fno-strict-aliasing
* Sat Jan 10 2004
- add %%run_ldconfig
* Tue Nov 26 2002
- New CVS snapshot: tclx8.4-20021126
- Separated the TclX sources from the tcl package. For the older
  history of this package see the change log of the tcl package.