2007-02-05 16:38:49 +00:00
|
|
|
Summary: The GNU line editor
|
2004-09-09 04:26:24 +00:00
|
|
|
Name: ed
|
2017-11-09 13:14:22 +00:00
|
|
|
Version: 1.14.2
|
2022-03-18 19:31:20 +00:00
|
|
|
Release: %autorelease
|
2018-10-09 09:50:03 +00:00
|
|
|
License: GPLv3+ and GFDL
|
2017-01-13 11:44:30 +00:00
|
|
|
# Note: Upstream provides only lzip compressed tarballs which
|
|
|
|
# koji can't handle. Repackaging required:
|
2017-11-09 13:14:22 +00:00
|
|
|
#Source: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz
|
|
|
|
Source: %{name}-%{version}.tar.xz
|
2007-02-05 16:38:49 +00:00
|
|
|
URL: http://www.gnu.org/software/ed/
|
2018-02-21 09:04:07 +00:00
|
|
|
BuildRequires: gcc
|
2020-12-17 04:55:08 +00:00
|
|
|
BuildRequires: make
|
2017-11-09 13:30:42 +00:00
|
|
|
Requires(post): info
|
|
|
|
Requires(preun): info
|
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
|
|
|
|
|
|
|
|
%build
|
2017-11-09 13:22:41 +00:00
|
|
|
%configure
|
2017-11-09 13:23:44 +00:00
|
|
|
%make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
|
2004-09-09 04:26:24 +00:00
|
|
|
|
|
|
|
%install
|
2017-11-09 13:22:41 +00:00
|
|
|
%make_install
|
2017-11-09 13:30:42 +00:00
|
|
|
rm -vrf %{buildroot}%{_infodir}/dir
|
2004-09-09 04:26:24 +00:00
|
|
|
|
|
|
|
%files
|
2017-02-02 00:49:13 +00:00
|
|
|
%license COPYING
|
|
|
|
%doc ChangeLog NEWS README TODO AUTHORS
|
2017-11-09 13:22:41 +00:00
|
|
|
%{_bindir}/ed
|
|
|
|
%{_bindir}/red
|
|
|
|
%{_mandir}/man1/ed.1*
|
|
|
|
%{_mandir}/man1/red.1*
|
2017-11-09 13:30:42 +00:00
|
|
|
%{_infodir}/ed.info*
|
2004-09-09 04:26:24 +00:00
|
|
|
|
|
|
|
%changelog
|
2022-03-18 19:31:20 +00:00
|
|
|
%autochangelog
|