2006-12-19 00:18:05 +01:00
|
|
|
#
|
2008-04-06 04:03:20 +02:00
|
|
|
# spec file for package tk (Version 8.5.2)
|
2006-12-19 00:18:05 +01:00
|
|
|
#
|
2008-04-06 04:03:20 +02:00
|
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-19 00:18:05 +01:00
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-04-06 04:03:20 +02:00
|
|
|
|
2006-12-19 00:18:05 +01:00
|
|
|
Name: tk
|
2008-04-06 04:03:20 +02:00
|
|
|
BuildRequires: tcl-devel xorg-x11-devel
|
|
|
|
Url: http://www.tcl.tk
|
|
|
|
Version: 8.5.2
|
|
|
|
Release: 2
|
2006-12-19 00:18:05 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Summary: Graphical User Interface Toolkit for Tcl
|
2007-09-13 18:59:30 +02:00
|
|
|
License: BSD 3-Clause
|
2006-12-19 00:18:05 +01:00
|
|
|
Group: Development/Languages/Tcl
|
2008-04-06 04:03:20 +02:00
|
|
|
AutoReqProv: on
|
2006-12-19 00:18:05 +01:00
|
|
|
Summary: Graphical User Interface Toolkit for Tcl
|
|
|
|
Provides: wish wish8.4
|
2008-04-06 04:03:20 +02:00
|
|
|
Requires: tcl >= %version
|
|
|
|
PreReq: /bin/rm
|
2007-06-07 13:16:37 +02:00
|
|
|
Source0: %name%{version}-src.tar.bz2
|
2008-04-06 04:03:20 +02:00
|
|
|
Source1: tk-rpmlintrc
|
|
|
|
Source2: baselibs.conf
|
2006-12-19 00:18:05 +01:00
|
|
|
Patch0: %name.patch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Tk is a graphical user interface toolkit that takes developing desktop
|
|
|
|
applications to a higher level than conventional approaches. Tk is the
|
|
|
|
standard GUI not only for Tcl, but for many other dynamic languages,
|
|
|
|
and can produce rich, native applications that run unchanged across
|
|
|
|
Windows, Mac OS X, Linux and more.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
The Tcl Core Team <tcl-core@lists.sourceforge.net>
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries/Tcl
|
2007-09-13 18:59:30 +02:00
|
|
|
License: BSD 3-Clause
|
2006-12-19 00:18:05 +01:00
|
|
|
Summary: Header Files and C API Documentation for Tk
|
|
|
|
Requires: tk = %version, tcl-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains header files and documentation needed for writing
|
|
|
|
Tk extensions in compiled languages like C, C++, etc., or for embedding
|
|
|
|
Tk in programs written in such languages.
|
|
|
|
|
|
|
|
This package is not needed for writing extensions or applications for
|
|
|
|
Tk in the Tcl language itself.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
The Tcl Core Team <tcl-core@lists.sourceforge.net>
|
|
|
|
|
2008-04-06 04:03:20 +02:00
|
|
|
%define TK_MINOR %(echo %version | cut -c1-3)
|
|
|
|
%define scriptdir %(echo 'puts -nonewline [file dirname $tcl_library]' | tclsh)/tk%TK_MINOR
|
|
|
|
|
2006-12-19 00:18:05 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n %name%version
|
|
|
|
%patch0
|
|
|
|
|
|
|
|
%build
|
2008-04-06 04:03:20 +02:00
|
|
|
cd unix
|
|
|
|
%configure \
|
2006-12-19 00:18:05 +01:00
|
|
|
--with-tcl=%_libdir \
|
|
|
|
--enable-threads \
|
|
|
|
--enable-man-symlinks \
|
|
|
|
--enable-man-compression=gzip
|
2008-04-06 04:03:20 +02:00
|
|
|
make %{?jobs:-j%jobs} \
|
|
|
|
TK_LIBRARY="%scriptdir" \
|
|
|
|
TK_PKG_DIR="tcl/tk%TK_MINOR"
|
2006-12-19 00:18:05 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
# these renamings are needed to avoid some file name clashes with other packages
|
|
|
|
mv doc/menubar.n doc/tk_menubar.n
|
|
|
|
mv doc/dialog.n doc/tk_dialog.n
|
|
|
|
mv doc/panedwindow.n doc/tk_panedwindow.n
|
2008-04-06 04:03:20 +02:00
|
|
|
make -C unix install install-private-headers \
|
|
|
|
INSTALL_ROOT=%buildroot \
|
|
|
|
TK_LIBRARY="%scriptdir" \
|
|
|
|
TK_PKG_DIR="tcl/tk%TK_MINOR"
|
|
|
|
ln -sf wish%TK_MINOR %buildroot%_prefix/bin/wish
|
2006-12-19 00:18:05 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %buildroot
|
|
|
|
%if %_lib == lib64
|
|
|
|
|
|
|
|
%post
|
2008-04-06 04:03:20 +02:00
|
|
|
test -L /usr/lib/tk%TK_MINOR && rm -f /usr/lib/tk%TK_MINOR
|
2006-12-19 00:18:05 +01:00
|
|
|
exit 0
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README changes license.terms ChangeLog*
|
|
|
|
%docdir %_mandir/mann
|
|
|
|
%doc %_mandir/man1/*
|
|
|
|
%doc %_mandir/mann/*
|
|
|
|
%_prefix/bin/*
|
|
|
|
%_libdir/*.so
|
2008-04-06 04:03:20 +02:00
|
|
|
%scriptdir
|
|
|
|
%exclude %scriptdir/tkAppInit.c
|
2006-12-19 00:18:05 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %_mandir/man3/*
|
|
|
|
%_prefix/include/*
|
2008-04-06 04:03:20 +02:00
|
|
|
%scriptdir/tkAppInit.c
|
2006-12-19 00:18:05 +01:00
|
|
|
%_libdir/*.a
|
|
|
|
%_libdir/tkConfig.sh
|
|
|
|
|
2007-06-07 13:16:37 +02:00
|
|
|
%changelog
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed Apr 02 2008 max@suse.de
|
|
|
|
- New version: 8.5.2:
|
|
|
|
* New modern theming engine: New and complementary widgets that
|
|
|
|
make use of platform-specific theming on Mac OS X and Windows
|
|
|
|
to better fit in with those environments, and feature an
|
|
|
|
improved look and feel under X11.
|
|
|
|
* New widgets: Part of the themed widget set, Tk now has core
|
|
|
|
notebook, combobox, treeview and progressbar widgets.
|
|
|
|
* text widget: Smooth scrolling, widget peering, and improved
|
|
|
|
procedures for counting and replacing text.
|
|
|
|
* Font rendering: Now uses anti-aliased text under X11, and a
|
|
|
|
more modern text engine (ATSUI) on Mac OS X.
|
|
|
|
* Additional improvements: Window transparency, new fullscreen
|
|
|
|
option for windows, enhancements to specific widgets and
|
|
|
|
window layout, and more.
|
|
|
|
- Adjusted paths according to the new Tcl extension layoout.
|
|
|
|
* Tue Sep 11 2007 max@suse.de
|
2007-09-13 18:59:30 +02:00
|
|
|
- Fix a crash with multi-frame interlaced GIFs (#309607).
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed Jun 06 2007 max@suse.de
|
2007-06-07 13:16:37 +02:00
|
|
|
- New patchlevel release: 8.4.15
|
|
|
|
- improve performance of [$listbox itemconfigure]
|
|
|
|
- use fd_mask for 64bit support
|
|
|
|
- fix [tk_getOpenFile] in empty dir
|
|
|
|
- fix list shimmer crash [grid *configure]
|
2008-04-06 04:03:20 +02:00
|
|
|
* Tue Oct 17 2006 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New patchlevel release: 8.4.14rc2
|
|
|
|
- Fix crash on invalid font name from XServer
|
|
|
|
- Unmap canvas window items on canvas Unmap
|
|
|
|
- Fix [listbox] crash with namespace var
|
|
|
|
- Fix [console] std chan refcount
|
|
|
|
- Fix [console] thread safety
|
|
|
|
- Prevent excess variable writes by [scale]
|
|
|
|
- Add WM_UNICHAR window message
|
|
|
|
- Improve speed on [text] delete
|
|
|
|
- Alignment fixes in ucs-2be encoding routines
|
2008-04-06 04:03:20 +02:00
|
|
|
* Thu Sep 14 2006 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version: 8.4.13
|
|
|
|
- Fixes the SCIM issues (#77424, obsoletes tk-scim.patch)
|
|
|
|
- Speeds up photo image updates.
|
|
|
|
- Fixes a crash in animated GIFs.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed Aug 16 2006 aj@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Replace xorg-x11-devel BuildRequires with really needed libs.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed Jan 25 2006 mls@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- converted neededforbuild to BuildRequires
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed Jan 04 2006 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Finally fixed the SCIM issues (#77424).
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri Dec 09 2005 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version: 8.4.12.
|
|
|
|
- Enabled support for multithreading.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Sun Nov 06 2005 schwab@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Fix syntax error in unix configure script.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Tue Sep 06 2005 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Disabled the SCIM patch, because it causes some focus problems.
|
|
|
|
- Added a workaround that prevents Tk from using SCIM, so that at
|
|
|
|
least normal keyboard input is possible (#77424).
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri Sep 02 2005 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Added tk-scim.patch to improve XIM support and make Tk work
|
|
|
|
correctly with SCIM (#77424).
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri Jul 29 2005 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Re-added tkUnixDefault.h to tk-devel. It is needed by Tix.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed Jul 27 2005 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version: 8.4.11.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Tue Jun 14 2005 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version 8.4.10.
|
|
|
|
- Moved script libraries to /usr/share/tcl .
|
2008-04-06 04:03:20 +02:00
|
|
|
* Mon Mar 21 2005 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Fixed a small typo in the trigger script.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Mon Mar 21 2005 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Added prerequisites for the trigger scripts (bug #74027).
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri Mar 18 2005 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Make sure that tk-32bit finds the script libraries when
|
|
|
|
installed on a 64bit system.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri Dec 03 2004 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version: 8.4.9
|
2008-04-06 04:03:20 +02:00
|
|
|
* Mon Nov 22 2004 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version: 8.4.8
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri Jul 30 2004 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New 8.4.7 tarball with a last-minute fix for broken Compose key.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed Jul 28 2004 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version: 8.4.7
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri Mar 05 2004 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Updated to the official 8.4.6 release tarball.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri Feb 27 2004 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version: 8.4.6
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri Feb 06 2004 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Added -fno-strict-aliasing to CFLAGS.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Mon Feb 02 2004 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Building as a non-root user.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Thu Jan 15 2004 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Package Tk internal headers again. They are still needed by some
|
|
|
|
packages (e.g. tix).
|
2008-04-06 04:03:20 +02:00
|
|
|
* Mon Jan 12 2004 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version: 8.4.5
|
|
|
|
- Cleaned up the spec file.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Tue Sep 02 2003 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Disabled building of the static library to save build time and
|
|
|
|
CD space.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed Jul 23 2003 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version: 8.4.4
|
|
|
|
- Split into tk and tk-devel.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed May 21 2003 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version: 8.4.3
|
|
|
|
- Removed obsolete patches.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed Mar 05 2003 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Updated to official 8.4.2 release tarball.
|
|
|
|
- Added essential diff to RC1 as tk-20030305.patch.bz2.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri Feb 28 2003 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Updated to 8.4.2 RC1, and added an essential diff to the
|
|
|
|
previous tarball (tk-20030227.patch.bz2).
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed Feb 19 2003 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Updated to CVS HEAD, and added diff to previous verssion
|
|
|
|
for completeness.
|
|
|
|
- Fixes several bugs, see ChangeLog for details.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri Feb 07 2003 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Upgrade to CVS HEAD (8.4.2pre).
|
2008-04-06 04:03:20 +02:00
|
|
|
* Tue Nov 26 2002 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Included private header files (needed for Tix).
|
2008-04-06 04:03:20 +02:00
|
|
|
* Tue Nov 26 2002 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- New version: 8.4.1
|
|
|
|
- Added tk-HEAD.patch with fixes that went in after the release.
|
|
|
|
- Moved the Tk sources back into a separate package, now that Tk
|
|
|
|
can be built without access to the Tcl source tree.
|
|
|
|
- For the changes of the last four years see tcl.changes in the
|
|
|
|
tcl package.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Tue Nov 24 1998 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- merged spec-files into tcl_new.spec
|
2008-04-06 04:03:20 +02:00
|
|
|
* Mon Nov 23 1998 max@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- new version: 8.0.4
|
|
|
|
- cleand up softlinks and compression for man pages
|
2008-04-06 04:03:20 +02:00
|
|
|
* Thu Jan 08 1998 hf@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- bugfix for missing tkConfig8.0.sh
|
2008-04-06 04:03:20 +02:00
|
|
|
* Mon Nov 10 1997 hf@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- new version 8.0p1
|
2008-04-06 04:03:20 +02:00
|
|
|
* Wed Oct 15 1997 hf@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- ready for autobuild
|
2008-04-06 04:03:20 +02:00
|
|
|
* Thu Jul 03 1997 hf@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- A new version 8.0b2. The second (and probably last) beta release of
|
|
|
|
Tk 8.0.
|
2008-04-06 04:03:20 +02:00
|
|
|
* Tue Jun 03 1997 hf@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- added static librs and all links for the manpages in
|
|
|
|
the /usr/doc/packages/tk8.0/man
|
2008-04-06 04:03:20 +02:00
|
|
|
* Fri May 16 1997 hf@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- added new link
|
2008-04-06 04:03:20 +02:00
|
|
|
* Mon May 12 1997 hf@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- added new patch invisible.patch
|
2008-04-06 04:03:20 +02:00
|
|
|
* Tue Apr 15 1997 hf@suse.de
|
2006-12-19 00:18:05 +01:00
|
|
|
- Manpages hardlinks removed and added softlinks to compressd manpages
|
|
|
|
- The new directory for the manpages is /usr/doc/packeges/tcl8.0/man
|