1 # $Revision: 1.51 $ $Date: 2002-05-11 19:13:46 $
4 # _without_static - without static version
6 Summary: Enhanced bourne shell
7 Summary(de): Enhanced Bourne Shell
8 Summary(es): Shell bourne mejorada
9 Summary(fr): Bourne shell amélioré
10 Summary(pl): Ulepszona pow³oka Bourne'a
11 Summary(pt_BR): Shell bourne melhorada
12 Summary(ru): ëÏÍÁÎÄÎÙÊ ÐÒÏÃÅÓÓÏÒ (shell) ÐÏÈÏÖÙÊ ÎÁ ksh, ÎÏ Ó ÕÌÕÞÛÅÎÉÑÍÉ
13 Summary(tr): Geliþmiþ bir BASH sürümü
14 Summary(uk): ëÏÍÁÎÄÎÉÊ ÐÒÏÃÅÓÏÒ (shell) ÓÈÏÖÉÊ ÎÁ ksh, ÁÌÅ Ú ÐÏËÒÁÝÅÎÎÑÍÉ
19 Group: Applications/Shells
20 URL: http://www.zsh.org/
21 Source0: ftp://ftp.zsh.org/pub/zsh/%{name}-%{version}.tar.gz
23 Patch0: %{name}-info.patch
24 Patch1: %{name}-tinfo.patch
25 Patch2: %{name}-addons.patch
26 Patch3: %{name}-paths.patch
27 Patch4: %{name}-no_nis.patch
30 BuildRequires: autoconf
31 BuildRequires: ncurses-devel >= 5.1
32 BuildRequires: texinfo
33 %{!?_without_static:BuildRequires: glibc-static}
34 %{!?_without_static:BuildRequires: ncurses-static}
35 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
36 Obsoletes: zsh-doc-html, zsh-doc-ps, zsh-doc-dvi
41 zsh is an enhanced version of the Bourne shell with csh additions and
42 most features of ksh, bash, and tcsh.
45 zsh es una versión mejorada del bourne shell con estas
47 - muy próximo de la gramática del ksh/sh, con adiciones csh,
48 - varias características del ksh, bash y tcsh,
49 - 75 funciones empotradas, 89 opciones, 154 combinaciones de teclas,
51 - funciones shell ...y mucho más.
54 zsh jest ulepszon± pow³ok± Bourne'a z elementami pow³oki csh. Posiada
55 wiêkszo¶æ cech ksh, bash i tcsh.
58 zsh é uma versão melhorada do bourne shell com essas características:
59 - muito próximo da gramática do ksh/sh, com adições csh,
60 - várias características do ksh, bash e tcsh,
61 - 75 funções embutidas, 89 opções, 154 combinações de teclas,
63 - funções shell ...e muito mais.
66 zsh - ÜÔÏ ËÏÍÁÎÄÎÙÊ ÐÒÏÃÅÓÓÏÒ ÎÁÐÏÍÉÎÁÀÝÉÊ ksh (Korn shell), ÎÏ
67 ×ËÌÀÞÁÀÝÉÊ ÍÎÏÇÏ ÕÌÕÞÛÅÎÉÊ. zsh ÐÏÄÄÅÒÖÉ×ÁÅÔ ÒÅÄÁËÔÉÒÏ×ÁÎÉÅ ËÏÍÁÎÄÎÏÊ
68 ÓÔÒÏËÉ, ×ÓÔÒÏÅÎÎÕÀ ËÏÒÒÅËÃÉÀ ÎÁÐÉÓÁÎÉÑ, ÐÒÏÇÒÁÍÍÉÒÕÅÍÏÅ ÚÁ×ÅÒÛÅÎÉÅ
69 ËÏÍÁÎÄ, shell-ÆÕÎËÃÉÉ (Ó Á×ÔÏÚÁÇÒÕÚËÏÊ), ÉÓÔÏÒÉÀ ËÏÍÁÎÄ É ÍÎÏÇÏÅ
73 zsh - ÃÅ ËÏÍÁÎÄÎÉÊ ÐÒÏÃÅÓÏÒ, ÝÏ ÎÁÇÁÄÕ¤ ksh (Korn shell), ÁÌÅ ×ËÌÀÞÁ¤
74 ÂÁÇÁÔÏ ÐÏËÒÁÝÅÎØ. zsh ЦÄÔÒÉÍÕ¤ ÒÅÄÁÇÕ×ÁÎÎÑ ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ,
75 ×ÂÕÄÏ×ÁÎÕ ËÏÒÅËæÀ ÎÁÐÉÓÁÎÎÑ, ÐÒÏÇÒÁÍÏ×ÁÎÅ ÚÁ×ÅÒÛÅÎÎÑ ËÏÍÁÎÄ,
76 shell-ÆÕÎËæ§ (Ú Á×ÔÏÚÁ×ÁÎÔÁÖÅÎÎÑÍ), ¦ÓÔÏÒ¦À ËÏÍÁÎÄ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ.
79 Summary: Files needed for advanced TAB-completion
80 Summary(pl): Pliki potrzebne dla zaawansowanej TAB-completion
81 Group: Applications/Shells
82 Requires: %{name} = %{version}
84 %description completions
85 This package contains files needed for advanced tab completion in zsh.
87 %description completions -l pl
88 Ten pakiet zawiera pliki wymagane przez zsh dla zaawansowanej
92 Summary: Statically linked Enhanced bourne shell
93 Summary(pl): Zaawansowany bourne SHell - linkowany statycznie
94 Group: Applications/Shells
95 Requires: %{name} = %{version}
98 zsh is an enhanced version of the Bourne shell with csh additions and
99 most features of ksh, bash, and tcsh.
101 %description static -l pl
102 zsh jest ulepszon± pow³ok± Bourne'a z elementami pow³oki csh. Posiada
103 wiêkszo¶æ cech ksh, bash i tcsh. W tym pakiecie jest statycznie
117 %if %{!?_without_static:1}%{?_without_static:0}
118 LDFLAGS="%{rpmldflags} -static"
121 mv -f Src/zsh Src/zsh.static
122 LDFLAGS="%{rpmldflags}"
126 --enable-maildir-support
129 (cd Doc; makeinfo zsh.texi)
132 rm -rf $RPM_BUILD_ROOT
133 install -d $RPM_BUILD_ROOT{%{_infodir},%{_sysconfdir},%{_bindir},%{_mandir}/pl/man1}
135 %{__make} install DESTDIR=$RPM_BUILD_ROOT
137 %{!?_without_static:install Src/zsh.static $RPM_BUILD_ROOT%{_bindir}}
138 install Doc/zsh.info* $RPM_BUILD_ROOT%{_infodir}
140 touch $RPM_BUILD_ROOT%{_sysconfdir}/{zlogout,zlogin,zshenv}
141 echo "setopt no_function_argzero" > $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
142 echo ". %{_sysconfdir}/profile" >> $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
144 echo -e "PS1='[%%n@%%m %%~]%%(!.#.%%\\$) '\nbindkey -e >/dev/null 2>&1\nalias which=whence" > \
145 $RPM_BUILD_ROOT%{_sysconfdir}/zshrc
148 find Functions Util StartupFiles -name .distfiles -o -name .cvsignore | xargs rm -f
149 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/zsh.1
151 gzip -9nf Etc/* README LICENCE ChangeLog META-FAQ
154 if [ ! -f /etc/shells ]; then
155 echo "%{_bindir}/zsh" >> /etc/shells
157 grep -q '^%{_bindir}/zsh$' /etc/shells || echo "%{_bindir}/zsh" >> /etc/shells
159 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
162 if [ "$1" = "0" ]; then
163 grep -v '^%{_bindir}/zsh$' /etc/shells > /etc/shells.new
164 mv -f /etc/shells.new /etc/shells
168 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
171 if [ ! -f /etc/shells ]; then
172 echo "%{_bindir}/zsh.static" >> /etc/shells
174 grep -q '^%{_bindir}/zsh\.static$' /etc/shells || echo "%{_bindir}/zsh.static" >> /etc/shells
178 if [ "$1" = "0" ]; then
179 grep -v '^%{_bindir}/zsh\.static$' /etc/shells > /etc/shells.new
180 mv -f /etc/shells.new /etc/shells
185 rm -rf $RPM_BUILD_ROOT
188 %defattr(644,root,root,755)
189 %doc *.gz Etc/* Util StartupFiles
190 %attr(755,root,root) %{_bindir}/zsh
191 %config %{_sysconfdir}/*
193 %dir %{_libdir}/zsh/%{version}
194 %dir %{_datadir}/zsh/
195 %dir %{_datadir}/zsh/site-functions
196 %dir %{_datadir}/zsh/%{version}
197 %dir %{_datadir}/zsh/%{version}/functions
198 %{_datadir}/zsh/%{version}/functions/[^_c]*
199 %{_datadir}/zsh/%{version}/functions/c[^o]*
200 %{_datadir}/zsh/%{version}/functions/co[^m]*
201 %attr(755,root,root) %{_libdir}/zsh/%{version}/*
202 %{_infodir}/zsh.info*
203 %{_mandir}/man1/zsh*.1*
204 %lang(pl) %{_mandir}/pl/man1/zsh*.1*
207 %defattr(644,root,root,755)
208 %{_datadir}/zsh/%{version}/functions/comp*
209 %{_datadir}/zsh/%{version}/functions/_*
211 %if %{!?_without_static:1}%{?_without_static:0}
213 %defattr(644,root,root,755)
214 %attr(755,root,root) %{_bindir}/zsh.static