3 # _without_static - without static version
5 Summary: Enhanced bourne shell
6 Summary(de): Enhanced Bourne Shell
7 Summary(es): Shell bourne mejorada
8 Summary(fr): Bourne shell amélioré
9 Summary(pl): Ulepszona pow³oka Bourne'a
10 Summary(pt_BR): Shell bourne melhorada
11 Summary(ru): ëÏÍÁÎÄÎÙÊ ÐÒÏÃÅÓÓÏÒ (shell) ÐÏÈÏÖÙÊ ÎÁ ksh, ÎÏ Ó ÕÌÕÞÛÅÎÉÑÍÉ
12 Summary(tr): Geliþmiþ bir BASH sürümü
13 Summary(uk): ëÏÍÁÎÄÎÉÊ ÐÒÏÃÅÓÏÒ (shell) ÓÈÏÖÉÊ ÎÁ ksh, ÁÌÅ Ú ÐÏËÒÁÝÅÎÎÑÍÉ
18 Group: Applications/Shells
19 URL: http://www.zsh.org/
20 Source0: ftp://ftp.zsh.org/pub/zsh/%{name}-%{version}.tar.bz2
21 # Source0-md5: ec841e1c92a44879c503ffb32a3e5326
23 Source2: http://zsh.sunsite.dk/Guide/zshguide.pdf
24 # Source2-md5: 0d80ba1ef39052c512cfabf368f3bf20
25 Patch0: %{name}-info.patch
26 Patch1: %{name}-tinfo.patch
27 Patch2: %{name}-addons.patch
28 Patch3: %{name}-paths.patch
29 Patch4: %{name}-no_nis.patch
30 Patch5: %{name}-completions.patch
31 BuildRequires: autoconf
32 %{!?_without_static:BuildRequires: glibc-static}
33 BuildRequires: ncurses-devel >= 5.1
34 %{!?_without_static:BuildRequires: ncurses-static}
35 BuildRequires: texinfo
36 Requires(post,preun): grep
37 Requires(preun): fileutils
38 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 Obsoletes: zsh-doc-html, zsh-doc-ps, zsh-doc-dvi
44 zsh is an enhanced version of the Bourne shell with csh additions and
45 most features of ksh, bash, and tcsh.
48 zsh es una versión mejorada del bourne shell con estas
50 - muy próximo de la gramática del ksh/sh, con adiciones csh,
51 - varias características del ksh, bash y tcsh,
52 - 75 funciones empotradas, 89 opciones, 154 combinaciones de teclas,
54 - funciones shell ...y mucho más.
57 zsh ¥·¥§¥ë¤ÏÂÐÏÃŪ¤Ê¥í¥°¥¤¥ó¥·¥§¥ë¤È¤·¤ÆÍøÍѲÄǽ¤Ê¥³¥Þ¥ó¥É¥¤¥ó¥¿¥ê¥¿
58 ¤Ç¤¢¤ê¡¢¥·¥§¥ë¥¹¥¯¥ê¥×¥È¥³¥Þ¥ó¥É¤â½èÍý¤Ç¤¤Þ¤¹. zsh ¤Ï ksh(the Korn
59 shell) ¤Ë»÷¤Æ¤¤¤Þ¤¹¤¬,¤«¤Ê¤ê³ÈÄ¥¤µ¤ì¤Æ¤¤¤Þ¤¹. zsh
60 ¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤ÎÊÔ½¸µ¡Ç½, ÁȤ߹þ¤Þ¤ì¤¿¥¹¥Ú¥ë½¤Àµµ¡Ç½, ¥×¥í¥°¥é¥ß¥ó
61 ¥°²Äǽ¤Ê¥³¥Þ¥ó¥ÉÊä´°µ¡Ç½, (ưŪ¥í¡¼¥É¤µ¤ì¤ë)¥·¥§¥ëµ¡Ç½, ¥Ò¥¹¥È¥êµ¡¹½
65 zsh jest ulepszon± pow³ok± Bourne'a z elementami pow³oki csh. Posiada
66 wiêkszo¶æ cech ksh, bash i tcsh.
69 zsh é uma versão melhorada do bourne shell com essas características:
70 - muito próximo da gramática do ksh/sh, com adições csh,
71 - várias características do ksh, bash e tcsh,
72 - 75 funções embutidas, 89 opções, 154 combinações de teclas,
74 - funções shell ...e muito mais.
77 zsh - ÜÔÏ ËÏÍÁÎÄÎÙÊ ÐÒÏÃÅÓÓÏÒ ÎÁÐÏÍÉÎÁÀÝÉÊ ksh (Korn shell), ÎÏ
78 ×ËÌÀÞÁÀÝÉÊ ÍÎÏÇÏ ÕÌÕÞÛÅÎÉÊ. zsh ÐÏÄÄÅÒÖÉ×ÁÅÔ ÒÅÄÁËÔÉÒÏ×ÁÎÉÅ ËÏÍÁÎÄÎÏÊ
79 ÓÔÒÏËÉ, ×ÓÔÒÏÅÎÎÕÀ ËÏÒÒÅËÃÉÀ ÎÁÐÉÓÁÎÉÑ, ÐÒÏÇÒÁÍÍÉÒÕÅÍÏÅ ÚÁ×ÅÒÛÅÎÉÅ
80 ËÏÍÁÎÄ, shell-ÆÕÎËÃÉÉ (Ó Á×ÔÏÚÁÇÒÕÚËÏÊ), ÉÓÔÏÒÉÀ ËÏÍÁÎÄ É ÍÎÏÇÏÅ
84 zsh - ÃÅ ËÏÍÁÎÄÎÉÊ ÐÒÏÃÅÓÏÒ, ÝÏ ÎÁÇÁÄÕ¤ ksh (Korn shell), ÁÌÅ ×ËÌÀÞÁ¤
85 ÂÁÇÁÔÏ ÐÏËÒÁÝÅÎØ. zsh ЦÄÔÒÉÍÕ¤ ÒÅÄÁÇÕ×ÁÎÎÑ ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ,
86 ×ÂÕÄÏ×ÁÎÕ ËÏÒÅËæÀ ÎÁÐÉÓÁÎÎÑ, ÐÒÏÇÒÁÍÏ×ÁÎÅ ÚÁ×ÅÒÛÅÎÎÑ ËÏÍÁÎÄ,
87 shell-ÆÕÎËæ§ (Ú Á×ÔÏÚÁ×ÁÎÔÁÖÅÎÎÑÍ), ¦ÓÔÏÒ¦À ËÏÍÁÎÄ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ.
90 Summary: Files needed for advanced TAB-completion
91 Summary(pl): Pliki potrzebne dla zaawansowanej TAB-completion
92 Group: Applications/Shells
93 Requires: %{name} = %{version}
95 %description completions
96 This package contains files needed for advanced tab completion in zsh.
98 %description completions -l pl
99 Ten pakiet zawiera pliki wymagane przez zsh dla zaawansowanej
103 Summary: Statically linked Enhanced bourne shell
104 Summary(pl): Zaawansowany bourne SHell - linkowany statycznie
105 Group: Applications/Shells
106 Requires(post,preun): grep
107 Requires(preun): fileutils
108 Requires: %{name} = %{version}
111 zsh is an enhanced version of the Bourne shell with csh additions and
112 most features of ksh, bash, and tcsh.
114 %description static -l pl
115 zsh jest ulepszon± pow³ok± Bourne'a z elementami pow³oki csh. Posiada
116 wiêkszo¶æ cech ksh, bash i tcsh. W tym pakiecie jest statycznie
120 Summary: A User's Guide to the Z-Shell
121 Summary(pl): Podrêcznik U¿ytkownika Z-Shella
122 Group: Applications/Shells
123 URL: http://zsh.sunsite.dk/Guide/
126 A User's Guide to the Z-Shell.
128 %description guide -l pl
129 Podrêcznik U¿ytkownika Z-Shella.
145 %if %{!?_without_static:1}%{?_without_static:0}
146 LDFLAGS="%{rpmldflags} -static"
149 mv -f Src/zsh Src/zsh.static
150 LDFLAGS="%{rpmldflags}"
154 --enable-maildir-support
161 rm -rf $RPM_BUILD_ROOT
162 install -d $RPM_BUILD_ROOT{%{_infodir},%{_sysconfdir},%{_bindir},%{_mandir}/pl/man1}
165 DESTDIR=$RPM_BUILD_ROOT
167 %{!?_without_static:install Src/zsh.static $RPM_BUILD_ROOT%{_bindir}}
168 install Doc/zsh.info* $RPM_BUILD_ROOT%{_infodir}
170 touch $RPM_BUILD_ROOT%{_sysconfdir}/{zlogout,zlogin,zshenv}
171 echo "setopt no_function_argzero" > $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
172 echo ". %{_sysconfdir}/profile" >> $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
174 cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/zshrc
175 PS1='[%%n@%%m %%~]%%(!.#.%%\\$) '
176 bindkey -e >/dev/null 2>&1
180 bindkey \`tput khome\` beginning-of-line >/dev/null 2>&1
181 bindkey \`tput kend\` end-of-line >/dev/null 2>&1
182 bindkey \`tput kdch1\` delete-char >/dev/null 2>&1
183 bindkey \`tput kpp\` up-history >/dev/null 2>&1
184 bindkey \`tput knp\` end-of-history >/dev/null 2>&1
185 bindkey \`tput kcuu1\` history-beginning-search-backward >/dev/null 2>&1
186 bindkey \`tput kcud1\` history-beginning-search-forward >/dev/null 2>&1
190 find Functions Util StartupFiles -name .distfiles -o -name .cvsignore | xargs rm -f
191 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/zsh.1
193 # for kdesdk's completion
194 ln -sf %{version} $RPM_BUILD_ROOT%{_datadir}/zsh/latest
197 rm -rf $RPM_BUILD_ROOT
201 if [ ! -f /etc/shells ]; then
202 echo "%{_bindir}/zsh" >> /etc/shells
204 grep -q '^%{_bindir}/zsh$' /etc/shells || echo "%{_bindir}/zsh" >> /etc/shells
206 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
209 if [ "$1" = "0" ]; then
211 grep -v '^%{_bindir}/zsh$' /etc/shells > /etc/shells.new
212 mv -f /etc/shells.new /etc/shells
216 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
220 if [ ! -f /etc/shells ]; then
221 echo "%{_bindir}/zsh.static" >> /etc/shells
223 grep -q '^%{_bindir}/zsh\.static$' /etc/shells || echo "%{_bindir}/zsh.static" >> /etc/shells
227 if [ "$1" = "0" ]; then
229 grep -v '^%{_bindir}/zsh\.static$' /etc/shells > /etc/shells.new
230 mv -f /etc/shells.new /etc/shells
234 %defattr(644,root,root,755)
235 %doc Etc/* README LICENCE ChangeLog META-FAQ Util StartupFiles
236 %attr(755,root,root) %{_bindir}/zsh
237 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/*
239 %dir %{_libdir}/zsh/%{version}
241 %dir %{_datadir}/zsh/site-functions
242 %{_datadir}/zsh/latest
243 %dir %{_datadir}/zsh/%{version}
244 %dir %{_datadir}/zsh/%{version}/functions
245 %{_datadir}/zsh/%{version}/functions/[!_c]*
246 %{_datadir}/zsh/%{version}/functions/c[!o]*
247 %{_datadir}/zsh/%{version}/functions/co[!m]*
248 %attr(755,root,root) %{_libdir}/zsh/%{version}/*
249 %{_infodir}/zsh.info*
250 %{_mandir}/man1/zsh*.1*
251 %lang(pl) %{_mandir}/pl/man1/zsh*.1*
254 %defattr(644,root,root,755)
255 %{_datadir}/zsh/%{version}/functions/comp*
256 %{_datadir}/zsh/%{version}/functions/_*
259 %defattr(644,root,root,755)
262 %if %{!?_without_static:1}%{?_without_static:0}
264 %defattr(644,root,root,755)
265 %attr(755,root,root) %{_bindir}/zsh.static