diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2017-09-22 18:57:19 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2017-09-22 18:57:19 (GMT) |
commit | 2aff4a96fa0286d875bddec0019648e2c6431cbc (patch) | |
tree | f7a9a4800a3f3ad4b77470b8383529176d8b7181 /tcl8.6/unix/tcl.spec | |
parent | 3fa8e6dc88e8041b6cb88d1b1e9c05676d3346b7 (diff) | |
parent | 29ccecd87709feda60d191f6aaba324ccad91f55 (diff) | |
download | blt-2aff4a96fa0286d875bddec0019648e2c6431cbc.zip blt-2aff4a96fa0286d875bddec0019648e2c6431cbc.tar.gz blt-2aff4a96fa0286d875bddec0019648e2c6431cbc.tar.bz2 |
Merge commit '29ccecd87709feda60d191f6aaba324ccad91f55' as 'tcl8.6'
Diffstat (limited to 'tcl8.6/unix/tcl.spec')
-rw-r--r-- | tcl8.6/unix/tcl.spec | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/tcl8.6/unix/tcl.spec b/tcl8.6/unix/tcl.spec new file mode 100644 index 0000000..141511d --- /dev/null +++ b/tcl8.6/unix/tcl.spec @@ -0,0 +1,52 @@ +# This file is the basis for a binary Tcl RPM for Linux. + +%{!?directory:%define directory /usr/local} + +Name: tcl +Summary: Tcl scripting language development environment +Version: 8.6.7 +Release: 2 +License: BSD +Group: Development/Languages +Source: http://prdownloads.sourceforge.net/tcl/tcl%{version}-src.tar.gz +URL: http://www.tcl.tk/ +Buildroot: /var/tmp/%{name}%{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 +%defattr(-,root,root) +%if %{_lib} != lib +%{directory}/%{_lib} +%endif +%{directory}/lib +%{directory}/bin +%{directory}/include +%{directory}/man/man1 +%{directory}/man/man3 +%{directory}/man/mann |