summaryrefslogtreecommitdiffstats
path: root/unix/tk.spec
blob: ba77bcd710474cffb80a254a4586c15262838634 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# $Id: tk.spec,v 1.27 2007/10/02 18:28:16 dgp Exp $
# 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.5b1.1
Release:       2
License:       BSD
Group:         Development/Languages
Source:        http://prdownloads.sourceforge.net/tcl/tk%{version}-src.tar.gz
URL:           http://www.tcl.tk/
Buildroot:     /var/tmp/%{name}%{version}
Buildrequires: XFree86-devel tcl = %version
Requires:      tcl = %version

%description
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.

%prep
%setup -q -n %{name}%{version}

%build
cd unix
CFLAGS="%optflags" ./configure \
	--prefix=%{directory} \
	--exec-prefix=%{directory} \
	--libdir=%{directory}/%{_lib}
make 

%install
cd unix
make INSTALL_ROOT=%buildroot install

%clean
rm -rf %buildroot

%files -n tk
%defattr(-,root,root)
%if %{_lib} != lib
%{directory}/%{_lib}
%endif
%{directory}/lib
%{directory}/bin
%{directory}/include
%{directory}/man/man1
%{directory}/man/man3
%{directory}/man/mann
Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2011-05-10 16:05:48 (GMT)
committerdgp <dgp@noemail.net>2011-05-10 16:05:48 (GMT)
commita857fcdf066c77de903a9b361eee82bfc58f49b2 (patch)
tree1ca2feda250662282a8e77080fef123d9256b839
parent6cc8aab67cd8668b7557669fc021f34028f70c81 (diff)
downloadtcl-a857fcdf066c77de903a9b361eee82bfc58f49b2.zip
tcl-a857fcdf066c77de903a9b361eee82bfc58f49b2.tar.gz
tcl-a857fcdf066c77de903a9b361eee82bfc58f49b2.tar.bz2
Completed patch with mucho comments. Merge 8.5.
FossilOrigin-Name: 8de9137c517f4e52139263ea5addf53d2b10e2c6
Diffstat