1 # $Revision: 1.49 $ $Date: 2002-04-13 06:13:08 $
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 ". %{_sysconfdir}/profile" > $RPM_BUILD_ROOT%{_sysconfdir}/zprofile
142 echo -e "PS1='[%%n@%%m %%~]%%(!.#.%%\\$) '\nbindkey -e >/dev/null 2>&1\nalias which=whence" > \
143 $RPM_BUILD_ROOT%{_sysconfdir}/zshrc
146 find Functions Util StartupFiles -name .distfiles -o -name .cvsignore | xargs rm -f
147 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1/zsh.1
149 gzip -9nf Etc/* README LICENCE ChangeLog META-FAQ
152 if [ ! -f /etc/shells ]; then
153 echo "%{_bindir}/zsh" >> /etc/shells
155 grep -q '^%{_bindir}/zsh$' /etc/shells || echo "%{_bindir}/zsh" >> /etc/shells
157 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
160 if [ "$1" = "0" ]; then
161 grep -v '^%{_bindir}/zsh$' /etc/shells > /etc/shells.new
162 mv -f /etc/shells.new /etc/shells
166 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} > /dev/null 2>&1
169 if [ ! -f /etc/shells ]; then
170 echo "%{_bindir}/zsh.static" >> /etc/shells
172 grep -q '^%{_bindir}/zsh\.static$' /etc/shells || echo "%{_bindir}/zsh.static" >> /etc/shells
176 if [ "$1" = "0" ]; then
177 grep -v '^%{_bindir}/zsh\.static$' /etc/shells > /etc/shells.new
178 mv -f /etc/shells.new /etc/shells
183 rm -rf $RPM_BUILD_ROOT
186 %defattr(644,root,root,755)
187 %doc *.gz Etc/* Util StartupFiles
188 %attr(755,root,root) %{_bindir}/zsh
189 %config %{_sysconfdir}/*
191 %dir %{_libdir}/zsh/%{version}
192 %dir %{_datadir}/zsh/
193 %dir %{_datadir}/zsh/site-functions
194 %dir %{_datadir}/zsh/%{version}
195 %dir %{_datadir}/zsh/%{version}/functions
196 %{_datadir}/zsh/%{version}/functions/[^_c]*
197 %{_datadir}/zsh/%{version}/functions/c[^o]*
198 %{_datadir}/zsh/%{version}/functions/co[^m]*
199 %attr(755,root,root) %{_libdir}/zsh/%{version}/*
200 %{_infodir}/zsh.info*
201 %{_mandir}/man1/zsh*.1*
202 %lang(pl) %{_mandir}/pl/man1/zsh*.1*
205 %defattr(644,root,root,755)
206 %{_datadir}/zsh/%{version}/functions/comp*
207 %{_datadir}/zsh/%{version}/functions/_*
209 %if %{!?_without_static:1}%{?_without_static:0}
211 %defattr(644,root,root,755)
212 %attr(755,root,root) %{_bindir}/zsh.static