306 lines
10 KiB
RPMSpec
306 lines
10 KiB
RPMSpec
#
|
|
# spec file for package tk (Version 8.5.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: tk
|
|
BuildRequires: tcl-devel xorg-x11-devel
|
|
Url: http://www.tcl.tk
|
|
Version: 8.5.5
|
|
Release: 1
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
Summary: Graphical User Interface Toolkit for Tcl
|
|
License: BSD 3-Clause
|
|
Group: Development/Languages/Tcl
|
|
AutoReqProv: on
|
|
Summary: Graphical User Interface Toolkit for Tcl
|
|
Provides: wish wish8.4
|
|
Requires: tcl >= %version
|
|
PreReq: /bin/rm
|
|
Source0: %name%{version}-src.tar.bz2
|
|
Source1: tk-rpmlintrc
|
|
Source2: baselibs.conf
|
|
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
|
|
License: BSD 3-Clause
|
|
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>
|
|
|
|
%define TK_MINOR %(echo %version | cut -c1-3)
|
|
%define scriptdir %(echo 'puts -nonewline [file dirname $tcl_library]' | tclsh)/tk%TK_MINOR
|
|
|
|
%prep
|
|
%setup -q -n %name%version
|
|
%patch0
|
|
|
|
%build
|
|
cd unix
|
|
%configure \
|
|
--with-tcl=%_libdir \
|
|
--enable-threads \
|
|
--enable-man-symlinks \
|
|
--enable-man-compression=gzip
|
|
make %{?jobs:-j%jobs} \
|
|
TK_LIBRARY="%scriptdir" \
|
|
TK_PKG_DIR="tcl/tk%TK_MINOR"
|
|
|
|
%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
|
|
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
|
|
|
|
%clean
|
|
rm -rf %buildroot
|
|
%if %_lib == lib64
|
|
|
|
%post
|
|
test -L /usr/lib/tk%TK_MINOR && rm -f /usr/lib/tk%TK_MINOR
|
|
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
|
|
%scriptdir
|
|
%exclude %scriptdir/tkAppInit.c
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%doc %_mandir/man3/*
|
|
%_prefix/include/*
|
|
%scriptdir/tkAppInit.c
|
|
%_libdir/*.a
|
|
%_libdir/tkConfig.sh
|
|
|
|
%changelog
|
|
* Wed Oct 15 2008 max@suse.de
|
|
- Bugfix release 8.5.5:
|
|
* fix [tk_getOpenFile -multiple 1] on unix
|
|
* Relax interdependency between Tcl 8.5.x and Tk 8.5.x releases.
|
|
* default menu cursor: no more Motif
|
|
* arguments passed to -[xy]scrollcommand callbacks, and values
|
|
returned by [xy]view methods are explicitly formatted as
|
|
doubles.
|
|
* format double values explicitly in double format, avoiding
|
|
sensitivity to locale setting.
|
|
* Mon Sep 08 2008 max@suse.de
|
|
- New version: 8.5.4:
|
|
* fix a crash in [ttk::scale]
|
|
* fix portability of [winfo id]
|
|
* fix unmapped toplevel crashes
|
|
* Tk header files revised to accommodate incompatible changes
|
|
in recent X.org releases of X11 headers.
|
|
* Thu Jul 10 2008 max@suse.de
|
|
- New version: 8.5.3:
|
|
* Fix Tk_ParseArgv() double free crash.
|
|
* Fix wish -h mem explosion
|
|
* Fix canvas item <Enter> events
|
|
* Fix ttk::label height or width 0 panic
|
|
* Use Xutf8LookupString when possible
|
|
* Fix global grab segfault
|
|
- Added workaround for problems with new GenericEvent added by
|
|
xproto-7.0.13.
|
|
* 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
|
|
- Fix a crash with multi-frame interlaced GIFs (#309607).
|
|
* Wed Jun 06 2007 max@suse.de
|
|
- 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]
|
|
* Tue Oct 17 2006 max@suse.de
|
|
- 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
|
|
* Thu Sep 14 2006 max@suse.de
|
|
- 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.
|
|
* Wed Aug 16 2006 aj@suse.de
|
|
- Replace xorg-x11-devel BuildRequires with really needed libs.
|
|
* Wed Jan 25 2006 mls@suse.de
|
|
- converted neededforbuild to BuildRequires
|
|
* Wed Jan 04 2006 max@suse.de
|
|
- Finally fixed the SCIM issues (#77424).
|
|
* Fri Dec 09 2005 max@suse.de
|
|
- New version: 8.4.12.
|
|
- Enabled support for multithreading.
|
|
* Sun Nov 06 2005 schwab@suse.de
|
|
- Fix syntax error in unix configure script.
|
|
* Tue Sep 06 2005 max@suse.de
|
|
- 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).
|
|
* Fri Sep 02 2005 max@suse.de
|
|
- Added tk-scim.patch to improve XIM support and make Tk work
|
|
correctly with SCIM (#77424).
|
|
* Fri Jul 29 2005 max@suse.de
|
|
- Re-added tkUnixDefault.h to tk-devel. It is needed by Tix.
|
|
* Wed Jul 27 2005 max@suse.de
|
|
- New version: 8.4.11.
|
|
* Tue Jun 14 2005 max@suse.de
|
|
- New version 8.4.10.
|
|
- Moved script libraries to /usr/share/tcl .
|
|
* Mon Mar 21 2005 max@suse.de
|
|
- Fixed a small typo in the trigger script.
|
|
* Mon Mar 21 2005 max@suse.de
|
|
- Added prerequisites for the trigger scripts (bug #74027).
|
|
* Fri Mar 18 2005 max@suse.de
|
|
- Make sure that tk-32bit finds the script libraries when
|
|
installed on a 64bit system.
|
|
* Fri Dec 03 2004 max@suse.de
|
|
- New version: 8.4.9
|
|
* Mon Nov 22 2004 max@suse.de
|
|
- New version: 8.4.8
|
|
* Fri Jul 30 2004 max@suse.de
|
|
- New 8.4.7 tarball with a last-minute fix for broken Compose key.
|
|
* Wed Jul 28 2004 max@suse.de
|
|
- New version: 8.4.7
|
|
* Fri Mar 05 2004 max@suse.de
|
|
- Updated to the official 8.4.6 release tarball.
|
|
* Fri Feb 27 2004 max@suse.de
|
|
- New version: 8.4.6
|
|
* Fri Feb 06 2004 max@suse.de
|
|
- Added -fno-strict-aliasing to CFLAGS.
|
|
* Mon Feb 02 2004 max@suse.de
|
|
- Building as a non-root user.
|
|
* Thu Jan 15 2004 max@suse.de
|
|
- Package Tk internal headers again. They are still needed by some
|
|
packages (e.g. tix).
|
|
* Mon Jan 12 2004 max@suse.de
|
|
- New version: 8.4.5
|
|
- Cleaned up the spec file.
|
|
* Tue Sep 02 2003 max@suse.de
|
|
- Disabled building of the static library to save build time and
|
|
CD space.
|
|
* Wed Jul 23 2003 max@suse.de
|
|
- New version: 8.4.4
|
|
- Split into tk and tk-devel.
|
|
* Wed May 21 2003 max@suse.de
|
|
- New version: 8.4.3
|
|
- Removed obsolete patches.
|
|
* Wed Mar 05 2003 max@suse.de
|
|
- Updated to official 8.4.2 release tarball.
|
|
- Added essential diff to RC1 as tk-20030305.patch.bz2.
|
|
* Fri Feb 28 2003 max@suse.de
|
|
- Updated to 8.4.2 RC1, and added an essential diff to the
|
|
previous tarball (tk-20030227.patch.bz2).
|
|
* Wed Feb 19 2003 max@suse.de
|
|
- Updated to CVS HEAD, and added diff to previous verssion
|
|
for completeness.
|
|
- Fixes several bugs, see ChangeLog for details.
|
|
* Fri Feb 07 2003 max@suse.de
|
|
- Upgrade to CVS HEAD (8.4.2pre).
|
|
* Tue Nov 26 2002 max@suse.de
|
|
- Included private header files (needed for Tix).
|
|
* Tue Nov 26 2002 max@suse.de
|
|
- 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.
|
|
* Tue Nov 24 1998 max@suse.de
|
|
- merged spec-files into tcl_new.spec
|
|
* Mon Nov 23 1998 max@suse.de
|
|
- new version: 8.0.4
|
|
- cleand up softlinks and compression for man pages
|
|
* Thu Jan 08 1998 hf@suse.de
|
|
- bugfix for missing tkConfig8.0.sh
|
|
* Mon Nov 10 1997 hf@suse.de
|
|
- new version 8.0p1
|
|
* Wed Oct 15 1997 hf@suse.de
|
|
- ready for autobuild
|
|
* Thu Jul 03 1997 hf@suse.de
|
|
- A new version 8.0b2. The second (and probably last) beta release of
|
|
Tk 8.0.
|
|
* Tue Jun 03 1997 hf@suse.de
|
|
- added static librs and all links for the manpages in
|
|
the /usr/doc/packages/tk8.0/man
|
|
* Fri May 16 1997 hf@suse.de
|
|
- added new link
|
|
* Mon May 12 1997 hf@suse.de
|
|
- added new patch invisible.patch
|
|
* Tue Apr 15 1997 hf@suse.de
|
|
- Manpages hardlinks removed and added softlinks to compressd manpages
|
|
- The new directory for the manpages is /usr/doc/packeges/tcl8.0/man
|