Karsten Hopp 0e92d8
Summary: The GNU line editor
cvsdist 9c287a
Name: ed
Igor Gnatenko 2d292b
Version: 1.14.2
Mikel Olasagasti Uranga 719237
Release: %autorelease
Karsten Hopp 6b0ed7
License: GPLv3+ and GFDL
Karsten Hopp c9c064
# Note:  Upstream provides only lzip compressed tarballs which 
Karsten Hopp c9c064
# koji can't handle. Repackaging required:
Igor Gnatenko 2d292b
#Source: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz
Igor Gnatenko 2d292b
Source: %{name}-%{version}.tar.xz
Karsten Hopp 0e92d8
URL:    http://www.gnu.org/software/ed/
Karsten Hopp b0d170
BuildRequires: gcc
Tom Stellard 65e705
BuildRequires: make
Igor Gnatenko 189700
Requires(post): info
Igor Gnatenko 189700
Requires(preun): info
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 9c287a
cvsdist 9c287a
%build
Igor Gnatenko 442db9
%configure
Igor Gnatenko c18275
%make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
cvsdist 9c287a
cvsdist 9c287a
%install
Igor Gnatenko 442db9
%make_install
Igor Gnatenko 189700
rm -vrf %{buildroot}%{_infodir}/dir
cvsdist 9c287a
cvsdist 9c287a
%files
294cc9
%license COPYING
294cc9
%doc ChangeLog NEWS README TODO AUTHORS
Igor Gnatenko 442db9
%{_bindir}/ed
Igor Gnatenko 442db9
%{_bindir}/red
Igor Gnatenko 442db9
%{_mandir}/man1/ed.1*
Igor Gnatenko 442db9
%{_mandir}/man1/red.1*
Igor Gnatenko 189700
%{_infodir}/ed.info*
cvsdist 9c287a
cvsdist 9c287a
%changelog
Mikel Olasagasti Uranga 719237
%autochangelog