Group :: Shelss
RPM: tcl-readline
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# -*- rpm-spec -*-
# $Id: tcl-readline,v 1.12 2005/04/16 14:53:53 me Exp $
%define teaname readline
%define srcname tclreadline
%define srcver 2.1.0
Name: tcl-%teaname
Version: 2.1.1
Release: alt6
Summary: GNU readline for the Tcl scripting language
License: BSD
Group: Shells
Url: http://tclreadline.sourceforge.net
Source0: ftp://tclreadline.sourceforge.net/pub/%srcname/%srcname-%srcver.tar.bz2
Source1: sample.tclshrc
Patch0: %srcname-211.patch.gz
Patch1: %srcname-2.1.0-interp.patch
Patch2: %srcname-2.1.0-init.patch
Patch3: %srcname-2.1.0-sf-completer.patch
BuildRequires: libreadline-devel libtinfo-devel rpm-build >= 4.0.4-alt41 tcl-devel >= 8.4.0-alt1
Requires: tcl >= 8.4.0-alt1
%description
%name makes the gnu readline available to the scripting language tcl.
The primary purpose of the package is to facilitate the interactive
script development by the means of word and file name completion
as well as history expansion (well known from shells like bash).
%prep
%setup -q -n %srcname-%srcver
%patch0 -p0
%patch1 -p1
%patch2 -p1
%patch3 -p0
%build
autoreconf -fisv -Iaux
%add_optflags -DUSE_NON_CONST
%configure --libdir=%_tcllibdir --with-tlib-library="-ltinfo"
%make_build
%install
%make_install DESTDIR=%buildroot install \
libdir=%_tcllibdir tclrldir=%_tcldatadir/%teaname
%__subst 's|\(/usr/lib\)|\1/tcl |' \
%buildroot%_tcldatadir/%teaname/tclreadlineInit.tcl
%__cp %SOURCE1 .
%files
%doc AUTHORS COPYING ChangeLog README TODO sample.tclshrc
%_tcllibdir/lib%{srcname}*.so
%_tcldatadir/%teaname
%_mandir/mann/%srcname.n.*
%changelog
…
Todas as alterações você pod ver aqui
# $Id: tcl-readline,v 1.12 2005/04/16 14:53:53 me Exp $
%define teaname readline
%define srcname tclreadline
%define srcver 2.1.0
Name: tcl-%teaname
Version: 2.1.1
Release: alt6
Summary: GNU readline for the Tcl scripting language
License: BSD
Group: Shells
Url: http://tclreadline.sourceforge.net
Source0: ftp://tclreadline.sourceforge.net/pub/%srcname/%srcname-%srcver.tar.bz2
Source1: sample.tclshrc
Patch0: %srcname-211.patch.gz
Patch1: %srcname-2.1.0-interp.patch
Patch2: %srcname-2.1.0-init.patch
Patch3: %srcname-2.1.0-sf-completer.patch
BuildRequires: libreadline-devel libtinfo-devel rpm-build >= 4.0.4-alt41 tcl-devel >= 8.4.0-alt1
Requires: tcl >= 8.4.0-alt1
%description
%name makes the gnu readline available to the scripting language tcl.
The primary purpose of the package is to facilitate the interactive
script development by the means of word and file name completion
as well as history expansion (well known from shells like bash).
%prep
%setup -q -n %srcname-%srcver
%patch0 -p0
%patch1 -p1
%patch2 -p1
%patch3 -p0
%build
autoreconf -fisv -Iaux
%add_optflags -DUSE_NON_CONST
%configure --libdir=%_tcllibdir --with-tlib-library="-ltinfo"
%make_build
%install
%make_install DESTDIR=%buildroot install \
libdir=%_tcllibdir tclrldir=%_tcldatadir/%teaname
%__subst 's|\(/usr/lib\)|\1/tcl |' \
%buildroot%_tcldatadir/%teaname/tclreadlineInit.tcl
%__cp %SOURCE1 .
%files
%doc AUTHORS COPYING ChangeLog README TODO sample.tclshrc
%_tcllibdir/lib%{srcname}*.so
%_tcldatadir/%teaname
%_mandir/mann/%srcname.n.*
%changelog
…
Todas as alterações você pod ver aqui