cvsdist 9c287a1
Summary: The GNU line editor.
cvsdist 9c287a1
Name: ed
cvsdist 9c287a1
Version: 0.2
f6ad279
Release: 38
cvsdist 4c6f268
License: GPL
296d7cc
Group:	Applications/Text
296d7cc
Source: ftp://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.gz
296d7cc
URL: 	http://www.gnu.org/software/ed/
cvsdist 050d439
Patch0: ed-mkstemp.patch
cvsdist 4fc65de
Patch1: ed-0.2-autoconf253.patch
cvsdist d7c5b46
Patch2: ed-0.2-regex.patch
cvsdist 9c287a1
Prereq: /sbin/install-info
cvsdist 9c287a1
Buildroot: %{_tmppath}/%{name}-root
cvsdist d7c5b46
BuildRequires: autoconf
cvsdist 9c287a1
cvsdist 9c287a1
%description
cvsdist 9c287a1
Ed is a line-oriented text editor, used to create, display, and modify
cvsdist 9c287a1
text files (both interactively and via shell scripts).  For most
cvsdist 9c287a1
purposes, ed has been replaced in normal usage by full-screen editors
cvsdist 9c287a1
(emacs and vi, for example).
cvsdist 9c287a1
cvsdist 9c287a1
Ed was the original UNIX editor, and may be used by some programs.  In
cvsdist 9c287a1
general, however, you probably don't need to install it and you probably
cvsdist 9c287a1
won't use it.
cvsdist 9c287a1
cvsdist 9c287a1
%prep
cvsdist 9c287a1
%setup -q
cvsdist 050d439
%patch0 -p1
cvsdist 4fc65de
%patch1 -p1 -b .ac
cvsdist d7c5b46
%patch2 -p1 -b .regex
cvsdist d7c5b46
rm -f stamp-h.in
cvsdist 9c287a1
cvsdist 9c287a1
%build
cvsdist 9c287a1
chmod 755 configure
cvsdist 9c287a1
autoconf
cvsdist 9c287a1
%configure --exec-prefix=/
cvsdist d7c5b46
make %{?_smp_mflags}
cvsdist 9c287a1
cvsdist 9c287a1
%install
cvsdist 9c287a1
%makeinstall bindir=$RPM_BUILD_ROOT/bin \
cvsdist 9c287a1
	mandir=$RPM_BUILD_ROOT%{_mandir}/man1
cvsdist 9c287a1
cvsdist 9c287a1
gzip -9qnf  $RPM_BUILD_ROOT%{_infodir}/*
cvsdist 9c287a1
cvsdist 9c287a1
%post
cvsdist 9c287a1
/sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed).                  The GNU Line Editor."
cvsdist 9c287a1
cvsdist 9c287a1
%preun
cvsdist 9c287a1
if [ $1 = 0 ] ; then
cvsdist 9c287a1
  /sbin/install-info --delete %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed).                  The GNU Line Editor."
cvsdist 9c287a1
fi
cvsdist 9c287a1
cvsdist 9c287a1
%clean
cvsdist 9c287a1
rm -rf $RPM_BUILD_ROOT
cvsdist 9c287a1
cvsdist 9c287a1
%files
cvsdist 9c287a1
%defattr(-,root,root)
296d7cc
%doc ChangeLog NEWS POSIX README THANKS TODO
cvsdist 9c287a1
/bin/*
cvsdist 9c287a1
%{_infodir}/ed.info.gz
cvsdist 9c287a1
%{_mandir}/*/*
cvsdist 9c287a1
cvsdist 9c287a1
%changelog
f6ad279
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 0.2-38
f6ad279
- build with gcc-4
f6ad279
296d7cc
* Mon Jan 03 2005 Karsten Hopp <karsten@redhat.de> 0.2-37
296d7cc
- spec file fix from Marcin Garski (#143723)
296d7cc
cvsdist 7c3c591
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 7c3c591
- rebuilt
cvsdist 7c3c591
cvsdist 7d2a75b
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 7d2a75b
- rebuilt
cvsdist 7d2a75b
cvsdist a31e81f
* Tue Jun 17 2003 Karsten Hopp <karsten@redhat.de> 0.2-34
cvsdist a31e81f
- rebuild
cvsdist a31e81f
cvsdist a31e81f
* Tue Jun 17 2003 Karsten Hopp <karsten@redhat.de> 0.2-33
cvsdist a31e81f
- rebuild to fix crt*.o problems
cvsdist a31e81f
cvsdist a31e81f
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist a31e81f
- rebuilt
cvsdist a31e81f
cvsdist d7c5b46
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist d7c5b46
- rebuilt
cvsdist d7c5b46
cvsdist d7c5b46
* Tue Dec 17 2002 Karsten Hopp <karsten@redhat.de>č
cvsdist d7c5b46
- remove regex, use glibc's regex (#79132)
cvsdist d7c5b46
cvsdist d7c5b46
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 0.2-29
cvsdist d7c5b46
- rebuild on all arches
cvsdist d7c5b46
cvsdist b72cbfa
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist b72cbfa
- automated rebuild
cvsdist b72cbfa
cvsdist 4fc65de
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 4fc65de
- automated rebuild
cvsdist 4fc65de
cvsdist 4fc65de
* Mon May  6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.2-26
cvsdist 4fc65de
- Fix build with current toolchain
cvsdist 4fc65de
cvsdist 59e2e0d
* Wed Apr 03 2002 Karsten Hopp <karsten@redhat.de>
cvsdist 59e2e0d
- don't use gcc -s 
cvsdist 59e2e0d
cvsdist dd39c72
* Fri Feb 22 2002 Karsten Hopp <karsten@redhat.de>
cvsdist dd39c72
- bump version 
cvsdist dd39c72
cvsdist dd39c72
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist dd39c72
- automated rebuild
cvsdist dd39c72
cvsdist dd39c72
* Mon Oct 15 2001 Karsten Hopp <karsten@redhat.de>
cvsdist dd39c72
- add home page (#54602)
cvsdist dd39c72
cvsdist 4c6f268
* Sat Jul 07 2001 Karsten Hopp <karsten@redhat.de>
cvsdist 4c6f268
- Copyright -> License
cvsdist 4c6f268
- fix URL
cvsdist 4c6f268
cvsdist 616dca2
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 616dca2
- Bump release + rebuild.
cvsdist 616dca2
cvsdist 050d439
* Mon Dec 04 2000 Karsten Hopp <karsten@redhat.de>
cvsdist 050d439
- back out fixes for compiler warnings
cvsdist 050d439
cvsdist 050d439
* Wed Nov 29 2000 Karsten Hopp <karsten@redhat.de>
cvsdist 050d439
- Security bugfix (mkstemp instead of mktemp) Bugzilla #21470
cvsdist 050d439
cvsdist 9c287a1
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist 9c287a1
- automatic rebuild
cvsdist 9c287a1
cvsdist 9c287a1
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
cvsdist 9c287a1
- fix typo
cvsdist 9c287a1
cvsdist 9c287a1
* Sat Jun 17 2000 Than Ngo <than@redhat.de>
cvsdist 9c287a1
- add %%defattr
cvsdist 9c287a1
- clean up specfile
cvsdist 9c287a1
cvsdist 9c287a1
* Sat May 20 2000 Ngo Than <than@redhat.de>
cvsdist 9c287a1
- rebuild for 7.0
cvsdist 9c287a1
- put man pages and infos in right place
cvsdist 9c287a1
cvsdist 9c287a1
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
cvsdist 9c287a1
- rebuild to gzip man pages.
cvsdist 9c287a1
cvsdist 9c287a1
* Tue Mar 23 1999 Jeff Johnson <jbj@redhat.com>
cvsdist 9c287a1
- fix %post syntax error (#1689).
cvsdist 9c287a1
cvsdist 9c287a1
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist 9c287a1
- auto rebuild in the new build environment (release 11)
cvsdist 9c287a1
cvsdist 9c287a1
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
cvsdist 9c287a1
- Injected new description and group.
cvsdist 9c287a1
cvsdist 9c287a1
* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
cvsdist 9c287a1
- bumped spec number for initial rh 6.0 build
cvsdist 9c287a1
cvsdist 9c287a1
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
cvsdist 9c287a1
- translations modified for de, fr, tr
cvsdist 9c287a1
cvsdist 9c287a1
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
cvsdist 9c287a1
- added install-info support
cvsdist 9c287a1
- added BuildRoot
cvsdist 9c287a1
- correct URL in Source line
cvsdist 9c287a1
cvsdist 9c287a1
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
cvsdist 9c287a1
- built against glibc