Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37835970
en ru br
ALT Linux repos
S:2.5-alt1
5.0: 2.5-alt1
4.1: 2.5-alt1
4.0: 2.4-alt3
3.0: 2.4-alt3

Group :: Development/Tcl
RPM: tkcon

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

# -*- rpm-spec -*-
# $Id: tkcon,v 1.6 2004/07/10 13:44:13 me Exp $

%define snapshot 20040624

Name: tkcon
Version: 2.4
Release: alt3

Summary: Enhanced interactive console for developing in Tcl
License: BSD
Group: Development/Tcl
Url: http://%name.sourceforge.net

BuildRequires: tcl-devel >= 8.4.0-alt1
BuildArch: noarch

### :pserver:anonymous at cvs.sourceforge.net:/cvsroot/tkcon

Source0: %name-%{?snapshot:%snapshot}%{?!snapshot:%version}.tar.bz2
Source1: %name.menu

%description
%name is a enhanced interactive console for developing in Tcl
%name is a tcl shell and console, making it ideal for
experimenting with Tcl and Tk programs interactively.

%prep
%setup -q %{?snapshot:-c}

%install
%__mkdir_p %buildroot%_bindir
%__cat << E_O_F > %buildroot%_bindir/%name
#!%__tclsh
package require %name
eval ::tkcon::Init \$::argv
E_O_F
%__chmod 0755 %buildroot%_bindir/%name
%__install -p -m0644 -D tkcon.tcl %buildroot%_tcldatadir/%name/tkcon.tcl
%__cat << E_O_F > %buildroot%_tcldatadir/%name/pkgIndex.tcl
package ifneeded %name %version [list source [file join \$dir tkcon.tcl]]
E_O_F
%__install -p -m0644 -D %SOURCE1 %buildroot%_menudir/%name

%files
%doc index.html docs README.txt ChangeLog
%_bindir/%name
%_tcldatadir/%name
%_menudir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin