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: 48958b1a3fc86261a26eea40a4f7d4af
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 Patch6: %{name}-zle_misc.patch
34 BuildRequires: autoconf
35 %{!?_without_static:BuildRequires: glibc-static}
36 BuildRequires: ncurses-devel >= 5.1
37 %{!?_without_static:BuildRequires: ncurses-static}
38 BuildRequires: texinfo
39 Requires(post,preun): grep
40 Requires(preun): fileutils
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42 Obsoletes: zsh-doc-html, zsh-doc-ps, zsh-doc-dvi
45 %define specflags_ia32 "-fomit-frame-pointer"
48 zsh is an enhanced version of the Bourne shell with csh additions and
49 most features of ksh, bash, and tcsh.
52 zsh es una versión mejorada del bourne shell con estas
54 - muy próximo de la gramática del ksh/sh, con adiciones csh,
55 - varias características del ksh, bash y tcsh,
56 - 75 funciones empotradas, 89 opciones, 154 combinaciones de teclas,
58 - funciones shell ...y mucho más.
61 zsh ¥·¥§¥ë¤ÏÂÐÏÃŪ¤Ê¥í¥°¥¤¥ó¥·¥§¥ë¤È¤·¤ÆÍøÍѲÄǽ¤Ê¥³¥Þ¥ó¥É¥¤¥ó¥¿¥ê¥¿
62 ¤Ç¤¢¤ê¡¢¥·¥§¥ë¥¹¥¯¥ê¥×¥È¥³¥Þ¥ó¥É¤â½èÍý¤Ç¤¤Þ¤¹. zsh ¤Ï ksh(the Korn
63 shell) ¤Ë»÷¤Æ¤¤¤Þ¤¹¤¬,¤«¤Ê¤ê³ÈÄ¥¤µ¤ì¤Æ¤¤¤Þ¤¹. zsh
64 ¤Ï¥³¥Þ¥ó¥É¥é¥¤¥ó¤Ç¤ÎÊÔ½¸µ¡Ç½, ÁȤ߹þ¤Þ¤ì¤¿¥¹¥Ú¥ë½¤Àµµ¡Ç½, ¥×¥í¥°¥é¥ß¥ó
65 ¥°²Äǽ¤Ê¥³¥Þ¥ó¥ÉÊä´°µ¡Ç½, (ưŪ¥í¡¼¥É¤µ¤ì¤ë)¥·¥§¥ëµ¡Ç½, ¥Ò¥¹¥È¥êµ¡¹½
69 zsh jest ulepszon± pow³ok± Bourne'a z elementami pow³oki csh. Posiada
70 wiêkszo¶æ cech ksh, bash i tcsh.
73 zsh é uma versão melhorada do bourne shell com essas características:
74 - muito próximo da gramática do ksh/sh, com adições csh,
75 - várias características do ksh, bash e tcsh,
76 - 75 funções embutidas, 89 opções, 154 combinações de teclas,
78 - funções shell ...e muito mais.
81 zsh - ÜÔÏ ËÏÍÁÎÄÎÙÊ ÐÒÏÃÅÓÓÏÒ ÎÁÐÏÍÉÎÁÀÝÉÊ ksh (Korn shell), ÎÏ
82 ×ËÌÀÞÁÀÝÉÊ ÍÎÏÇÏ ÕÌÕÞÛÅÎÉÊ. zsh ÐÏÄÄÅÒÖÉ×ÁÅÔ ÒÅÄÁËÔÉÒÏ×ÁÎÉÅ ËÏÍÁÎÄÎÏÊ
83 ÓÔÒÏËÉ, ×ÓÔÒÏÅÎÎÕÀ ËÏÒÒÅËÃÉÀ ÎÁÐÉÓÁÎÉÑ, ÐÒÏÇÒÁÍÍÉÒÕÅÍÏÅ ÚÁ×ÅÒÛÅÎÉÅ
84 ËÏÍÁÎÄ, shell-ÆÕÎËÃÉÉ (Ó Á×ÔÏÚÁÇÒÕÚËÏÊ), ÉÓÔÏÒÉÀ ËÏÍÁÎÄ É ÍÎÏÇÏÅ
88 zsh - ÃÅ ËÏÍÁÎÄÎÉÊ ÐÒÏÃÅÓÏÒ, ÝÏ ÎÁÇÁÄÕ¤ ksh (Korn shell), ÁÌÅ ×ËÌÀÞÁ¤
89 ÂÁÇÁÔÏ ÐÏËÒÁÝÅÎØ. zsh ЦÄÔÒÉÍÕ¤ ÒÅÄÁÇÕ×ÁÎÎÑ ËÏÍÁÎÄÎÏÇÏ ÒÑÄËÁ,
90 ×ÂÕÄÏ×ÁÎÕ ËÏÒÅËæÀ ÎÁÐÉÓÁÎÎÑ, ÐÒÏÇÒÁÍÏ×ÁÎÅ ÚÁ×ÅÒÛÅÎÎÑ ËÏÍÁÎÄ,
91 shell-ÆÕÎËæ§ (Ú Á×ÔÏÚÁ×ÁÎÔÁÖÅÎÎÑÍ), ¦ÓÔÏÒ¦À ËÏÍÁÎÄ ÔÁ ÂÁÇÁÔÏ ¦ÎÛÏÇÏ.
94 Summary: Files needed for advanced TAB-completion
95 Summary(pl): Pliki potrzebne dla zaawansowanej TAB-completion
96 Group: Applications/Shells
97 Requires: %{name} = %{version}
99 %description completions
100 This package contains files needed for advanced tab completion in zsh.
102 %description completions -l pl
103 Ten pakiet zawiera pliki wymagane przez zsh dla zaawansowanej
107 Summary: Statically linked Enhanced bourne shell
108 Summary(pl): Zaawansowany bourne SHell - linkowany statycznie
109 Group: Applications/Shells
110 Requires(post,preun): grep
111 Requires(preun): fileutils
112 Requires: %{name} = %{version}
115 zsh is an enhanced version of the Bourne shell with csh additions and
116 most features of ksh, bash, and tcsh.
118 %description static -l pl
119 zsh jest ulepszon± pow³ok± Bourne'a z elementami pow³oki csh. Posiada
120 wiêkszo¶æ cech ksh, bash i tcsh. W tym pakiecie jest statycznie
124 Summary: A User's Guide to the Z-Shell
125 Summary(pl): Podrêcznik U¿ytkownika Z-Shella
126 Group: Applications/Shells
127 URL: http://zsh.sunsite.dk/Guide/
130 A User's Guide to the Z-Shell.
132 %description guide -l pl
133 Podrêcznik U¿ytkownika Z-Shella.
150 %if %{!?_without_static:1}%{?_without_static:0}
151 LDFLAGS="%{rpmldflags} -static"
154 mv -f Src/zsh Src/zsh.static
155 LDFLAGS="%{rpmldflags}"
159 --enable-maildir-support
166 rm -rf $RPM_BUILD_ROOT
167 install -d $RPM_BUILD_ROOT{%{_infodir},%{_sysconfdir},%{_bindir},%{_mandir}/pl/man1}
169 %{__make} install DESTDIR=$RPM_BUILD_ROOT
171 %{!?_without_static:install Src/zsh.static $RPM_BUILD_ROOT%{_bindir}}
172 install Doc/zsh.info* $RPM_BUILD_ROOT%{_infodir}
174 touch $RPM_BUILD_ROOT%{_sysconfdir}/{zlogout,zlogin,zshenv}
175 echo "setopt no_function_argzero" > $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
176 echo ". %{_sysconfdir}/profile" >> $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
178 cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/zshrc
179 PS1='[%%n@%%m %%~]%%(!.#.%%\\$) '
180 bindkey -e >/dev/null 2>&1
184 bindkey \`tput khome\` beginning-of-line >/dev/null 2>&1
185 bindkey \`tput kend\` end-of-line >/dev/null 2>&1
186 bindkey \`tput kdch1\` delete-char >/dev/null 2>&1
187 bindkey \`tput kpp\` up-history >/dev/null 2>&1
188 bindkey \`tput knp\` end-of-history >/dev/null 2>&1
189 bindkey \`tput kcuu1\` history-beginning-search-backward >/dev/null 2>&1
190 bindkey \`tput kcud1\` history-beginning-search-forward >/dev/null 2>&1
194 find Functions Util StartupFiles -name .distfiles -o -name .cvsignore | xargs rm -f
195 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/zsh.1
197 # for kdesdk's completion
198 ln -sf %{version} $RPM_BUILD_ROOT%{_datadir}/zsh/latest
201 rm -rf $RPM_BUILD_ROOT
205 if [ ! -f /etc/shells ]; then
206 echo "%{_bindir}/zsh" >> /etc/shells
208 grep -q '^%{_bindir}/zsh$' /etc/shells || echo "%{_bindir}/zsh" >> /etc/shells
210 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
213 if [ "$1" = "0" ]; then
215 grep -v '^%{_bindir}/zsh$' /etc/shells > /etc/shells.new
216 mv -f /etc/shells.new /etc/shells
220 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
224 if [ ! -f /etc/shells ]; then
225 echo "%{_bindir}/zsh.static" >> /etc/shells
227 grep -q '^%{_bindir}/zsh\.static$' /etc/shells || echo "%{_bindir}/zsh.static" >> /etc/shells
231 if [ "$1" = "0" ]; then
233 grep -v '^%{_bindir}/zsh\.static$' /etc/shells > /etc/shells.new
234 mv -f /etc/shells.new /etc/shells
238 %defattr(644,root,root,755)
239 %doc Etc/* README LICENCE ChangeLog META-FAQ Util StartupFiles
240 %attr(755,root,root) %{_bindir}/zsh
241 %config(noreplace,missingok) %verify(not md5 size mtime) %{_sysconfdir}/*
243 %dir %{_libdir}/zsh/%{version}
245 %dir %{_datadir}/zsh/site-functions
246 %{_datadir}/zsh/latest
247 %dir %{_datadir}/zsh/%{version}
248 %dir %{_datadir}/zsh/%{version}/functions
249 %{_datadir}/zsh/%{version}/functions/[!_c]*
250 %{_datadir}/zsh/%{version}/functions/c[!o]*
251 %{_datadir}/zsh/%{version}/functions/co[!m]*
252 %attr(755,root,root) %{_libdir}/zsh/%{version}/*
253 %{_infodir}/zsh.info*
254 %{_mandir}/man1/zsh*.1*
255 %lang(pl) %{_mandir}/pl/man1/zsh*.1*
258 %defattr(644,root,root,755)
259 %{_datadir}/zsh/%{version}/functions/comp*
260 %{_datadir}/zsh/%{version}/functions/_*
263 %defattr(644,root,root,755)
266 %if %{!?_without_static:1}%{?_without_static:0}
268 %defattr(644,root,root,755)
269 %attr(755,root,root) %{_bindir}/zsh.static