Name: tkblt Version: 3.2.23 Release: 1%{?dist} Summary: BLT-derived graph and barchart widgets for Tk License: MIT URL: https://github.com/wjoye/tkblt Source0: https://github.com/wjoye/tkblt/archive/refs/tags/v%{version}/tkblt-%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: make BuildRequires: tcl8-devel BuildRequires: tk8-devel BuildRequires: libX11-devel Requires: tcl(abi) = 8.6 %description TkBLT is a derived version of the BLT toolkit by George A. Howlett, for Tcl/Tk 8.5/8.6. It is TEA compatible and fully compatible with the Tk API. TkBLT includes only the Graph and Barchart Tk widgets, and the Tcl Vector command. This is one of the extra Tcl/Tk packages that SAOImage DS9 bundles in-tree; this build lets DS9 use a system-installed tkblt instead. %prep %autosetup -n tkblt-%{version} %build %configure --libdir=%{_libdir}/tcltk --with-tcl=%{_libdir}/tcl8.6 --with-tk=%{_libdir} --enable-symbols %make_build %install %make_install # TEA installs the module mode 644, which rpm's debuginfo extraction skips: 'Empty %files file # debugsourcefiles.list'. Shared objects are 755 anyway. find %{buildroot} -name '*.so' -exec chmod 755 {} + # Contains build-time paths that won't work on end-user systems. find %{buildroot} -name 'tkbltConfig.sh' -delete find %{buildroot} -name '*.a' -delete %files %license LICENSE %doc README.md %{_libdir}/tcltk/tkblt3.2/ %{_includedir}/tkbltDecls.h %{_includedir}/tkbltVector.h %{_mandir}/mann/BLT.n* %{_mandir}/mann/barchart.n* %{_mandir}/mann/graph.n* %{_mandir}/mann/vector.n* %changelog * Wed Aug 26 2026 Morgan Hough - 3.2.23-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/tkblt, the DS9 author's fork used by Debian's saods9 packaging too; DS9's own tksao widget set links against it).