# # spec file for package vtcl (Version 1.6.0) # # Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: vtcl License: GPLv2+ Group: Development/Languages/Tcl Requires: tcl tk AutoReqProv: on Version: 1.6.0 Release: 183 Summary: Visual Tcl BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %name-%version.tar.bz2 Source1: vtcl Patch0: vtcl-tkversion.patch BuildArch: noarch %description Visual Tcl is a freely-available, high-quality application development environment for UNIX, Windows, and Macintosh platforms. Writing entirely in Tcl and generating pure Tcl should make porting either unnecessary or trivial. Authors: -------- Stewart Allen %prep %setup -q %patch0 %build # # There is nothing to build here :) # %install LIBDIR=$RPM_BUILD_ROOT/usr/share/vtcl BINDIR=$RPM_BUILD_ROOT%_bindir mkdir -p $BINDIR $LIBDIR cp -a *.tcl images lib $LIBDIR install -m 755 %SOURCE1 $BINDIR %files %defattr(-,root,root) /usr/share/vtcl %attr(0755,root,root) /usr/bin/vtcl %doc LICENSE ChangeLog README doc demo sample %clean test "$RPM_BUILD_ROOT" != "/" && rm -rf $RPM_BUILD_ROOT %changelog