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 http://bugs.opensuse.org/
#
# 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
%description
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.
Authors:
--------
Karl Lehenbauer and Mark Diekhan <info@NeoSoft.com>
%prep
%setup -q -n %name%version
%patch0
%build
%{?suse_update_config:%{suse_update_config -f tclconfig}}
autoconf
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure \
--with-tcl=%_libdir \
--with-help \
--enable-threads
make
%install
make install DESTDIR=%buildroot tclscriptdir=%tclscriptdir
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%_libdir/lib*
%tclscriptdir
%doc %_mandir/mann/*
%doc %_mandir/man3/*
%_prefix/include/*
%doc CHANGES ChangeLog README doc/CONVERSION-NOTES
%changelog
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Dec 14 2005 ro@suse.de
- fix typo in tcl configure script
* Tue Jul 26 2005 max@suse.de
- New CVS snapshot: tclx8.4-20050712
- Moved script library to /usr/share/tcl .
* Thu Nov 11 2004 ro@suse.de
- fixed file list
* Fri Apr 30 2004 ro@suse.de
- added -fno-strict-aliasing
* Sat Jan 10 2004 adrian@suse.de
- add %%run_ldconfig
* Tue Nov 26 2002 max@suse.de
- 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.