48 lines
1.2 KiB
RPMSpec
48 lines
1.2 KiB
RPMSpec
Summary: The GNU line editor
|
|
Name: ed
|
|
Version: 1.14.2
|
|
Release: %autorelease
|
|
License: GPLv3+ and GFDL
|
|
# 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/
|
|
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
|
|
%license COPYING
|
|
%doc ChangeLog NEWS README TODO AUTHORS
|
|
%{_bindir}/ed
|
|
%{_bindir}/red
|
|
%{_mandir}/man1/ed.1*
|
|
%{_mandir}/man1/red.1*
|
|
%{_infodir}/ed.info*
|
|
|
|
%changelog
|
|
%autochangelog
|