ed/ed.spec

48 lines
1.2 KiB
RPMSpec
Raw Normal View History

Summary: The GNU line editor
Name: ed
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:
#Source: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz
Source: %{name}-%{version}.tar.xz
URL: http://www.gnu.org/software/ed/
2018-02-21 09:04:07 +00:00
BuildRequires: gcc
BuildRequires: make
Requires(post): info
Requires(preun): info
%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
%configure
%make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
%install
%make_install
rm -vrf %{buildroot}%{_infodir}/dir
%files
2017-02-02 00:49:13 +00:00
%license COPYING
%doc ChangeLog NEWS README TODO AUTHORS
%{_bindir}/ed
%{_bindir}/red
%{_mandir}/man1/ed.1*
%{_mandir}/man1/red.1*
%{_infodir}/ed.info*
%changelog
2022-03-18 19:31:20 +00:00
%autochangelog