Karsten Hopp 0e92d8
Summary: The GNU line editor
cvsdist 9c287a
Name: ed
Karsten Hopp fc7dcc
Version: 1.1
Jesse Keating a5ca0f
Release: 2%{?dist}
Tom Callaway c85fc6
License: GPLv3+
Karsten Hopp 0e92d8
Group:  Applications/Text
Karsten Hopp 1fc8d4
Source: ftp://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.bz2
Karsten Hopp 0e92d8
URL:    http://www.gnu.org/software/ed/
Karsten Hopp 0e92d8
Requires(post): /sbin/install-info
Karsten Hopp 0e92d8
Requires(preun): /sbin/install-info
Karsten Hopp 0e92d8
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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 d7c5b4
rm -f stamp-h.in
cvsdist 9c287a
cvsdist 9c287a
%build
cvsdist 9c287a
%configure --exec-prefix=/
Karsten Hopp 33fb6f
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" 
cvsdist 9c287a
cvsdist 9c287a
%install
Karsten Hopp 0e92d8
rm -rf $RPM_BUILD_ROOT
Karsten Hopp 1fc8d4
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
Karsten Hopp 0e92d8
make install DESTDIR=$RPM_BUILD_ROOT \
Karsten Hopp 0e92d8
    bindir=/bin mandir=%{_mandir}/man1
cvsdist 9c287a
Karsten Hopp e56425
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
cvsdist 9c287a
gzip -9qnf  $RPM_BUILD_ROOT%{_infodir}/*
Karsten Hopp 0e92d8
install -p -m0644 doc/ed.1 $RPM_BUILD_ROOT%{_mandir}/man1
cvsdist 9c287a
cvsdist 9c287a
%post
Karsten Hopp 673a19
/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
Karsten Hopp 673a19
  /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)
Karsten Hopp 1fc8d4
%doc ChangeLog NEWS README TODO AUTHORS COPYING
cvsdist 9c287a
/bin/*
cvsdist 9c287a
%{_infodir}/ed.info.gz
Karsten Hopp 0e92d8
%{_mandir}/*/*
cvsdist 9c287a
cvsdist 9c287a
%changelog
Jesse Keating a5ca0f
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
Jesse Keating a5ca0f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
Jesse Keating a5ca0f
Karsten Hopp fc7dcc
* Wed Oct 29 2008 Karsten Hopp <karsten@redhat.com> 1.1-1
Karsten Hopp fc7dcc
- update to lastest version, fixes CVE-2008-3916
Karsten Hopp fc7dcc
Karsten Hopp 83a014
* Tue Jun 24 2008 Karsten Hopp <karsten@redhat.com> 0.9-1
Karsten Hopp 83a014
- version 0.9
Karsten Hopp 83a014
Tom Callaway c85fc6
* Mon Mar 23 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.8-3
Tom Callaway c85fc6
- fix license tag
Tom Callaway c85fc6
Jesse Keating 510c99
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8-2
Jesse Keating 510c99
- Autorebuild for GCC 4.3
Jesse Keating 510c99
Karsten Hopp 9bf9fd
* Wed Aug 22 2007 Karsten Hopp <karsten@redhat.com> 0.8-1
Karsten Hopp 9bf9fd
- update to 0.8
Karsten Hopp 9bf9fd
Karsten Hopp 54501d
* Wed Aug 22 2007 Karsten Hopp <karsten@redhat.com> 0.7-2
Karsten Hopp 54501d
- update license tags
Karsten Hopp 54501d
Karsten Hopp 4c377a
* Mon Jul 23 2007 Karsten Hopp <karsten@redhat.com> 0.7-1
Karsten Hopp 4c377a
- update to 0.7 to fix an endless loop (#234689)
Karsten Hopp 4c377a
- add disttag
Karsten Hopp 4c377a
Karsten Hopp 4c377a
* Mon Jul 02 2007 Karsten Hopp <karsten@redhat.com> 0.6-1
Karsten Hopp 4c377a
- update to 0.6
Karsten Hopp 4c377a
Karsten Hopp 46a404
* Wed Mar 14 2007 Karsten Hopp <karsten@redhat.com> 0.5-1
Karsten Hopp 46a404
- version 0.5, fixes #228329
Karsten Hopp 46a404
Karsten Hopp 0e92d8
* Mon Feb 05 2007 Karsten Hopp <karsten@redhat.com> 0.4-3
Karsten Hopp 0e92d8
- clean up spec file for merge review (#225717)
Karsten Hopp 0e92d8
Karsten Hopp 33fb6f
* Wed Jan 31 2007 Karsten Hopp <karsten@redhat.com> 0.4-2
Karsten Hopp 33fb6f
- use RPM_OPT_FLAGS, this fixes debuginfo
Karsten Hopp 33fb6f
Karsten Hopp a3b5ee
* Tue Jan 23 2007 Karsten Hopp <karsten@redhat.com> 0.4-1
Karsten Hopp a3b5ee
- new upstream version
Karsten Hopp a3b5ee
Karsten Hopp 673a19
* Thu Jan 18 2007 Karsten Hopp <karsten@redhat.com> 0.3-3
Karsten Hopp 673a19
- don't abort (un)install scriptlets when _excludedocs is set (Ville Skyttä)
Karsten Hopp 673a19
Karsten Hopp 55afbd
* Thu Jan 18 2007 Karsten Hopp <karsten@redhat.com> 0.3-2
Karsten Hopp 55afbd
- fix man page permissions (#222581)
Karsten Hopp 55afbd
Karsten Hopp 1fc8d4
* Mon Nov 13 2006 Karsten Hopp <karsten@redhat.com> 0.3-1
Karsten Hopp 1fc8d4
- update to ed-0.3
Karsten Hopp 1fc8d4
Jesse Keating 44237b
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.2-38.2.2
Jesse Keating 44237b
- rebuild
Jesse Keating 44237b
Jesse Keating 04c9f9
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.2-38.2.1
Jesse Keating 04c9f9
- bump again for double-long bug on ppc(64)
Jesse Keating 04c9f9
Jesse Keating 9bab23
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.2-38.2
Jesse Keating 9bab23
- rebuilt for new gcc4.1 snapshot and glibc changes
Jesse Keating 9bab23
Jesse Keating 126d2c
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
Jesse Keating 126d2c
- rebuilt
Jesse Keating 126d2c
Karsten Hopp f6ad27
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 0.2-38
Karsten Hopp f6ad27
- build with gcc-4
Karsten Hopp f6ad27
Karsten Hopp 296d7c
* Mon Jan 03 2005 Karsten Hopp <karsten@redhat.de> 0.2-37
Karsten Hopp 296d7c
- spec file fix from Marcin Garski (#143723)
Karsten Hopp 296d7c
cvsdist 7c3c59
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 7c3c59
- rebuilt
cvsdist 7c3c59
cvsdist 7d2a75
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 7d2a75
- rebuilt
cvsdist 7d2a75
cvsdist a31e81
* Tue Jun 17 2003 Karsten Hopp <karsten@redhat.de> 0.2-34
cvsdist a31e81
- rebuild
cvsdist a31e81
cvsdist a31e81
* Tue Jun 17 2003 Karsten Hopp <karsten@redhat.de> 0.2-33
cvsdist a31e81
- rebuild to fix crt*.o problems
cvsdist a31e81
cvsdist a31e81
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist a31e81
- rebuilt
cvsdist a31e81
cvsdist d7c5b4
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist d7c5b4
- rebuilt
cvsdist d7c5b4
cvsdist d7c5b4
* Tue Dec 17 2002 Karsten Hopp <karsten@redhat.de>č
cvsdist d7c5b4
- remove regex, use glibc's regex (#79132)
cvsdist d7c5b4
cvsdist d7c5b4
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 0.2-29
cvsdist d7c5b4
- rebuild on all arches
cvsdist d7c5b4
cvsdist b72cbf
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist b72cbf
- automated rebuild
cvsdist b72cbf
cvsdist 4fc65d
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 4fc65d
- automated rebuild
cvsdist 4fc65d
cvsdist 4fc65d
* Mon May  6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.2-26
cvsdist 4fc65d
- Fix build with current toolchain
cvsdist 4fc65d
cvsdist 59e2e0
* Wed Apr 03 2002 Karsten Hopp <karsten@redhat.de>
cvsdist 59e2e0
- don't use gcc -s 
cvsdist 59e2e0
cvsdist dd39c7
* Fri Feb 22 2002 Karsten Hopp <karsten@redhat.de>
cvsdist dd39c7
- bump version 
cvsdist dd39c7
cvsdist dd39c7
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
cvsdist dd39c7
- automated rebuild
cvsdist dd39c7
cvsdist dd39c7
* Mon Oct 15 2001 Karsten Hopp <karsten@redhat.de>
cvsdist dd39c7
- add home page (#54602)
cvsdist dd39c7
cvsdist 4c6f26
* Sat Jul 07 2001 Karsten Hopp <karsten@redhat.de>
cvsdist 4c6f26
- Copyright -> License
cvsdist 4c6f26
- fix URL
cvsdist 4c6f26
cvsdist 616dca
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
cvsdist 616dca
- Bump release + rebuild.
cvsdist 616dca
cvsdist 050d43
* Mon Dec 04 2000 Karsten Hopp <karsten@redhat.de>
cvsdist 050d43
- back out fixes for compiler warnings
cvsdist 050d43
cvsdist 050d43
* Wed Nov 29 2000 Karsten Hopp <karsten@redhat.de>
cvsdist 050d43
- Security bugfix (mkstemp instead of mktemp) Bugzilla #21470
cvsdist 050d43
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>
Karsten Hopp 0e92d8
- 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