tcsh/tcsh.spec

283 lines
8.4 KiB
RPMSpec
Raw Normal View History

auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
%define _bindir /bin
Summary: An enhanced version of csh, the C shell.
Name: tcsh
Version: 6.13
2005-03-05 13:43:09 +00:00
Release: 13
License: distributable
Group: System Environment/Shells
Source: ftp://ftp.astron.com/pub/tcsh/tcsh-%{version}.00.tar.gz
Patch0: tcsh-6.13.00-utmp.patch
Patch1: tcsh-6.13.00-dspmbyte.patch
Patch2: tcsh-6.11.00-termcap.patch
Patch3: tcsh-6.12.00-setpgrp.patch
Patch4: tcsh-6.13.00-charset.patch
Patch5: tcsh-6.13.00-iconv.patch
Patch6: tcsh-6.13.00-glob.patch
Patch7: tcsh-6.13.00-arch.patch
Patch8: tcsh-6.13.00-fcntl.patch
Patch9: tcsh-6.13.00-winchg.patch
Patch10: tcsh-6.13.00-codeset.patch
Patch11: tcsh-6.13.00-closem.patch
Patch12: tcsh-6.13.00-cstr.patch
Patch13: tcsh-6.13.00-cgets.patch
Provides: csh = %{version}
Prereq: fileutils, grep
URL: http://www.tcsh.org/
Buildroot: %{_tmppath}/%{name}-%{version}-root
BuildPrereq: groff, libtermcap-devel
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
%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}-%{version}.00
%patch0 -p1 -b .utmp
%patch1 -p1 -b .mbyte
%patch2 -p1 -b .termcap
%patch3 -p1 -b .setpgrp
%patch4 -p1 -b .charset
%patch5 -p1 -b .iconv
%patch6 -p1 -b .glob
%patch7 -p1 -b .arch
%patch8 -p1 -b .fcntl
%patch9 -p1 -b .winchg
%patch10 -p1 -b .codeset
%patch11 -p1 -b .closem
%patch12 -p1 -b .cstr
%patch13 -p1 -b .cgets
nroff -me eight-bit.me > eight-bit.txt
autoreconf
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
%build
%configure --without-hesiod
make all
make -C nls catalogs
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf ${RPM_BUILD_ROOT}
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man1 ${RPM_BUILD_ROOT}%{_bindir}
install -m 755 tcsh ${RPM_BUILD_ROOT}%{_bindir}/tcsh
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
install -m 644 tcsh.man ${RPM_BUILD_ROOT}%{_mandir}/man1/tcsh.1
ln -sf tcsh ${RPM_BUILD_ROOT}%{_bindir}/csh
ln -sf tcsh.1 ${RPM_BUILD_ROOT}%{_mandir}/man1/csh.1
while read lang language ; do
dest=${RPM_BUILD_ROOT}%{_datadir}/locale/$lang/LC_MESSAGES
if test -f tcsh.$language.cat ; then
mkdir -p $dest
install -m644 tcsh.$language.cat $dest/tcsh
echo "%lang($lang) %{_datadir}/locale/$lang/LC_MESSAGES/tcsh"
fi
done > tcsh.lang << _EOF
de german
el greek
en C
es spanish
et et
fi finnish
fr french
it italian
ja ja
pl pl
ru russian
uk ukrainian
_EOF
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf ${RPM_BUILD_ROOT}
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
%post
if [ ! -f /etc/shells ]; then
echo "%{_bindir}/tcsh" >> /etc/shells
echo "%{_bindir}/csh" >> /etc/shells
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
else
grep -q '^%{_bindir}/tcsh$' /etc/shells || \
echo "%{_bindir}/tcsh" >> /etc/shells
grep -q '^%{_bindir}/csh$' /etc/shells || \
echo "%{_bindir}/csh" >> /etc/shells
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
fi
%postun
if [ ! -x %{_bindir}/tcsh ]; then
grep -v '^%{_bindir}/tcsh$' /etc/shells | \
grep -v '^%{_bindir}/csh$' > /etc/shells.rpm
cat /etc/shells.rpm > /etc/shells && rm /etc/shells.rpm
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
fi
%files -f tcsh.lang
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
%defattr(-,root,root)
%doc FAQ Fixes NewThings complete.tcsh eight-bit.txt
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
%{_bindir}/tcsh
%{_bindir}/csh
%{_mandir}/*/*
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
%changelog
2005-03-05 13:43:09 +00:00
* Sat Mar 5 2005 Miloslav Trmac <mitr@redhat.com> - 6.13-13
- Rebuild with gcc 4
* Fri Feb 25 2005 Miloslav Trmac <mitr@redhat.com> - 6.13-12
- Don't ship the HTML documentation (generated from the man page, contains
also a copy of the man page)
* Sun Jan 30 2005 Miloslav Trmac <mitr@redhat.com> - 6.13-11
- Fix the previous patch, handle a missed case (#146330)
* Sat Jan 15 2005 Miloslav Trmac <mitr@redhat.com> - 6.13-10
- Avoid reusing iconv_catgets' static buffer (#145177, #145195)
2004-09-21 21:23:57 +00:00
* Tue Sep 21 2004 Miloslav Trmac <mitr@redhat.com> - 6.13-9
- Fix invalid argument to xprintf () (#133129)
* Wed Sep 15 2004 Miloslav Trmac <mitr@redhat.com> - 6.13-8
- Fix $HOSTTYPE and $MACHTYPE for ppc64 and s390x, this time for sure
* Wed Sep 15 2004 Miloslav Trmac <mitr@redhat.com> - 6.13-7
- Define $HOSTTYPE and $MACHTYPE for ppc64 and s390 (#115531),
I hope that finally covers all architectures.
* Wed Sep 15 2004 Miloslav Trmac <mitr@redhat.com> - 6.13-6
- Define $HOSTTYPE and $MACHTYPE also on IA-64 and s390x (#115531)
- Don't close sockets to avoid file descriptor conflits with nss_ldap (#112453)
* Tue Sep 14 2004 Miloslav Trmac <mitr@redhat.com> - 6.13-5
- Fix HTML documentation generation, second attempt (#60664)
- Set dspmbyte using nl_langinfo(CODESET) if possible, should cover all
cases where lang.csh was correctly setting dspmbyte (#89549)
* Wed Sep 8 2004 Miloslav Trmac <mitr@redhat.com> - 6.13-4
- Remove unneeded patches
* Thu Aug 26 2004 Miloslav Trmac <mitr@redhat.com> - 6.13-3
- Check for SIGWINCH more often (from tcsh-6.13.01, #130941)
* Wed Aug 18 2004 Miloslav Trmac <mitr@redhat.com> - 6.13-2
- Make comparisons for ranges in bracket expressions symmetric (#59493)
- Run perl2html with LC_ALL=C to workaround what seems to be a perl bug
(#60664)
- Define $HOSTTYPE and $MACHTYPE on x86_64 (#115531)
- Fix setting of O_LARGEFILE (#122558)
* Tue Aug 17 2004 Miloslav Trmac <mitr@redhat.com> - 6.13-1
- Update to tcsh-6.13.00
- Fix charset headers in some of the translations
- Convert translated messages to LC_CTYPE locale
- Fix automatic dspmbyte setting
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue Feb 10 2004 Nalin Dahyabhai <nalin@redhat.com> 6.12-7
- remove declaration of setpgrp() which conflicts with libc's (#115185)
* Fri Nov 21 2003 Nalin Dahyabhai <nalin@redhat.com> 6.12-6
- add missing buildprereqs on groff, libtermcap-devel (#110599)
* Tue Jul 8 2003 Nalin Dahyabhai <nalin@redhat.com>
- update URL
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
- rebuilt
* Thu Dec 05 2002 Elliot Lee <sopwith@redhat.com> 6.12-3
- Merge changes from 8.0-hammer
* Tue Nov 19 2002 Nalin Dahyabhai <nalin@redhat.com> 6.12-3
- rebuild
* Thu Aug 08 2002 Phil Knirsch <pknirsch@redhat.com> 6.12-2
- Added csh.1 symlink to manpages.
* Tue Jun 4 2002 Nalin Dahyabhai <nalin@redhat.com> 6.11-1
- update to 6.11
* Thu May 23 2002 Tim Powers <timp@redhat.com>
- automated rebuild
* Thu Jan 31 2002 Bill Nottingham <notting@redhat.com>
- rebuild in new env
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
- Bump release + rebuild.
* Wed Mar 28 2001 Akira TAGOH <tagoh@redhat.com> 6.10-5
- Fixed check locale.
* Tue Feb 6 2001 Adrian Havill <havill@redhat.com>
- use <time.h> instead of <sys/time.h> for pickier lib (#25935)
- allow arguments for login shells (#19926)
* Thu Nov 30 2000 Nalin Dahyabhai <nalin@redhat.com>
- update to 6.10.00 to fix here-script vulnerability
* Wed Sep 18 2000 Adrian Havill <havill@redhat.com>
- fix catalog locale dirname for Japanese
auto-import changelog data from tcsh-6.09-6.src.rpm Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com> - FHS packaging. - add locale support (#10345). Tue Mar 07 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). Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com> - fix $shell by using --bindir Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 5) 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 06 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 05 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 Tue 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.
2004-09-09 13:07:40 +00:00
* Thu Jun 15 2000 Jeff Johnson <jbj@redhat.com>
- FHS packaging.
- add locale support (#10345).
* 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).
* Sat Sep 25 1999 Michael K. Johnson <johnsonm@redhat.com>
- fix $shell by using --bindir
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
- auto rebuild in the new build environment (release 5)
* 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.