Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 50e789baca
Fetching contributors…

Cannot retrieve contributors at this time

55 lines (46 sloc) 1.424 kb
# This file is the basis for a binary Tk Linux RPM.
%{!?directory:%define directory /usr/local}
Name: tk
Summary: Tk graphical toolkit for the Tcl scripting language.
Version: 8.6b3
Release: 2
License: BSD
Group: Development/Languages
Buildroot: /var/tmp/%{name}%{version}
Buildrequires: XFree86-devel tcl >= %version
Requires: tcl >= %version
The Tcl (Tool Command Language) provides a powerful platform for
creating integration applications that tie together diverse
applications, protocols, devices, and frameworks. When paired with
the Tk toolkit, Tcl provides the fastest and most powerful way to
create GUI applications that run on PCs, Unix, and Mac OS X. Tcl
can also be used for a variety of web-related tasks and for creating
powerful command languages for applications.
%setup -q -n %{name}%{version}
cd unix
CFLAGS="%optflags" ./configure \
--prefix=%{directory} \
--exec-prefix=%{directory} \
cd unix
make INSTALL_ROOT=%buildroot install
rm -rf %buildroot
%files -n tk
%if %{_lib} != lib
Jump to Line
Something went wrong with that request. Please try again.