Group :: Desenvolvimento/Tcl
RPM: tkcon
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: tkcon
Version: 2.5
Release: alt1
Summary: Enhanced interactive console for developing in Tcl
License: BSD
Group: Development/Tcl
Url: http://%name.sourceforge.net
BuildRequires(pre): rpm-build-tcl
BuildRequires: tcl-devel >= 8.4.0-alt1
BuildArch: noarch
Source: %name-%version-%release.tar
%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
%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 -pD -m0644 tkcon.tcl %buildroot%_tcldatadir/%name/tkcon.tcl
install -p -m0644 pkgIndex.tcl %buildroot%_tcldatadir/%name/
install -pD -m0644 tkcon.desktop %buildroot%_desktopdir/%name.desktop
%files
%doc index.html docs README.txt ChangeLog
%_bindir/%name
%_tcldatadir/%name
%_desktopdir/%name.desktop
%changelog
…
Todas as alterações você pod ver aqui
Version: 2.5
Release: alt1
Summary: Enhanced interactive console for developing in Tcl
License: BSD
Group: Development/Tcl
Url: http://%name.sourceforge.net
BuildRequires(pre): rpm-build-tcl
BuildRequires: tcl-devel >= 8.4.0-alt1
BuildArch: noarch
Source: %name-%version-%release.tar
%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
%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 -pD -m0644 tkcon.tcl %buildroot%_tcldatadir/%name/tkcon.tcl
install -p -m0644 pkgIndex.tcl %buildroot%_tcldatadir/%name/
install -pD -m0644 tkcon.desktop %buildroot%_desktopdir/%name.desktop
%files
%doc index.html docs README.txt ChangeLog
%_bindir/%name
%_tcldatadir/%name
%_desktopdir/%name.desktop
%changelog
…
Todas as alterações você pod ver aqui