2004-09-09 04:26:24 +00:00
|
|
|
Summary: The GNU line editor.
|
|
|
|
Name: ed
|
2007-01-23 14:55:04 +00:00
|
|
|
Version: 0.4
|
2007-01-31 11:14:40 +00:00
|
|
|
Release: 2
|
2004-09-09 04:26:50 +00:00
|
|
|
License: GPL
|
2005-01-03 09:58:50 +00:00
|
|
|
Group: Applications/Text
|
2006-11-13 12:37:23 +00:00
|
|
|
Source: ftp://ftp.gnu.org/gnu/ed/%{name}-%{version}.tar.bz2
|
2005-01-03 09:58:50 +00:00
|
|
|
URL: http://www.gnu.org/software/ed/
|
2004-09-09 04:26:24 +00:00
|
|
|
Prereq: /sbin/install-info
|
|
|
|
Buildroot: %{_tmppath}/%{name}-root
|
2004-09-09 04:28:47 +00:00
|
|
|
BuildRequires: autoconf
|
2004-09-09 04:26:24 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Ed is a line-oriented text editor, used to create, display, and modify
|
|
|
|
text files (both interactively and via shell scripts). For most
|
|
|
|
purposes, ed has been replaced in normal usage by full-screen editors
|
|
|
|
(emacs and vi, for example).
|
|
|
|
|
|
|
|
Ed was the original UNIX editor, and may be used by some programs. In
|
|
|
|
general, however, you probably don't need to install it and you probably
|
|
|
|
won't use it.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2004-09-09 04:28:47 +00:00
|
|
|
rm -f stamp-h.in
|
2004-09-09 04:26:24 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --exec-prefix=/
|
2007-01-31 11:14:40 +00:00
|
|
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
2004-09-09 04:26:24 +00:00
|
|
|
|
|
|
|
%install
|
2006-11-13 12:37:23 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
2004-09-09 04:26:24 +00:00
|
|
|
%makeinstall bindir=$RPM_BUILD_ROOT/bin \
|
|
|
|
mandir=$RPM_BUILD_ROOT%{_mandir}/man1
|
|
|
|
|
2006-11-13 12:42:31 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_infodir}/dir*
|
2004-09-09 04:26:24 +00:00
|
|
|
gzip -9qnf $RPM_BUILD_ROOT%{_infodir}/*
|
2006-11-13 12:37:23 +00:00
|
|
|
install doc/ed.1 $RPM_BUILD_ROOT%{_mandir}/man1
|
2004-09-09 04:26:24 +00:00
|
|
|
|
|
|
|
%post
|
2007-01-18 14:45:36 +00:00
|
|
|
/sbin/install-info %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor." || :
|
2004-09-09 04:26:24 +00:00
|
|
|
|
|
|
|
%preun
|
|
|
|
if [ $1 = 0 ] ; then
|
2007-01-18 14:45:36 +00:00
|
|
|
/sbin/install-info --delete %{_infodir}/ed.info.gz %{_infodir}/dir --entry="* ed: (ed). The GNU Line Editor." || :
|
2004-09-09 04:26:24 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2006-11-13 12:37:23 +00:00
|
|
|
%doc ChangeLog NEWS README TODO AUTHORS COPYING
|
2004-09-09 04:26:24 +00:00
|
|
|
/bin/*
|
|
|
|
%{_infodir}/ed.info.gz
|
2007-01-18 11:31:20 +00:00
|
|
|
%attr(0644,root,root) %{_mandir}/*/*
|
2004-09-09 04:26:24 +00:00
|
|
|
|
|
|
|
%changelog
|
2007-01-31 11:14:40 +00:00
|
|
|
* Wed Jan 31 2007 Karsten Hopp <karsten@redhat.com> 0.4-2
|
|
|
|
- use RPM_OPT_FLAGS, this fixes debuginfo
|
|
|
|
|
2007-01-23 14:55:04 +00:00
|
|
|
* Tue Jan 23 2007 Karsten Hopp <karsten@redhat.com> 0.4-1
|
|
|
|
- new upstream version
|
|
|
|
|
2007-01-18 14:45:36 +00:00
|
|
|
* Thu Jan 18 2007 Karsten Hopp <karsten@redhat.com> 0.3-3
|
|
|
|
- don't abort (un)install scriptlets when _excludedocs is set (Ville Skyttä)
|
|
|
|
|
2007-01-18 11:31:20 +00:00
|
|
|
* Thu Jan 18 2007 Karsten Hopp <karsten@redhat.com> 0.3-2
|
|
|
|
- fix man page permissions (#222581)
|
|
|
|
|
2006-11-13 12:37:23 +00:00
|
|
|
* Mon Nov 13 2006 Karsten Hopp <karsten@redhat.com> 0.3-1
|
|
|
|
- update to ed-0.3
|
|
|
|
|
2006-07-12 05:43:23 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.2-38.2.2
|
|
|
|
- rebuild
|
|
|
|
|
2006-02-11 02:32:58 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.2-38.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 11:27:49 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.2-38.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:40:17 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-02 10:48:45 +00:00
|
|
|
* Wed Mar 02 2005 Karsten Hopp <karsten@redhat.de> 0.2-38
|
|
|
|
- build with gcc-4
|
|
|
|
|
2005-01-03 09:58:50 +00:00
|
|
|
* Mon Jan 03 2005 Karsten Hopp <karsten@redhat.de> 0.2-37
|
|
|
|
- spec file fix from Marcin Garski (#143723)
|
|
|
|
|
2004-09-09 04:30:17 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 04:30:13 +00:00
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 04:29:48 +00:00
|
|
|
* Tue Jun 17 2003 Karsten Hopp <karsten@redhat.de> 0.2-34
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Tue Jun 17 2003 Karsten Hopp <karsten@redhat.de> 0.2-33
|
|
|
|
- rebuild to fix crt*.o problems
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 04:28:47 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Tue Dec 17 2002 Karsten Hopp <karsten@redhat.de>č
|
|
|
|
- remove regex, use glibc's regex (#79132)
|
|
|
|
|
|
|
|
* Thu Dec 12 2002 Tim Powers <timp@redhat.com> 0.2-29
|
|
|
|
- rebuild on all arches
|
|
|
|
|
2004-09-09 04:28:37 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 04:28:33 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Mon May 6 2002 Bernhard Rosenkraenzer <bero@redhat.com> 0.2-26
|
|
|
|
- Fix build with current toolchain
|
|
|
|
|
2004-09-09 04:28:16 +00:00
|
|
|
* Wed Apr 03 2002 Karsten Hopp <karsten@redhat.de>
|
|
|
|
- don't use gcc -s
|
|
|
|
|
2004-09-09 04:27:08 +00:00
|
|
|
* Fri Feb 22 2002 Karsten Hopp <karsten@redhat.de>
|
|
|
|
- bump version
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Mon Oct 15 2001 Karsten Hopp <karsten@redhat.de>
|
|
|
|
- add home page (#54602)
|
|
|
|
|
2004-09-09 04:26:50 +00:00
|
|
|
* Sat Jul 07 2001 Karsten Hopp <karsten@redhat.de>
|
|
|
|
- Copyright -> License
|
|
|
|
- fix URL
|
|
|
|
|
2004-09-09 04:26:46 +00:00
|
|
|
* Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- Bump release + rebuild.
|
|
|
|
|
2004-09-09 04:26:27 +00:00
|
|
|
* Mon Dec 04 2000 Karsten Hopp <karsten@redhat.de>
|
|
|
|
- back out fixes for compiler warnings
|
|
|
|
|
|
|
|
* Wed Nov 29 2000 Karsten Hopp <karsten@redhat.de>
|
|
|
|
- Security bugfix (mkstemp instead of mktemp) Bugzilla #21470
|
|
|
|
|
2004-09-09 04:26:24 +00:00
|
|
|
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
|
|
|
|
- fix typo
|
|
|
|
|
|
|
|
* Sat Jun 17 2000 Than Ngo <than@redhat.de>
|
|
|
|
- add %%defattr
|
|
|
|
- clean up specfile
|
|
|
|
|
|
|
|
* Sat May 20 2000 Ngo Than <than@redhat.de>
|
|
|
|
- rebuild for 7.0
|
|
|
|
- put man pages and infos in right place
|
|
|
|
|
|
|
|
* Thu Feb 03 2000 Preston Brown <pbrown@redhat.com>
|
|
|
|
- rebuild to gzip man pages.
|
|
|
|
|
|
|
|
* Tue Mar 23 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- fix %post syntax error (#1689).
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 11)
|
|
|
|
|
|
|
|
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
- Injected new description and group.
|
|
|
|
|
|
|
|
* Fri Dec 18 1998 Preston Brown <pbrown@redhat.com>
|
|
|
|
- bumped spec number for initial rh 6.0 build
|
|
|
|
|
|
|
|
* Mon Apr 27 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- added install-info support
|
|
|
|
- added BuildRoot
|
|
|
|
- correct URL in Source line
|
|
|
|
|
|
|
|
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|