1 # $Revision: 1.58 $ $Date: 2002-11-17 15:37: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 Source2: http://zsh.sunsite.dk/Guide/zshguide.pdf
24 Patch0: %{name}-info.patch
25 Patch1: %{name}-tinfo.patch
26 Patch2: %{name}-addons.patch
27 Patch3: %{name}-paths.patch
28 Patch4: %{name}-no_nis.patch
31 BuildRequires: autoconf
32 BuildRequires: ncurses-devel >= 5.1
33 BuildRequires: texinfo
34 %{!?_without_static:BuildRequires: glibc-static}
35 %{!?_without_static:BuildRequires: ncurses-static}
36 Requires(post,preun): grep
37 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 Obsoletes: zsh-doc-html, zsh-doc-ps, zsh-doc-dvi
43 zsh is an enhanced version of the Bourne shell with csh additions and
44 most features of ksh, bash, and tcsh.
47 zsh es una versión mejorada del bourne shell con estas
49 - muy próximo de la gramática del ksh/sh, con adiciones csh,
50 - varias características del ksh, bash y tcsh,
51 - 75 funciones empotradas, 89 opciones, 154 combinaciones de teclas,
53 - funciones shell ...y mucho más.
56 zsh ¥·¥§¥ë¤ÏÂÐÏÃŪ¤Ê¥í¥°¥¤¥ó¥·¥§¥ë¤È¤·¤ÆÍøÍѲÄǽ¤Ê¥³¥Þ¥ó¥É¥¤¥ó¥¿¥ê¥¿
57 ¤Ç¤¢¤ê¡¢¥·¥§¥ë¥¹¥¯¥ê¥×¥È¥³¥Þ¥ó¥É¤â½èÍý¤Ç¤¤Þ¤¹. zsh ¤Ï ksh(the Korn
58 shell) ¤Ë»÷¤Æ¤¤¤Þ¤¹¤¬,¤«¤Ê¤ê³ÈÄ¥¤µ¤ì¤Æ¤¤¤Þ¤¹. zsh
59 ¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤ÎÊÔ½¸µ¡Ç½, ÁȤ߹þ¤Þ¤ì¤¿¥¹¥Ú¥ë½¤Àµµ¡Ç½, ¥×¥í¥°¥é¥ß¥ó
60 ¥°²Äǽ¤Ê¥³¥Þ¥ó¥ÉÊä´°µ¡Ç½, (ưŪ¥í¡¼¥É¤µ¤ì¤ë)¥·¥§¥ëµ¡Ç½, ¥Ò¥¹¥È¥êµ¡¹½
64 zsh jest ulepszon± pow³ok± Bourne'a z elementami pow³oki csh. Posiada
65 wiêkszo¶æ cech ksh, bash i tcsh.
68 zsh é uma versão melhorada do bourne shell com essas características:
69 - muito próximo da gramática do ksh/sh, com adições csh,
70 - várias características do ksh, bash e tcsh,
71 - 75 funções embutidas, 89 opções, 154 combinações de teclas,
73 - funções shell ...e muito mais.
76 zsh - ÜÔÏ ËÏÍÁÎÄÎÙÊ ÐÒÏÃÅÓÓÏÒ ÎÁÐÏÍÉÎÁÀÝÉÊ ksh (Korn shell), ÎÏ
77 ×ËÌÀÞÁÀÝÉÊ ÍÎÏÇÏ ÕÌÕÞÛÅÎÉÊ. zsh ÐÏÄÄÅÒÖÉ×ÁÅÔ ÒÅÄÁËÔÉÒÏ×ÁÎÉÅ ËÏÍÁÎÄÎÏÊ
78 ÓÔÒÏËÉ, ×ÓÔÒÏÅÎÎÕÀ ËÏÒÒÅËÃÉÀ ÎÁÐÉÓÁÎÉÑ, ÐÒÏÇÒÁÍÍÉÒÕÅÍÏÅ ÚÁ×ÅÒÛÅÎÉÅ
79 ËÏÍÁÎÄ, shell-ÆÕÎËÃÉÉ (Ó Á×ÔÏÚÁÇÒÕÚËÏÊ), ÉÓÔÏÒÉÀ ËÏÍÁÎÄ É ÍÎÏÇÏÅ
83 zsh - ÃÅ ËÏÍÁÎÄÎÉÊ ÐÒÏÃÅÓÏÒ, ÝÏ ÎÁÇÁÄÕ¤ ksh (Korn shell), ÁÌÅ ×ËÌÀÞÁ¤
84 ÂÁÇÁÔÏ ÐÏËÒÁÝÅÎØ. zsh ЦÄÔÒÉÍÕ¤ ÒÅÄÁÇÕ×ÁÎÎÑ ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ,
85 ×ÂÕÄÏ×ÁÎÕ ËÏÒÅËæÀ ÎÁÐÉÓÁÎÎÑ, ÐÒÏÇÒÁÍÏ×ÁÎÅ ÚÁ×ÅÒÛÅÎÎÑ ËÏÍÁÎÄ,
86 shell-ÆÕÎËæ§ (Ú Á×ÔÏÚÁ×ÁÎÔÁÖÅÎÎÑÍ), ¦ÓÔÏÒ¦À ËÏÍÁÎÄ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ.
89 Summary: Files needed for advanced TAB-completion
90 Summary(pl): Pliki potrzebne dla zaawansowanej TAB-completion
91 Group: Applications/Shells
92 Requires: %{name} = %{version}
94 %description completions
95 This package contains files needed for advanced tab completion in zsh.
97 %description completions -l pl
98 Ten pakiet zawiera pliki wymagane przez zsh dla zaawansowanej
102 Summary: Statically linked Enhanced bourne shell
103 Summary(pl): Zaawansowany bourne SHell - linkowany statycznie
104 Group: Applications/Shells
105 Requires: %{name} = %{version}
106 Requires(post,preun): grep
109 zsh is an enhanced version of the Bourne shell with csh additions and
110 most features of ksh, bash, and tcsh.
112 %description static -l pl
113 zsh jest ulepszon± pow³ok± Bourne'a z elementami pow³oki csh. Posiada
114 wiêkszo¶æ cech ksh, bash i tcsh. W tym pakiecie jest statycznie
118 Summary: A User's Guide to the Z-Shell
119 Summary(pl): Podrêcznik U¿ytkownika Z-Shella
120 Group: Applications/Shells
121 URL: http://zsh.sunsite.dk/Guide/
124 A User's Guide to the Z-Shell.
126 %description guide -l pl
127 Podrêcznik U¿ytkownika Z-Shella.
142 %if %{!?_without_static:1}%{?_without_static:0}
143 LDFLAGS="%{rpmldflags} -static"
146 mv -f Src/zsh Src/zsh.static
147 LDFLAGS="%{rpmldflags}"
151 --enable-maildir-support
154 (cd Doc; makeinfo zsh.texi)
157 rm -rf $RPM_BUILD_ROOT
158 install -d $RPM_BUILD_ROOT{%{_infodir},%{_sysconfdir},%{_bindir},%{_mandir}/pl/man1}
160 %{__make} install DESTDIR=$RPM_BUILD_ROOT
162 %{!?_without_static:install Src/zsh.static $RPM_BUILD_ROOT%{_bindir}}
163 install Doc/zsh.info* $RPM_BUILD_ROOT%{_infodir}
165 touch $RPM_BUILD_ROOT%{_sysconfdir}/{zlogout,zlogin,zshenv}
166 echo "setopt no_function_argzero" > $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
167 echo ". %{_sysconfdir}/profile" >> $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
169 cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/zshrc
170 PS1='[%%n@%%m %%~]%%(!.#.%%\\$) '
171 bindkey -e >/dev/null 2>&1
175 bindkey \`tput khome\` beginning-of-line >/dev/null 2>&1
176 bindkey \`tput kend\` end-of-line >/dev/null 2>&1
177 bindkey \`tput kdch1\` delete-char >/dev/null 2>&1
178 bindkey \`tput kpp\` up-history >/dev/null 2>&1
179 bindkey \`tput knp\` end-of-history >/dev/null 2>&1
180 bindkey \`tput kcuu1\` history-beginning-search-backward >/dev/null 2>&1
181 bindkey \`tput kcud1\` history-beginning-search-forward >/dev/null 2>&1
185 find Functions Util StartupFiles -name .distfiles -o -name .cvsignore | xargs rm -f
186 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/zsh.1
189 if [ ! -f /etc/shells ]; then
190 echo "%{_bindir}/zsh" >> /etc/shells
192 grep -q '^%{_bindir}/zsh$' /etc/shells || echo "%{_bindir}/zsh" >> /etc/shells
194 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
197 rm -rf %{_datadir}/zsh/latest
198 ln -s %{_datadir}/zsh/%{version} %{_datadir}/zsh/latest
201 if [ "$1" = "0" ]; then
202 grep -v '^%{_bindir}/zsh$' /etc/shells > /etc/shells.new
203 mv -f /etc/shells.new /etc/shells
205 rm -rf %{_datadir}/zsh/latest
208 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
211 if [ ! -f /etc/shells ]; then
212 echo "%{_bindir}/zsh.static" >> /etc/shells
214 grep -q '^%{_bindir}/zsh\.static$' /etc/shells || echo "%{_bindir}/zsh.static" >> /etc/shells
218 if [ "$1" = "0" ]; then
219 grep -v '^%{_bindir}/zsh\.static$' /etc/shells > /etc/shells.new
220 mv -f /etc/shells.new /etc/shells
224 rm -rf $RPM_BUILD_ROOT
227 %defattr(644,root,root,755)
228 %doc Etc/* README LICENCE ChangeLog META-FAQ Util StartupFiles
229 %attr(755,root,root) %{_bindir}/zsh
230 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/*
232 %dir %{_libdir}/zsh/%{version}
233 %dir %{_datadir}/zsh/
234 %dir %{_datadir}/zsh/site-functions
235 %dir %{_datadir}/zsh/%{version}
236 %dir %{_datadir}/zsh/%{version}/functions
237 %{_datadir}/zsh/%{version}/functions/[^_c]*
238 %{_datadir}/zsh/%{version}/functions/c[^o]*
239 %{_datadir}/zsh/%{version}/functions/co[^m]*
240 %attr(755,root,root) %{_libdir}/zsh/%{version}/*
241 %{_infodir}/zsh.info*
242 %{_mandir}/man1/zsh*.1*
243 %lang(pl) %{_mandir}/pl/man1/zsh*.1*
246 %defattr(644,root,root,755)
247 %{_datadir}/zsh/%{version}/functions/comp*
248 %{_datadir}/zsh/%{version}/functions/_*
251 %defattr(644,root,root,755)
254 %if %{!?_without_static:1}%{?_without_static:0}
256 %defattr(644,root,root,755)
257 %attr(755,root,root) %{_bindir}/zsh.static