%define majver %(echo %version|cut -d. -f1-2) %define pkgver %(echo %version | tr . _) Name: tcllib Version: 1.18 Release: 2mamba Summary: Library of utility modules for tcl Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://core.tcl.tk/tcllib Source: https://github.com/tcltk/tcllib/archive/tcllib_%{pkgver}.tar.gz License: BSD ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END Requires: libtcl BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Tcllib is a collection of utility modules for tcl. These modules provide a wide variety of functionality, from implementation of standard data structures to implementation of common networking protocols. The intent is to collect commoly used function into a single library, which users can rely on to be available and stable. %prep %setup -q -n tcllib-tcllib_%{pkgver} %build %configure %make %install %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -n tcllib %defattr(-,root,root) %{_bindir}/dtplite %{_bindir}/nns %{_bindir}/nnsd %{_bindir}/nnslog %{_bindir}/page %{_bindir}/pt %{_bindir}/tcldocstrip %dir %{_libdir}/tcllib%{majver} %{_libdir}/tcllib%{majver}/* %{_mandir}/mann/* %changelog * Sun Jul 31 2016 Silvan Calarco 1.18-2mamba - ... add a changelog entry * Sun Jul 31 2016 Automatic Build System 1.18-1mamba - automatic version update by autodist * Thu Sep 18 2014 Silvan Calarco 1.16-1mamba - update to 1.16 * Tue Apr 23 2013 Automatic Build System 1.15-1mamba - automatic version update by autodist * Sat May 08 2010 Automatic Build System 1.12-1mamba - automatic update by autodist * Tue Mar 03 2009 Silvan Calarco 1.11.1-1mamba - automatic update by autodist * Fri May 23 2008 Silvan Calarco 1.10-1mamba - update to 1.10 * Sun May 20 2007 Silvan Calarco 1.9-1mamba - update to 1.9 * Fri Aug 01 2003 Silvan Calarco 1.4-2qilnx - changed dependencies from tcl to libtcl * Thu May 15 2003 Alessandro Ramazzina 1.4-1qilnx - Creation of tcllib package