c40515
Summary: The GNU line editor
c40515
Name: ed
c40515
Version: 1.9
4fa51a
Release: 4%{?dist}
c40515
License: GPLv3+, GFDL
c40515
Group:  Applications/Text
c40515
Source: ftp://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.gz
c40515
URL:    http://www.gnu.org/software/ed/
c40515
Requires(post): /sbin/install-info
c40515
Requires(preun): /sbin/install-info
c40515
c40515
%description
c40515
Ed is a line-oriented text editor, used to create, display, and modify
c40515
text files (both interactively and via shell scripts).  For most
c40515
purposes, ed has been replaced in normal usage by full-screen editors
c40515
(emacs and vi, for example).
c40515
c40515
Ed was the original UNIX editor, and may be used by some programs.  In
c40515
general, however, you probably don't need to install it and you probably
c40515
won't use it.
c40515
c40515
%prep
c40515
%setup -q
c40515
rm -f stamp-h.in
c40515
c40515
%build
c40515
%configure --exec-prefix=/
c40515
make %{?_smp_mflags} CFLAGS="%{optflags}" 
c40515
c40515
%install
c40515
rm -rf %{buildroot}
c40515
mkdir -p %{buildroot}/%{_mandir}/man1
c40515
make install DESTDIR=%{buildroot} \
c40515
    bindir=/bin mandir=%{_mandir}
c40515
c40515
rm -f %{buildroot}/%{_infodir}/dir*
c40515
gzip -9qnf  %{buildroot}/%{_infodir}/*
c40515
c40515
%post
c40515
/sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed).                  The GNU Line Editor." || :
c40515
c40515
%preun
c40515
if [ $1 = 0 ] ; then
c40515
  /sbin/install-info --delete %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed).                  The GNU Line Editor." || :
c40515
fi
c40515
c40515
%clean
c40515
c40515
%files
c40515
%defattr(-,root,root)
c40515
%doc ChangeLog NEWS README TODO AUTHORS COPYING
c40515
/bin/*
c40515
%{_infodir}/ed.info.gz
c40515
%{_mandir}/*/*
c40515
c40515
%changelog
4fa51a
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.9-4
4fa51a
- Mass rebuild 2014-01-24
4fa51a
4fa51a
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.9-3
4fa51a
- Mass rebuild 2013-12-27
4fa51a
c40515
* Wed Jul 31 2013 Karsten Hopp <karsten@redhat.com> 1.9-2
c40515
- add GFDL to licenses
c40515
c40515
* Tue Jul 23 2013 Karsten Hopp <karsten@redhat.com> 1.9-1
c40515
- update to ed-1.9
c40515
- fix changelog dates
c40515
c40515
* Tue May 14 2013 Karsten Hopp <karsten@redhat.com> 1.8-1
c40515
- update to ed-1.8
c40515
- spec file cleanups
c40515
c40515
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-3
c40515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c40515
c40515
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6-2
c40515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c40515
c40515
* Thu Mar 15 2012 Karsten Hopp <karsten@redhat.com> 1.6-1
c40515
- ed-1.6
c40515
c40515
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-3
c40515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c40515
c40515
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
c40515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c40515
c40515
* Mon Jan 24 2011 Karsten Hopp <karsten@redhat.com> 1.5-1
c40515
- update to version 1.5 (#630693)
c40515
c40515
* Tue Apr 20 2010 Karsten Hopp <karsten@redhat.com> 1.4-2
c40515
- drop duplicate man pages (#583178)
c40515
c40515
* Tue Mar 02 2010 Karsten Hopp <karsten@redhat.com> 1.4-1
c40515
- update to latest version
c40515
c40515
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-3
c40515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c40515
c40515
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-2
c40515
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c40515
c40515
* Wed Oct 29 2008 Karsten Hopp <karsten@redhat.com> 1.1-1
c40515
- update to latest version, fixes CVE-2008-3916
c40515
c40515
* Tue Jun 24 2008 Karsten Hopp <karsten@redhat.com> 0.9-1
c40515
- version 0.9
c40515
c40515
* Mon Mar 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.8-3
c40515
- fix license tag
c40515
c40515
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.8-2
c40515
- Autorebuild for GCC 4.3
c40515
c40515
* Wed Aug 22 2007 Karsten Hopp <karsten@redhat.com> 0.8-1
c40515
- update to 0.8
c40515
c40515
* Wed Aug 22 2007 Karsten Hopp <karsten@redhat.com> 0.7-2
c40515
- update license tags
c40515
c40515
* Mon Jul 23 2007 Karsten Hopp <karsten@redhat.com> 0.7-1
c40515
- update to 0.7 to fix an endless loop (#234689)
c40515
- add disttag
c40515
c40515
* Mon Jul 02 2007 Karsten Hopp <karsten@redhat.com> 0.6-1
c40515
- update to 0.6
c40515
c40515
* Wed Mar 14 2007 Karsten Hopp <karsten@redhat.com> 0.5-1
c40515
- version 0.5, fixes #228329
c40515
c40515
* Mon Feb 05 2007 Karsten Hopp <karsten@redhat.com> 0.4-3
c40515
- clean up spec file for merge review (#225717)
c40515
c40515
* Wed Jan 31 2007 Karsten Hopp <karsten@redhat.com> 0.4-2
c40515
- use RPM_OPT_FLAGS, this fixes debuginfo
c40515
c40515
* Tue Jan 23 2007 Karsten Hopp <karsten@redhat.com> 0.4-1
c40515
- new upstream version
c40515
c40515
* Thu Jan 18 2007 Karsten Hopp <karsten@redhat.com> 0.3-3
c40515
- don't abort (un)install scriptlets when _excludedocs is set (Ville Skyttä)
c40515
c40515
* Thu Jan 18 2007 Karsten Hopp <karsten@redhat.com> 0.3-2
c40515
- fix man page permissions (#222581)
c40515
c40515
* Mon Nov 13 2006 Karsten Hopp <karsten@redhat.com> 0.3-1
c40515
- update to ed-0.3
c40515
c40515
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.2-38.2.2
c40515
- rebuild
c40515
c40515
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.2-38.2.1
c40515
- bump again for double-long bug on ppc(64)
c40515
c40515
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.2-38.2
c40515
- rebuilt for new gcc4.1 snapshot and glibc changes
c40515
c40515
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
c40515
- rebuilt
c40515
c40515
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 0.2-38
c40515
- build with gcc-4
c40515
c40515
* Mon Jan 03 2005 Karsten Hopp <karsten@redhat.de> 0.2-37
c40515
- spec file fix from Marcin Garski (#143723)
c40515
c40515
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
c40515
- rebuilt
c40515
c40515
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
c40515
- rebuilt
c40515
c40515
* Tue Jun 17 2003 Karsten Hopp <karsten@redhat.de> 0.2-34
c40515
- rebuild
c40515
c40515
* Tue Jun 17 2003 Karsten Hopp <karsten@redhat.de> 0.2-33
c40515
- rebuild to fix crt*.o problems
c40515
c40515
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
c40515
- rebuilt
c40515
c40515
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
c40515
- rebuilt
c40515
c40515
* Tue Dec 17 2002 Karsten Hopp <karsten@redhat.de>č
c40515
- remove regex, use glibc's regex (#79132)
c40515
c40515
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 0.2-29
c40515
- rebuild on all arches
c40515
c40515
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
c40515
- automated rebuild
c40515
c40515
* Thu May 23 2002 Tim Powers <timp@redhat.com>
c40515
- automated rebuild
c40515
c40515
* Mon May  6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.2-26
c40515
- Fix build with current toolchain
c40515
c40515
* Wed Apr 03 2002 Karsten Hopp <karsten@redhat.de>
c40515
- don't use gcc -s 
c40515
c40515
* Fri Feb 22 2002 Karsten Hopp <karsten@redhat.de>
c40515
- bump version 
c40515
c40515
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
c40515
- automated rebuild
c40515
c40515
* Mon Oct 15 2001 Karsten Hopp <karsten@redhat.de>
c40515
- add home page (#54602)
c40515
c40515
* Sat Jul 07 2001 Karsten Hopp <karsten@redhat.de>
c40515
- Copyright -> License
c40515
- fix URL
c40515
c40515
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
c40515
- Bump release + rebuild.
c40515
c40515
* Mon Dec 04 2000 Karsten Hopp <karsten@redhat.de>
c40515
- back out fixes for compiler warnings
c40515
c40515
* Wed Nov 29 2000 Karsten Hopp <karsten@redhat.de>
c40515
- Security bugfix (mkstemp instead of mktemp) Bugzilla #21470
c40515
c40515
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
c40515
- automatic rebuild
c40515
c40515
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
c40515
- fix typo
c40515
c40515
* Sat Jun 17 2000 Than Ngo <than@redhat.de>
c40515
- add %%defattr
c40515
- clean up specfile
c40515
c40515
* Sat May 20 2000 Ngo Than <than@redhat.de>
c40515
- rebuild for 7.0
c40515
- put man pages and infos in right place
c40515
c40515
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
c40515
- rebuild to gzip man pages.
c40515
c40515
* Tue Mar 23 1999 Jeff Johnson <jbj@redhat.com>
c40515
- fix %%post syntax error (#1689).
c40515
c40515
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
c40515
- auto rebuild in the new build environment (release 11)
c40515
c40515
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
c40515
- Injected new description and group.
c40515
c40515
* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
c40515
- bumped spec number for initial rh 6.0 build
c40515
c40515
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
c40515
- translations modified for de, fr, tr
c40515
c40515
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
c40515
- added install-info support
c40515
- added BuildRoot
c40515
- correct URL in Source line
c40515
c40515
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
c40515
- built against glibc