-# $Revision: 1.41 $ $Date: 2001-08-25 11:52:15 $
+# $Revision: 1.47 $ $Date: 2002-02-22 23:30:12 $
#
# Conditional build:
# _without_static - without static version
#
Summary: Enhanced bourne shell
Summary(de): Enhanced Bourne Shell
+Summary(es): Shell bourne mejorada
Summary(fr): Bourne shell amélioré
Summary(tr): Geliþmiþ bir BASH sürümü
Summary(pl): Ulepszona pow³oka Bourne'a
+Summary(pt_BR): Shell bourne melhorada
Name: zsh
-Version: 4.0.2
-Release: 5
+Version: 4.0.4
+Release: 3
License: BSD-like
Group: Applications/Shells
-Group(de): Applikationen/Shells
-Group(pl): Aplikacje/Pow³oki
URL: http://www.zsh.org/
Source0: ftp://ftp.zsh.org/pub/zsh/%{name}-%{version}.tar.gz
+Source1: %{name}.1.pl
Patch0: %{name}-info.patch
Patch1: %{name}-tinfo.patch
Patch2: %{name}-addons.patch
%{!?_without_static:BuildRequires: glibc-static}
%{!?_without_static:BuildRequires: ncurses-static}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-Provides: which
Obsoletes: zsh-doc-html, zsh-doc-ps, zsh-doc-dvi
%define _bindir /bin
zsh is an enhanced version of the Bourne shell with csh additions and
most features of ksh, bash, and tcsh.
+%description -l es
+zsh es una versión mejorada del bourne shell con estas
+características:
+- muy próximo de la gramática del ksh/sh, con adiciones csh,
+- varias características del ksh, bash y tcsh,
+- 75 funciones empotradas, 89 opciones, 154 combinaciones de teclas,
+- selección,
+- funciones shell ...y mucho más.
+
%description -l pl
zsh jest ulepszon± pow³ok± Bourne'a z elementami pow³oki csh. Posiada
wiêkszo¶æ cech ksh, bash i tcsh.
+%description -l pt_BR
+zsh é uma versão melhorada do bourne shell com essas características:
+- muito próximo da gramática do ksh/sh, com adições csh,
+- várias características do ksh, bash e tcsh,
+- 75 funções embutidas, 89 opções, 154 combinações de teclas,
+- seleção,
+- funções shell ...e muito mais.
+
%package completions
-Summary: Files needed for advanced TAB-completion
-Summary(pl): Pliki potrzebne dla zaawansowanej TAB-completion
-Group: Applications/Shells
-Group(de): Applikationen/Shells
-Group(pl): Aplikacje/Pow³oki
-Requires: %{name} = %{version}
+Summary: Files needed for advanced TAB-completion
+Summary(pl): Pliki potrzebne dla zaawansowanej TAB-completion
+Group: Applications/Shells
+Requires: %{name} = %{version}
%description completions
This package contains files needed for advanced tab completion in zsh.
TAB-completion.
%package static
-Summary: Statically linked Enhanced bourne shell
-Summary(pl): Zaawansowany bourne SHell - linkowany statycznie
-Group: Applications/Shells
-Group(de): Applikationen/Shells
-Group(pl): Aplikacje/Pow³oki
-Requires: %{name} = %{version}
+Summary: Statically linked Enhanced bourne shell
+Summary(pl): Zaawansowany bourne SHell - linkowany statycznie
+Group: Applications/Shells
+Requires: %{name} = %{version}
%description static
zsh is an enhanced version of the Bourne shell with csh additions and
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_infodir},%{_sysconfdir},%{_bindir}}
+install -d $RPM_BUILD_ROOT{%{_infodir},%{_sysconfdir},%{_bindir},%{_mandir}/pl/man1}
%{__make} install DESTDIR=$RPM_BUILD_ROOT
install Doc/zsh.info* $RPM_BUILD_ROOT%{_infodir}
touch $RPM_BUILD_ROOT%{_sysconfdir}/{zlogout,zlogin,zshenv}
-echo ". /etc/profile" > $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
+echo ". /etc/profile" > $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
echo -e "PS1='[%%n@%%m %%~]%%(!.#.%%\\$) '\nbindkey -e >/dev/null 2>&1\nalias which=whence" > \
$RPM_BUILD_ROOT%{_sysconfdir}/zshrc
rm -f Etc/Makefile*
find Functions Util StartupFiles -name .distfiles -o -name .cvsignore | xargs rm -f
+install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/zsh.1
+
gzip -9nf Etc/* README LICENCE ChangeLog META-FAQ
%post
%attr(755,root,root) %{_libdir}/zsh/%{version}/*
%{_infodir}/zsh.info*
%{_mandir}/man1/zsh*.1*
+%lang(pl) %{_mandir}/pl/man1/zsh*.1*
%files completions
%defattr(644,root,root,755)
%if %{!?_without_static:1}%{?_without_static:0}
%files static
+%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/zsh.static
%endif