Summary: An enhanced version of csh, the C shell Name: tcsh Version: 6.14 %define rversion %{version}.00 Release: 1mdk License: BSD Group: Shells BuildRequires: libtermcap-devel groff-for-man Source: ftp://ftp.funet.fi/pub/unix/shells/tcsh/tcsh-%{version}.00.tar.bz2 Source1: alias.csh Patch1: tcsh-6.09.00-termios.patch.bz2 Patch3: tcsh-6.14.00-lsF.patch.bz2 Patch4: tcsh-6.14.00-dashn.patch.bz2 Patch5: tcsh-6.14.00-read.patch.bz2 Patch6: tcsh-6.10.00-glibc_compat.patch.bz2 Patch7: tcsh-6.14.00-getauthuid-is-not-in-auth_h.patch.bz2 Provides: csh = %{version} Requires(post): rpm-helper >= 0.7 Requires(postun): rpm-helper >= 0.7 URL: http://www.tcsh.org/ Buildroot: %_tmppath/%name-%version-%release-root %description Tcsh is an enhanced but completely compatible version of csh, the C shell. Tcsh is a command language interpreter which can be used both as an interactive login shell and as a shell script command processor. Tcsh includes a command line editor, programmable word completion, spelling correction, a history mechanism, job control and a C language like syntax. %prep %setup -q -n %{name}-%{rversion} %patch1 -p1 -b .termios %patch3 -p1 -b .lsF %patch4 -p1 -b .dashn %patch5 -p1 -b .read %patch6 -p1 -b .glibc_compat %patch7 -p1 %build %configure --bindir=/bin --without-hesiod %make nroff -me eight-bit.me > eight-bit.txt %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1 $RPM_BUILD_ROOT/bin install -s tcsh $RPM_BUILD_ROOT/bin/tcsh install -m 644 tcsh.man $RPM_BUILD_ROOT%{_mandir}/man1/tcsh.1 ln -s tcsh.1 $RPM_BUILD_ROOT%{_mandir}/man1/csh.1 ln -sf tcsh $RPM_BUILD_ROOT/bin/csh mkdir -p %buildroot/etc/profile.d/ install %{SOURCE1} %buildroot/etc/profile.d/$(basename %{SOURCE1}) %clean rm -rf $RPM_BUILD_ROOT %post /usr/share/rpm-helper/add-shell %name $1 /bin/csh /usr/share/rpm-helper/add-shell %name $1 /bin/tcsh %postun /usr/share/rpm-helper/del-shell %name $1 /bin/csh /usr/share/rpm-helper/del-shell %name $1 /bin/tcsh %files %defattr(-,root,root) %doc NewThings FAQ Fixes eight-bit.txt complete.tcsh %doc Ported README* WishList Y2K %config(noreplace) /etc/profile.d/* /bin/* %_mandir/*/* %changelog * Wed Aug 24 2005 Pixel <pixel@mandriva.com> 6.14-1mdk - new release - drop patch0 (utmp) and patch7 (dspmbyte) - take patch3, patch4, patch5 from fedora - fix & enhance prereq - build eight-bit.txt in build stage (cleaner that way) * Tue Nov 9 2004 Pixel <pixel@mandrakesoft.com> 6.13-2mdk - add dspmbyte patch from redhat (bugzilla #10116) * Thu Jun 17 2004 Pixel <pixel@mandrakesoft.com> 6.13-1mdk - drop patch 7 (which was replacing "eq" with "strncasecmp" whereas there is now "t_pmatch" doing shell like globbing, and is useful for STRSTARKUTF8) - drop patch 5 (done by default) - update patch 0 - new release * Tue Jul 29 2003 Pixel <pixel@mandrakesoft.com> 6.12-6mdk - fix patch dspmbyte which was completly dumb/broken/... now dspmbyte is only set for kanji locales as expected (bug #4360) * Mon May 12 2003 Pixel <pixel@mandrakesoft.com> 6.12-5mdk - apply patches from redhat to enable dspmbyte (bug #3909) * Wed Feb 19 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 6.12-4mdk - Rebuild, let it link against ncurses * Tue Nov 05 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 6.12-3mdk - Prereq: rpm-helper >= 0.7 - use {add,del}-shell - requires s/fileutils/coreutils - rpmlint fixes * Tue Aug 20 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 6.12-2mdk - Fix Patch0 (utmp) for 6.12.00 * Fri Aug 2 2002 Pixel <pixel@mandrakesoft.com> 6.12-1mdk - new release * Fri Jun 14 2002 Geoffrey Lee <snailtalk@mandrakesoft.com> 6.11-5mdk - Add groff-for-man as BuildRequires. * Tue May 07 2002 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 6.11-4mdk - Automated rebuild in gcc3.1 environment * Thu Oct 11 2001 Pixel <pixel@mandrakesoft.com> 6.11-3mdk - fix rights on alias.csh * Wed Oct 10 2001 Chmouel Boudjnah <chmouel@mandrakesoft.com> 6.11-2mdk - Add alias.csh which is the color_ls.csh from fileutils. * Fri Oct 5 2001 Pixel <pixel@mandrakesoft.com> 6.11-1mdk - new version * Thu Sep 6 2001 Pixel <pixel@mandrakesoft.com> 6.10-4mdk - rebuild * Tue May 01 2001 David BAUDENS <baudens@mandrakesoft.com> 6.10-3mdk - Use %%_tmppath for BuildRoot * Mon Mar 12 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 6.10-2mdk - fix build on glibc22 due to more strict glibc 2.2.2 headers - more docs * Tue Nov 21 2000 Pixel <pixel@mandrakesoft.com> 6.10-1mdk - new version * Mon Nov 13 2000 Pixel <pixel@mandrakesoft.com> 6.09.04-1mdk - new version * Wed Nov 8 2000 Pixel <pixel@mandrakesoft.com> 6.09.03-5mdk - add man page for csh.1 (link to tcsh.1) * Tue Nov 7 2000 Pixel <pixel@mandrakesoft.com> 6.09.03-4mdk - nicer %%post scripts * Tue Nov 7 2000 Pixel <pixel@mandrakesoft.com> 6.09.03-3mdk - change the suffix of /etc/shells temporary file to remove rpmlint error * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 6.09.03-2mdk - automatically added BuildRequires * Thu Jul 27 2000 Pixel <pixel@mandrakesoft.com> 6.09.03-1mdk - new version * Wed Jul 19 2000 Pixel <pixel@mandrakesoft.com> 6.09.02-2mdk - _mandir ization - BM * Thu Jul 6 2000 Pixel <pixel@mandrakesoft.com> 6.09.02-1mdk - new version (cleanup of patches) * Fri Jun 16 2000 Pixel <pixel@mandrakesoft.com> 6.09-4mdk - new version - merge with redhat * Sat Mar 25 2000 Pixel <pixel@mandrakesoft.com> 6.08.00-9mdk - new group + cleanup * Tue Mar 7 2000 Jeff Johnson <jbj@redhat.com> - rebuild for sparc baud rates > 38400. * Mon Jan 31 2000 Cristian Gafton <gafton@redhat.com> - rebuild to fix dependencies * Thu Jan 27 2000 Jeff Johnson <jbj@redhat.com> - append entries to spanking new /etc/shells. * Mon Jan 10 2000 Jeff Johnson <jbj@redhat.com> - update to 6.09. - fix strcoll oddness (#6000, #6244, #6398). * Tue Oct 26 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Merge with rh. - Fix $shell to use --bindir(r) * Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir * Sat Apr 10 1999 Bernhard Rosenkraenzer <bero@linux-mandrake.com> - Mandrake adaptions - bzip2 man/info pages - add de locale - fix handling of RPM_OPT_FLAGS * Wed Feb 24 1999 Cristian Gafton <gafton@redhat.com> - patch for using PATH_MAX instead of some silly internal #defines for variables that handle filenames. * Fri Nov 6 1998 Jeff Johnson <jbj@redhat.com> - update to 6.08.00. * Fri Oct 02 1998 Cristian Gafton <gafton@redhat.com> - upgraded to 6.07.09 from the freebsd - security fix * Wed Aug 5 1998 Jeff Johnson <jbj@redhat.com> - use -ltermcap so that /bin/tcsh can be used in single user mode w/o /usr. - update url's * Mon Apr 27 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr * Thu Oct 21 1997 Cristian Gafton <gafton@redhat.com> - updated to 6.07; added BuildRoot - cleaned up the spec file; fixed source url * Wed Sep 03 1997 Erik Troan <ewt@redhat.com> - added termios hacks for new glibc - added /bin/csh to file list * Fri Jun 13 1997 Erik Troan <ewt@redhat.com> - built against glibc * Fri Feb 07 1997 Erik Troan <ewt@redhat.com> - Provides csh, adds and removes /bin/csh from /etc/shells if csh package isn't installed.