Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37711900
en ru br
ALT Linux repositórios
S:5.9-alt2
5.0: 4.3.9-alt2
4.1: 4.3.6-alt1
4.0: 4.3.4-alt3
+updates:4.3.4-alt3
3.0: 4.3.0-alt0.2
+backports:4.3.2-alt0.0.M30.1

Group :: Shelss
RPM: zsh

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: zsh
Version: 4.3.6
Release: alt1
Epoch: 1

Summary: A shell with lots of features
License: BSD-like
Group: Shells

URL: http://www.zsh.org
Source: zsh-4.3.6.tar
Patch: zsh-%version-%release.patch

Provides: zsh-doc = %epoch:%version
Obsoletes: zsh-doc < %epoch:%version

# Automatically added by buildreq on Sun Apr 13 2008

BuildRequires: libncursesw-devel libpcre-devel yodl

%description
Zsh is a UNIX command interpreter (shell) usable as an interactive
login shell and as a shell script command processor.  Of the standard
shells, zsh most closely resembles ksh but includes many enhancements.
Zsh has command-line editing, built-in spelling correction, programmable
command completion, shell functions (with autoloading), a history
mechanism, and a lots of other features.

%prep
%setup -q -n zsh-4.3.6
%patch -p1
rm config.guess config.sub

%build
autoreconf -fisv

# Disable libnsl/NIS support.

export ac_cv_search_yp_all=no zsh_cv_sys_nis=no zsh_cv_sys_nis_plus=no

# YODL is not required, pre-generated man pages are shipped.

export YODL=yodl PDFETEX=pdfetex TEXI2PDF=texi2pdf

# Avoid autoconf thinking it should strip when linking.

export LDFLAGS=

# Disable sys/capability.h (see #8142).

export ac_cv_header_sys_capability_h=no

%configure \
--enable-etcdir=%_sysconfdir \
--enable-fndir=%_datadir/zsh \
--enable-scriptdir=%_datadir/zsh/scripts \
--enable-site-fndir=/usr/local/share/zsh \
--enable-site-scriptdir=/usr/local/share/zsh/scripts \
--enable-function-subdirs \
--enable-maildir-support \
--with-curses-terminfo \
--with-tcsetpgrp \
--disable-cap \
--enable-pcre \
--enable-multibyte \
%{?_enable_debug: --enable-zsh-{,mem-,hash-}debug } \
%{?_enable_debug: --enable-zsh-{mem-warning,secure-free} } \
#

# We don't expect that something is broken.

grep '^#define.*BROKEN' config.h && exit 1

# SMP-incompatible.

make MODDIR=%_libdir
make -C Etc

%ifndef __buildreqs
[ ! -e /dev/tty ] || LC_ALL=C make test
%endif

%install
# Zsh hardcodes the prefix in binary even at install.
%makeinstall MODDIR=%buildroot%_libdir -C Src
%make_install DESTDIR=%buildroot install.fns install.man install.info

# Relocate to /bin.

mkdir -p %buildroot/bin
mv %buildroot%_bindir/zsh %buildroot/bin/zsh
ln -s `relative /bin/zsh %_bindir/zsh` %buildroot%_bindir/zsh

# Configuration files.

mkdir -p %buildroot%_sysconfdir
for f in zshenv zshrc zlerc zlogout; do
install -p -m644 zcfg/$f %buildroot%_sysconfdir/$f
done

# Fix paths.

find %buildroot%_datadir/zsh -type f -print0 |
xargs -r0 grep -FZl /usr/local/bin/zsh |
xargs -r0 subst -p s:/usr/local/bin/zsh:/bin/zsh:g

%post
%install_info zsh.info

%preun
%uninstall_info zsh.info

%files
/bin/zsh
%_bindir/zsh
%_libdir/zsh/
%_datadir/zsh/
%config(noreplace) %_sysconfdir/z*[a-z]
%_man1dir/zsh*.*
%_infodir/zsh.info*
%doc LICENCE META-FAQ NEWS README StartupFiles/z*
%doc Etc/BUGS Etc/CONTRIBUTORS Etc/FAQ Etc/STD-TODO Etc/TODO

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009