Summary: A line-oriented text editor Name: ed Version: 1.19 Release: 1 License: GPLv3+ and GFDL-1.3 # Note: Upstream provides only lzip compressed tarballs so we repacked from: #Source: https://download.savannah.gnu.org/releases/ed/%{name}-%{version}.tar.lz Source: %{name}-%{version}.tar.lz URL: http://www.gnu.org/software/ed/ BuildRequires: gcc Requires(post): info Requires(preun): info %description GNU ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files, both interactively and via shell scripts. A restricted version of ed, red, can only edit files in the current directory and cannot execute shell commands. Ed is the "standard" text editor in the sense that it is the original editor for Unix, and thus widely available. For most purposes, however, it is superseded by full-screen editors such as GNU Emacs or GNU Moe. %package help Summary: Documents for ed Buildarch: noarch %description help Man pages and other related documents. %prep %setup -q %build %configure %make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}" %install %make_install rm -vrf %{buildroot}%{_infodir}/dir %post help /sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir || : %preun help if [ $1 = 0 ] ; then /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || : fi %files %license COPYING %{_bindir}/ed %{_bindir}/red %files help %doc ChangeLog NEWS README AUTHORS %{_mandir}/man1/ed.1* %{_mandir}/man1/red.1* %{_infodir}/ed.info* %changelog * Tue Jan 17 2023 dillon chen - 1.19-1 - update to 1.19 * Mon Jun 20 2022 dillon chen - 1.18-1 - update to 1.18 * Mon Feb 08 2021 shixuantng - 1.17-1 - upgrade version to 1.17 and upgrade GFDL license * Tue Jan 21 2020 openEuler Buildteam - 1.14.2-6 - resolve "rpm -ivh" err * Tue Sep 17 2019 openEuler Buildteam - 1.14.2-5 - Package init