|
cvsdist |
abdd31 |
Summary: A shell similar to ksh, but with improvements.
|
|
cvsdist |
abdd31 |
Name: zsh
|
|
cvsdist |
abdd31 |
Version: 3.0.8
|
|
cvsdist |
abdd31 |
Release: 3
|
|
cvsdist |
abdd31 |
Copyright: GPL
|
|
cvsdist |
abdd31 |
Group: System Environment/Shells
|
|
cvsdist |
abdd31 |
Source0: ftp://ftp.zsh.org/pub/zsh-%{version}.tar.gz
|
|
cvsdist |
abdd31 |
Source1: zlogin.rhs
|
|
cvsdist |
abdd31 |
Source2: zlogout.rhs
|
|
cvsdist |
abdd31 |
Source3: zprofile.rhs
|
|
cvsdist |
abdd31 |
Source4: zshrc.rhs
|
|
cvsdist |
abdd31 |
Source5: zshenv.rhs
|
|
cvsdist |
abdd31 |
Patch0: zsh-3.0.8-doc.patch
|
|
cvsdist |
abdd31 |
Prereq: fileutils grep /sbin/install-info
|
|
cvsdist |
abdd31 |
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%description
|
|
cvsdist |
abdd31 |
The zsh shell is a command interpreter usable as an interactive login
|
|
cvsdist |
abdd31 |
shell and as a shell script command processor. Zsh resembles the ksh
|
|
cvsdist |
abdd31 |
shell (the Korn shell), but includes many enhancements. Zsh supports
|
|
cvsdist |
abdd31 |
command line editing, built-in spelling correction, programmable
|
|
cvsdist |
abdd31 |
command completion, shell functions (with autoloading), a history
|
|
cvsdist |
abdd31 |
mechanism and more.
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
Install the zsh package if you'd like to try out a different shell.
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%prep
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%setup -q
|
|
cvsdist |
abdd31 |
%patch0 -p1
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%build
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
autoconf
|
|
cvsdist |
abdd31 |
%configure --bindir=/bin --enable-etcdir=/etc
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
make
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%install
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
rm -rf $RPM_BUILD_ROOT
|
|
cvsdist |
abdd31 |
mkdir -p $RPM_BUILD_ROOT/etc
|
|
cvsdist |
abdd31 |
%makeinstall install.man install.info bindir=$RPM_BUILD_ROOT/bin
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
gzip -9 $RPM_BUILD_ROOT/%{_infodir}/*
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
chmod 755 ${RPM_BUILD_ROOT}/bin/zsh
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
cp Etc/{BUGS,FAQ,CONTRIBUTORS,FEATURES,NEWS} .
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
for I in zshrc zlogin zlogout zshenv zprofile; do
|
|
cvsdist |
abdd31 |
cp $RPM_SOURCE_DIR/${I}.rhs ${RPM_BUILD_ROOT}/etc/$I
|
|
cvsdist |
abdd31 |
done
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%clean
|
|
cvsdist |
abdd31 |
rm -rf $RPM_BUILD_ROOT
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%post
|
|
cvsdist |
abdd31 |
if [ ! -f /etc/shells ] ; then
|
|
cvsdist |
abdd31 |
echo "/bin/zsh" > /etc/shells
|
|
cvsdist |
abdd31 |
else
|
|
cvsdist |
abdd31 |
echo "/bin/zsh" >> /etc/shells
|
|
cvsdist |
abdd31 |
fi
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
/sbin/install-info %{_infodir}/zsh.info.gz %{_infodir}/dir \
|
|
cvsdist |
abdd31 |
--entry="* zsh: (zsh). An enhanced bourne shell."
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%preun
|
|
cvsdist |
abdd31 |
if [ "$1" = 0 ] ; then
|
|
cvsdist |
abdd31 |
/sbin/install-info --delete %{_infodir}/zsh.info.gz %{_infodir}/dir \
|
|
cvsdist |
abdd31 |
--entry="* zsh: (zsh). An enhanced bourne shell."
|
|
cvsdist |
abdd31 |
fi
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%postun
|
|
cvsdist |
abdd31 |
if [ "$1" = 0 ] ; then
|
|
cvsdist |
abdd31 |
if [ -f /etc/shells ] ; then
|
|
cvsdist |
abdd31 |
TmpFile=`/bin/mktemp /tmp/.zshrpmXXXXXX`
|
|
cvsdist |
abdd31 |
grep -v '^/bin/zsh$' /etc/shells > $TmpFile
|
|
cvsdist |
abdd31 |
cp -f $TmpFile /etc/shells
|
|
cvsdist |
abdd31 |
rm -f $TmpFile
|
|
cvsdist |
abdd31 |
chmod 644 /etc/shells
|
|
cvsdist |
abdd31 |
fi
|
|
cvsdist |
abdd31 |
fi
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%triggerpostun -- zsh <= 3.0.7-2
|
|
cvsdist |
abdd31 |
if [ ! -f /etc/shells ] ; then
|
|
cvsdist |
abdd31 |
echo "/bin/zsh" > /etc/shells
|
|
cvsdist |
abdd31 |
else
|
|
cvsdist |
abdd31 |
echo "/bin/zsh" >> /etc/shells
|
|
cvsdist |
abdd31 |
fi
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%files
|
|
cvsdist |
abdd31 |
%defattr(-,root,root)
|
|
cvsdist |
abdd31 |
%doc BUGS CONTRIBUTORS ChangeLog FAQ FEATURES META-FAQ NEWS README
|
|
cvsdist |
abdd31 |
%doc Etc Util Functions
|
|
cvsdist |
abdd31 |
/bin/zsh
|
|
cvsdist |
abdd31 |
/bin/zsh-%{version}
|
|
cvsdist |
abdd31 |
%{_mandir}/*/*
|
|
cvsdist |
abdd31 |
%{_infodir}/*
|
|
cvsdist |
abdd31 |
%config /etc/*
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
%changelog
|
|
cvsdist |
abdd31 |
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
cvsdist |
abdd31 |
- automatic rebuild
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Sun Jul 02 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
cvsdist |
abdd31 |
- rebuild
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Tue Jun 06 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
cvsdist |
abdd31 |
- 3.0.8
|
|
cvsdist |
abdd31 |
- use %%configure and %%makeinstall
|
|
cvsdist |
abdd31 |
- updated URL
|
|
cvsdist |
abdd31 |
- disable old patches
|
|
cvsdist |
abdd31 |
- add better patch for texi source
|
|
cvsdist |
abdd31 |
- use %%{_mandir} and %%{_infodir}
|
|
cvsdist |
abdd31 |
- use %%{_tmppath}
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Tue May 02 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
|
cvsdist |
abdd31 |
- patched to recognize export in .zshrc (bug #11169)
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Tue Mar 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
abdd31 |
- rebuild for sparc baud rates > 38400.
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Fri Mar 03 2000 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
abdd31 |
- fix postun script so that we don't remove ourselves on every update
|
|
cvsdist |
abdd31 |
doh...
|
|
cvsdist |
abdd31 |
- add a trigger to fix old versions of the package
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
abdd31 |
- rebuild to fix dependencies
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Thu Jan 13 2000 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
abdd31 |
- update to 3.0.7.
|
|
cvsdist |
abdd31 |
- source /etc/profile so that USER gets set correctly (#5655).
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Fri Sep 24 1999 Michael K. Johnson <johnsonm@redhat.com>
|
|
cvsdist |
abdd31 |
- source /etc/profile.d/*.sh in zprofile
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Tue Sep 07 1999 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
abdd31 |
- fix zshenv and zprofile scripts - foxed versions from HJLu.
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Thu Jul 29 1999 Bill Nottingham <notting@redhat.com>
|
|
cvsdist |
abdd31 |
- clean up init files some. (#4055)
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Tue May 18 1999 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
abdd31 |
- Make sure that env variable TmpFile is evaluated. (#2898)
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Sun May 9 1999 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
abdd31 |
- fix select timeval initialization (#2688).
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
abdd31 |
- auto rebuild in the new build environment (release 10)
|
|
cvsdist |
abdd31 |
- fix the texi source
|
|
cvsdist |
abdd31 |
- patch to detect & link against nsl
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Wed Mar 10 1999 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
abdd31 |
- use mktemp to handle temporary files.
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Thu Feb 11 1999 Michael Maher <mike@redhat.com>
|
|
cvsdist |
abdd31 |
- fixed bug #365
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
abdd31 |
- build for glibc 2.1
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Thu Sep 10 1998 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
abdd31 |
- compile for 5.2
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Sat Jun 06 1998 Prospector System <bugs@redhat.com>
|
|
cvsdist |
abdd31 |
- translations modified for de
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Sat Jun 6 1998 Jeff Johnson <jbj@redhat.com>
|
|
cvsdist |
abdd31 |
- Eliminate incorrect info page removal.
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Fri May 08 1998 Prospector System <bugs@redhat.com>
|
|
cvsdist |
abdd31 |
- translations modified for de, fr, tr
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Sat Apr 11 1998 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
abdd31 |
- manhattan build
|
|
cvsdist |
abdd31 |
- moved profile.d handling from zshrc to zprofile
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Wed Oct 21 1997 Cristian Gafton <gafton@redhat.com>
|
|
cvsdist |
abdd31 |
- Upgraded to 3.0.5
|
|
cvsdist |
abdd31 |
- Install-info handling
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Thu Jul 31 1997 Erik Troan <ewt@redhat.com>
|
|
cvsdist |
abdd31 |
- built against glibc
|
|
cvsdist |
abdd31 |
|
|
cvsdist |
abdd31 |
* Thu Apr 10 1997 Michael Fulbright <msf@redhat.com>
|
|
cvsdist |
abdd31 |
- Upgraded to 3.0.2
|
|
cvsdist |
abdd31 |
- Added 'reasonable' default startup files in /etc
|