File tclx.spec of Package tclx

# spec file for package tclx
# Copyright (c) 2013 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

Name:           tclx
BuildRequires:  autoconf
BuildRequires:  tcl-devel
Version:        8.4.1
Release:        0
Summary:        TclX - Extended Tcl
License:        SUSE-Permissive and BSD-3-Clause
Group:          Development/Languages/Tcl
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %name%version.tar.bz2

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}8.4

export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure \
	--with-tcl=%_libdir \
	--with-help \

make install DESTDIR=%buildroot pkglibdir=%tcl_archdir/%{name}8.4

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

rm -rf %buildroot

%doc %_mandir/mann/*
%doc ChangeLog README