| Name |
ed |
| Description |
The GNU line editor |
| Version |
1.21-2.fc42 |
| Package Base |
ed |
| Homepage |
https://www.gnu.org/software/ed/ |
| Maintainers |
['mikelo2'] |
| Contributors |
['mikelo2'] |
| Distro-repo |
https://src.fedoraproject.org/rpms/ed/tree/f42 |
| Sources |
['https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz', 'https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz.sig', 'https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8FE99503132D7742#./antoniodiazdiaz-keyring.asc'] |
| Dependencies |
['/usr/bin/sh', 'libc.so.6', 'rtld'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['gcc', 'gnupg2', 'lzip', 'make'] |
| Provides |
['ed', 'ed(x86-64)'] |
| Builddate |
16-01-2025 17:41:52 |
| Architecture |
x86_64 |
| Distro-Version |
42 |
| Licenses |
['GPL-2.0-only AND GFDL-1.3-no-invariants-or-later'] |
| Hash |
5a6eae5dc9e2074d5886df77041e9b9c5ebb989002d5fb43fb240375a8f3edc5 |
Summary: The GNU line editor
Name: ed
Version: 1.21
Release: %autorelease
# The entire source is GPLv2 except doc/ed.info and doc/ed.texi, which are GFDL
License: GPL-2.0-only AND GFDL-1.3-no-invariants-or-later
URL: https://www.gnu.org/software/ed/
Source0: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz
Source1: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz.sig
Source2: https://keyserver.ubuntu.com/pks/lookup?op=get&search=0x8FE99503132D7742#./antoniodiazdiaz-keyring.asc
BuildRequires: gcc
BuildRequires: make
%if 0%{?rhel}
BuildRequires: bsdtar
%else
BuildRequires: lzip
%endif
# for gpg verification
BuildRequires: gnupg2
%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).
%prep
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
%if 0%{?rhel}
# no lzip in RHEL; bsdtar can handle it but not from within %%setup.
%setup -q -c -T
bsdtar -xf %{SOURCE0} -C %{_builddir}
%else
%autosetup
%endif
%build
%set_build_flags
# Custom configure script; not Autoconf, so we do not use %%configure macro
./configure \
--prefix=%{_prefix} \
--exec-prefix=%{_exec_prefix} \
--bindir=%{_bindir} \
--datarootdir=%{_datadir} \
--infodir=%{_infodir} \
--mandir=%{_mandir} \
--program-prefix=%{?_program_prefix} \
CC="${CC-gcc}" \
CPPFLAGS="${CPPFLAGS}" \
CFLAGS="${CFLAGS}" \
LDFLAGS="${LDFLAGS}"
%make_build
%install
%make_install
rm -vrf %{buildroot}%{_infodir}/dir
%check
%make_build check
%files
%license COPYING doc/fdl.texi
%doc ChangeLog NEWS README AUTHORS
%{_bindir}/ed
%{_bindir}/red
%{_mandir}/man1/ed.1*
%{_mandir}/man1/red.1*
%{_infodir}/ed.info*
%changelog
%autochangelog