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