|
|
|
@ -1,42 +1,78 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.5)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 5;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
Summary: The GNU line editor
|
|
|
|
|
Name: ed
|
|
|
|
|
Version: 1.14.2
|
|
|
|
|
Release: 12%{?dist}
|
|
|
|
|
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/
|
|
|
|
|
Version: 1.20
|
|
|
|
|
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
|
|
|
|
|
Requires(post): info
|
|
|
|
|
Requires(preun): info
|
|
|
|
|
%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).
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
|
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
|
|
|
|
|
%setup -q
|
|
|
|
|
%{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
|
|
|
|
|
%configure
|
|
|
|
|
%make_build CFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
|
|
|
|
|
%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 ChangeLog NEWS README TODO AUTHORS
|
|
|
|
|
%license COPYING doc/fdl.texi
|
|
|
|
|
%doc ChangeLog NEWS README AUTHORS
|
|
|
|
|
%{_bindir}/ed
|
|
|
|
|
%{_bindir}/red
|
|
|
|
|
%{_mandir}/man1/ed.1*
|
|
|
|
@ -44,12 +80,57 @@ rm -vrf %{buildroot}%{_infodir}/dir
|
|
|
|
|
%{_infodir}/ed.info*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.14.2-12
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.20-5
|
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
|
|
|
|
|
|
* Thu Oct 24 2024 Frantisek Sumsal <fsumsal@redhat.com> - 1.20-4
|
|
|
|
|
- Add gating configuration for C10S/RHEL10
|
|
|
|
|
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.20-3
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.20-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 1.20-1
|
|
|
|
|
- Update to 1.20 - Closes rhbz#2259352
|
|
|
|
|
|
|
|
|
|
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.14.2-11
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Dec 22 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.19-5
|
|
|
|
|
- Avoid lzip dependency in RHEL builds
|
|
|
|
|
|
|
|
|
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Apr 24 2023 Lukáš Zaoral <lzaoral@redhat.com> - 1.19-3
|
|
|
|
|
- migrate to SPDX license format
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 12 2023 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 1.19-1
|
|
|
|
|
- Update to 1.19 - Closes rhbz#2160522
|
|
|
|
|
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu May 05 2022 Mikel Olasagasti Uranga <mikel@olasagasti.info> - 1.18-1
|
|
|
|
|
- Update to 1.18 - Closes rhbz#1805337
|
|
|
|
|
- Swich homepage to https
|
|
|
|
|
- Use upstream lzip file, koji can handle it with the correct BuildRequire
|
|
|
|
|
- Check gpg signature
|
|
|
|
|
- Add check section
|
|
|
|
|
- Convert to rpmautospec
|
|
|
|
|
- Change from GPLv3+ to GPLv2
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.2-12
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.2-11
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.14.2-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
@ -257,10 +338,10 @@ rm -vrf %{buildroot}%{_infodir}/dir
|
|
|
|
|
- Fix build with current toolchain
|
|
|
|
|
|
|
|
|
|
* Wed Apr 03 2002 Karsten Hopp <karsten@redhat.de>
|
|
|
|
|
- don't use gcc -s
|
|
|
|
|
- don't use gcc -s
|
|
|
|
|
|
|
|
|
|
* Fri Feb 22 2002 Karsten Hopp <karsten@redhat.de>
|
|
|
|
|
- bump version
|
|
|
|
|
- bump version
|
|
|
|
|
|
|
|
|
|
* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
|
|
|
|
|
- automated rebuild
|
|
|
|
@ -301,7 +382,7 @@ rm -vrf %{buildroot}%{_infodir}/dir
|
|
|
|
|
* Tue Mar 23 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
|
- fix %%post syntax error (#1689).
|
|
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
|
- auto rebuild in the new build environment (release 11)
|
|
|
|
|
|
|
|
|
|
* Wed Feb 24 1999 Preston Brown <pbrown@redhat.com>
|
|
|
|
@ -320,3 +401,5 @@ rm -vrf %{buildroot}%{_infodir}/dir
|
|
|
|
|
|
|
|
|
|
* Mon Jun 02 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
|
- built against glibc
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|