diff options
author | ericm <ericm@noemail.net> | 2000-02-14 22:43:31 (GMT) |
---|---|---|
committer | ericm <ericm@noemail.net> | 2000-02-14 22:43:31 (GMT) |
commit | ed97156ce4324c8e2589305cdffe7821fbeb6c52 (patch) | |
tree | 7bb92986616b9bff96cf1e44b657907e05aba426 /unix/tk.spec | |
parent | ee3fe2eb81790ab3846f96d29218cad7e77cc649 (diff) | |
download | tk-ed97156ce4324c8e2589305cdffe7821fbeb6c52.zip tk-ed97156ce4324c8e2589305cdffe7821fbeb6c52.tar.gz tk-ed97156ce4324c8e2589305cdffe7821fbeb6c52.tar.bz2 |
* unix/tk.spec: RPM specification for producing a binary Tk RPM for Linux.
* unix/Makefile.in: Added rpm target to generate Tk binary RPM.
FossilOrigin-Name: 581a0884babe65641ee1eb61492a7308af0fd6cc
Diffstat (limited to 'unix/tk.spec')
-rw-r--r-- | unix/tk.spec | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/unix/tk.spec b/unix/tk.spec new file mode 100644 index 0000000..a69a68d --- /dev/null +++ b/unix/tk.spec @@ -0,0 +1,52 @@ +# $Id: tk.spec,v 1.1 2000/02/14 22:43:32 ericm Exp $ +# This file is the basis for a binary Tk Linux RPM. + +%define version 8.3.0 +%define directory /usr/local + +Summary: Tk graphical toolkit for the Tcl scripting language. +Name: tk +Version: %{version} +Release: 1 +Copyright: BSD +Group: Development/Languages +Source: ftp://ftp.scriptics.com/pub/tcl/tcl8_3/tk%{version}.tar.gz +URL: http://www.scriptics.com/ +Packager: Scriptics Corporation +Buildroot: /var/tmp/%{name}%{version} +Requires: XFree86-libs >= 3.3.3, XFree86-devel >= 3.3.3, tcl = 8.3.0 + +%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 the Macintosh. Tcl +can also be used for a variety of web-related tasks and for creating +powerful command languages for applications. + +%prep + +%build +./configure --prefix %{directory} --exec-prefix %{directory} +make CFLAGS=$RPM_OPT_FLAGS + +%install +rm -rf $RPM_BUILD_ROOT +make INSTALL_ROOT=$RPM_BUILD_ROOT install + +%clean +rm -rf $RPM_BUILD_ROOT + +# to create the tcl files list, comment out tk in the install section above, +# then run "rpm -bi" then do a find from the build root directory, +# and remove the files in specific directories which suffice by themselves, +# then to create the files list for tk, uncomment tk, comment out tcl, +# then rm -rf $RPM_BUILD_ROOT then rpm --short-circuit -bi then redo a find, +# and remove the files in specific directories which suffice by themselves. +%files -n tk +%defattr(-,root,root) +%{directory}/lib +%{directory}/bin +%{directory}/include +%{directory}/man |