Name: tcl-signal Version: 1.4.5 Release: 1%{?dist} Summary: POSIX signal handling extension for Tcl License: HPND URL: https://github.com/wjoye/tclsignal Source0: https://github.com/wjoye/tclsignal/archive/refs/tags/v%{version}/tclsignal-%{version}.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: tcl8-devel Requires: tcl(abi) = 8.6 %description The "signal" extension adds dynamically loadable POSIX signal handling to Tcl scripts. It provides a small, fast-loading subset of the signal handling functionality found in tclX. This is one of the extra Tcl/Tk packages that SAOImage DS9 bundles in-tree; this build lets DS9 use a system-installed tcl-signal instead. %prep %autosetup -n tclsignal-%{version} %build # Upstream's shipped ./configure is stale (generated for 1.4.4.1, but the # v1.4.5 tag's configure.ac already says 1.4.5); regenerate it so the # installed package directory matches the actual version. autoreconf -fiv %configure --libdir=%{_libdir}/tcltk --enable-stubs --enable-symbols --with-tcl=%{_libdir}/tcl8.6 %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 {} + find %{buildroot} -name '*.a' -delete # Contains build-time paths that won't work on end-user systems. find %{buildroot} -name 'tclsignalConfig.sh' -delete %files %license LICENSE %doc README.md %{_libdir}/tcltk/tclsignal%{version}/ %changelog * Wed Aug 26 2026 Morgan Hough - 1.4.5-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/tclsignal, the DS9 author's fork used by Debian's saods9 packaging too). Built against tcl8-devel (Tcl/Tk 8.6) since DS9 itself still targets that ABI.