Репозитории ALT
S: | 6.20.00-alt4 |
5.1: | 6.16.00-alt1 |
4.1: | 6.16.00-alt0.M41.1 |
4.0: | 6.14.00-alt2 |
3.0: | 6.14.00-alt1 |
Группа :: Интерпретаторы команд
Пакет: tcsh
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: tcsh
Version: 6.16.00
Release: alt1
Packager: Victor Forsyuk <force at altlinux.org>
Summary: An enhanced version of csh, the C shell
License: BSD
Group: Shells
URL: http://www.tcsh.org/
Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%version.tar.gz
Patch1: tcsh-6.15.00-closem.patch
Patch3: tcsh-6.14.00-suse-owl-alt-shtmp.patch
Patch5: tcsh-6.10.01-config-nodot.patch
Patch7: tcsh-6.10.01-deb-man.patch
Patch9: tcsh-6.10.01-alt-cleanups.patch
Patch10: tcsh-6.10.01-alt-tinfo.patch
Patch11: tcsh-6.10.00-glibc_compat.patch
Patch20: tcsh-6.14.00-config-nls.patch
Patch30: tcsh-6.14.00-alt-lscolors.patch
# Don't die on unknown LS_COLORS values
Patch100: tcsh-6.14.00-unknown_lscolors.patch
# Remove second appearence of the same sentence.
Patch101: tcsh-6.15.00-manpage.patch
Provides: csh = %version
# Automatically added by buildreq on Mon Nov 24 2008
BuildRequires: groff-base libtinfo-devel
%description
Tcsh is an enhanced but completely compatible version of csh, the C shell. Tcsh
is a command language interpreter which can be used both as an interactive login
shell and as a shell script command processor. Tcsh includes a command line
editor, programmable word completion, spelling correction, a history mechanism,
job control and a C language like syntax.
%package doc
Summary: HTML doc files for tcsh
Group: Shells
Requires: tcsh = %version
BuildArch: noarch
%description doc
HTML doc files for tcsh.
%prep
%setup
%patch1 -p1
# To be rediffed:
#%patch3 -p1
%patch5 -p1
# To be rediffed:
#%patch7 -p1
###patch9 -p1
%patch10 -p1
%patch11 -p1
###patch20 -p1
%patch30 -p1
%patch100 -p1
%patch101 -p1
cat > catalogs << _EOF
de ISO-8859-1 german
el ISO-8859-7 greek
en ISO-8859-1 C
es ISO-8859-1 spanish
et ISO-8859-1 et
fi ISO-8859-1 finnish
fr ISO-8859-1 french
it ISO-8859-1 italian
ja eucJP ja
pl ISO-8859-2 pl
ru KOI8-R russian
uk KOI8-U ukrainian
_EOF
cat catalogs | while read lang charset language ; do
if ! grep -q '^$ codeset=' nls/$language/set1 ; then
echo '$ codeset='$charset > nls/$language/set1.codeset
cat nls/$language/set1 >> nls/$language/set1.codeset
cat nls/$language/set1.codeset > nls/$language/set1
rm nls/$language/set1.codeset
fi
done
nroff -me eight-bit.me >eight-bit.txt
%build
# autoreconf needed for alt-tinfo patch
autoreconf
%configure --bindir=/bin
%make_build all
perl ./tcsh.man2html tcsh.man
%make_build -C nls catalogs
%install
install -pD -m755 tcsh %buildroot/bin/tcsh
install -pD -m644 tcsh.man %buildroot%_man1dir/tcsh.1
ln -s tcsh %buildroot/bin/csh
ln -s tcsh.1 %buildroot%_man1dir/csh.1
cat catalogs | while read lang charset language ; do
dest=%buildroot%_datadir/locale/$lang/LC_MESSAGES
if test -f tcsh.$language.cat ; then
mkdir -p $dest
install -m644 tcsh.$language.cat $dest/tcsh
echo "%lang($lang) %_datadir/locale/$lang/LC_MESSAGES/tcsh"
fi
done > tcsh.lang
%files -f tcsh.lang
/bin/csh
/bin/tcsh
%_man1dir/*
%doc NewThings FAQ Fixes complete.tcsh eight-bit.txt
%files doc
%doc tcsh.html/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 6.16.00
Release: alt1
Packager: Victor Forsyuk <force at altlinux.org>
Summary: An enhanced version of csh, the C shell
License: BSD
Group: Shells
URL: http://www.tcsh.org/
Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%version.tar.gz
Patch1: tcsh-6.15.00-closem.patch
Patch3: tcsh-6.14.00-suse-owl-alt-shtmp.patch
Patch5: tcsh-6.10.01-config-nodot.patch
Patch7: tcsh-6.10.01-deb-man.patch
Patch9: tcsh-6.10.01-alt-cleanups.patch
Patch10: tcsh-6.10.01-alt-tinfo.patch
Patch11: tcsh-6.10.00-glibc_compat.patch
Patch20: tcsh-6.14.00-config-nls.patch
Patch30: tcsh-6.14.00-alt-lscolors.patch
# Don't die on unknown LS_COLORS values
Patch100: tcsh-6.14.00-unknown_lscolors.patch
# Remove second appearence of the same sentence.
Patch101: tcsh-6.15.00-manpage.patch
Provides: csh = %version
# Automatically added by buildreq on Mon Nov 24 2008
BuildRequires: groff-base libtinfo-devel
%description
Tcsh is an enhanced but completely compatible version of csh, the C shell. Tcsh
is a command language interpreter which can be used both as an interactive login
shell and as a shell script command processor. Tcsh includes a command line
editor, programmable word completion, spelling correction, a history mechanism,
job control and a C language like syntax.
%package doc
Summary: HTML doc files for tcsh
Group: Shells
Requires: tcsh = %version
BuildArch: noarch
%description doc
HTML doc files for tcsh.
%prep
%setup
%patch1 -p1
# To be rediffed:
#%patch3 -p1
%patch5 -p1
# To be rediffed:
#%patch7 -p1
###patch9 -p1
%patch10 -p1
%patch11 -p1
###patch20 -p1
%patch30 -p1
%patch100 -p1
%patch101 -p1
cat > catalogs << _EOF
de ISO-8859-1 german
el ISO-8859-7 greek
en ISO-8859-1 C
es ISO-8859-1 spanish
et ISO-8859-1 et
fi ISO-8859-1 finnish
fr ISO-8859-1 french
it ISO-8859-1 italian
ja eucJP ja
pl ISO-8859-2 pl
ru KOI8-R russian
uk KOI8-U ukrainian
_EOF
cat catalogs | while read lang charset language ; do
if ! grep -q '^$ codeset=' nls/$language/set1 ; then
echo '$ codeset='$charset > nls/$language/set1.codeset
cat nls/$language/set1 >> nls/$language/set1.codeset
cat nls/$language/set1.codeset > nls/$language/set1
rm nls/$language/set1.codeset
fi
done
nroff -me eight-bit.me >eight-bit.txt
%build
# autoreconf needed for alt-tinfo patch
autoreconf
%configure --bindir=/bin
%make_build all
perl ./tcsh.man2html tcsh.man
%make_build -C nls catalogs
%install
install -pD -m755 tcsh %buildroot/bin/tcsh
install -pD -m644 tcsh.man %buildroot%_man1dir/tcsh.1
ln -s tcsh %buildroot/bin/csh
ln -s tcsh.1 %buildroot%_man1dir/csh.1
cat catalogs | while read lang charset language ; do
dest=%buildroot%_datadir/locale/$lang/LC_MESSAGES
if test -f tcsh.$language.cat ; then
mkdir -p $dest
install -m644 tcsh.$language.cat $dest/tcsh
echo "%lang($lang) %_datadir/locale/$lang/LC_MESSAGES/tcsh"
fi
done > tcsh.lang
%files -f tcsh.lang
/bin/csh
/bin/tcsh
%_man1dir/*
%doc NewThings FAQ Fixes complete.tcsh eight-bit.txt
%files doc
%doc tcsh.html/*
%changelog
…
Полный changelog можно просмотреть здесь