Name: tk-table Version: 2.10.8 Release: 1%{?dist} Summary: Table/grid widget for Tk License: TCL URL: https://github.com/wjoye/tktable Source0: https://github.com/wjoye/tktable/archive/refs/tags/v%{version}/tktable-%{version}.tar.gz # Set the package name to the historical "Tktable" (capital T) so that # `package require Tktable`, as used by DS9 and most other consumers, # resolves. Carried over from Debian's tk-table packaging (Debian # Astro Team / Ole Streicher). Patch0: tk-table-0001-package-name-Tktable.patch BuildRequires: gcc BuildRequires: make BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: tcl8-devel BuildRequires: tk8-devel Requires: tcl(abi) = 8.6 %description Tktable provides support for tables and matrices in Tcl/Tk: multi-line cells, embedded windows, row/column spanning, resizable rows and columns, multiple data sources, in-cell editing, cell validation, and more. This is one of the extra Tcl/Tk packages that SAOImage DS9 bundles in-tree; this build lets DS9 use a system-installed tk-table instead. %prep %autosetup -p1 -n tktable-%{version} %build autoreconf -fiv %configure --libdir=%{_libdir}/tcltk --enable-threads --enable-shared \ --with-tcl=%{_libdir}/tcl8.6 --with-tk=%{_libdir}/tk8.6 %make_build %install %make_install find %{buildroot} -name '*.a' -delete find %{buildroot} -name 'tktableConfig.sh' -delete %files %license license.txt %doc README.md README.blt %{_libdir}/tcltk/Tktable2.10/ %changelog * Wed Aug 26 2026 Morgan Hough - 2.10.8-1 - Initial package for the neurofedora COPR: one of the extra Tcl/Tk packages SAOImage DS9 bundles in-tree (upstream tracked at github.com/wjoye/tktable, the DS9 author's fork used by Debian's saods9 packaging too).