cvsdist 9c287a
Summary: The GNU line editor.
cvsdist 9c287a
Name: ed
cvsdist 9c287a
Version: 0.2
cvsdist 9c287a
Release: 17
cvsdist 9c287a
Copyright: GPL
cvsdist 9c287a
Group: Applications/Text
cvsdist 9c287a
Source: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz
cvsdist 9c287a
Prereq: /sbin/install-info
cvsdist 9c287a
Buildroot: %{_tmppath}/%{name}-root
cvsdist 9c287a
cvsdist 9c287a
%description
cvsdist 9c287a
Ed is a line-oriented text editor, used to create, display, and modify
cvsdist 9c287a
text files (both interactively and via shell scripts).  For most
cvsdist 9c287a
purposes, ed has been replaced in normal usage by full-screen editors
cvsdist 9c287a
(emacs and vi, for example).
cvsdist 9c287a
cvsdist 9c287a
Ed was the original UNIX editor, and may be used by some programs.  In
cvsdist 9c287a
general, however, you probably don't need to install it and you probably
cvsdist 9c287a
won't use it.
cvsdist 9c287a
cvsdist 9c287a
%prep
cvsdist 9c287a
%setup -q
cvsdist 9c287a
cvsdist 9c287a
%build
cvsdist 9c287a
chmod 755 configure
cvsdist 9c287a
autoconf
cvsdist 9c287a
%configure --exec-prefix=/
cvsdist 9c287a
make LDFLAGS=-s
cvsdist 9c287a
cvsdist 9c287a
%install
cvsdist 9c287a
%makeinstall bindir=$RPM_BUILD_ROOT/bin \
cvsdist 9c287a
	mandir=$RPM_BUILD_ROOT%{_mandir}/man1
cvsdist 9c287a
cvsdist 9c287a
gzip -9qnf  $RPM_BUILD_ROOT%{_infodir}/*
cvsdist 9c287a
cvsdist 9c287a
%post
cvsdist 9c287a
/sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed).                  The GNU Line Editor."
cvsdist 9c287a
cvsdist 9c287a
%preun
cvsdist 9c287a
if [ $1 = 0 ] ; then
cvsdist 9c287a
  /sbin/install-info --delete %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed).                  The GNU Line Editor."
cvsdist 9c287a
fi
cvsdist 9c287a
cvsdist 9c287a
%clean
cvsdist 9c287a
rm -rf $RPM_BUILD_ROOT
cvsdist 9c287a
cvsdist 9c287a
%files
cvsdist 9c287a
%defattr(-,root,root)
cvsdist 9c287a
%doc NEWS POSIX README THANKS
cvsdist 9c287a
/bin/*
cvsdist 9c287a
%{_infodir}/ed.info.gz
cvsdist 9c287a
%{_mandir}/*/*
cvsdist 9c287a
cvsdist 9c287a
%changelog
cvsdist 9c287a
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 9c287a
- automatic rebuild
cvsdist 9c287a
cvsdist 9c287a
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
cvsdist 9c287a
- fix typo
cvsdist 9c287a
cvsdist 9c287a
* Sat Jun 17 2000 Than Ngo <than@redhat.de>
cvsdist 9c287a
- add %%defattr
cvsdist 9c287a
- clean up specfile
cvsdist 9c287a
cvsdist 9c287a
* Sat May 20 2000 Ngo Than <than@redhat.de>
cvsdist 9c287a
- rebuild for 7.0
cvsdist 9c287a
- put man pages and infos in right place
cvsdist 9c287a
cvsdist 9c287a
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
cvsdist 9c287a
- rebuild to gzip man pages.
cvsdist 9c287a
cvsdist 9c287a
* Tue Mar 23 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 9c287a
- fix %post syntax error (#1689).
cvsdist 9c287a
cvsdist 9c287a
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 9c287a
- auto rebuild in the new build environment (release 11)
cvsdist 9c287a
cvsdist 9c287a
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 9c287a
- Injected new description and group.
cvsdist 9c287a
cvsdist 9c287a
* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
cvsdist 9c287a
- bumped spec number for initial rh 6.0 build
cvsdist 9c287a
cvsdist 9c287a
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
cvsdist 9c287a
- translations modified for de, fr, tr
cvsdist 9c287a
cvsdist 9c287a
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
cvsdist 9c287a
- added install-info support
cvsdist 9c287a
- added BuildRoot
cvsdist 9c287a
- correct URL in Source line
cvsdist 9c287a
cvsdist 9c287a
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
cvsdist 9c287a
- built against glibc