# actually provided by tcl 8.6
%add_tcl_req_skip TclOO
Name: tklib
Version: 0.6
Release: alt1
Summary: A Tk standard library
License: BSD
Group: Development/Tcl
Url: https://core.tcl.tk/tklib/
BuildArch: noarch
BuildRequires(pre): rpm-build-tcl >= 0.2.1-alt2
BuildRequires: tcl >= 8.4.0-alt1 tcllib tk
# git://git.altlinux.org/gears/t/tklib.git
Source: %name-%version-%release.tar
%description
Tklib is a collection of utility modules for tk.
%prep
%setup -n %name-%version-%release
%install
%configure
%make_install DESTDIR=%buildroot install
find examples -type f -print0 |xargs -r0 chmod 0644 --
%files
%doc ChangeLog README* license* examples
%_bindir/*
%_tcldatadir/tklib%version
%_mandir/mann/*
%changelog
* Wed Oct 04 2017 Vladimir D. Seleznev <vseleznv@altlinux.org> 0.6-alt1
- 0.6
* Mon Feb 25 2008 Sergey Bolshakov <sbolshakov@altlinux.ru> 0.4.1-alt1
- first build