2006-12-19 00:15:46 +01:00
|
|
|
#
|
2013-04-26 12:05:17 +02:00
|
|
|
# spec file for package ed
|
2006-12-19 00:15:46 +01:00
|
|
|
#
|
2023-01-18 11:00:35 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2024-01-22 15:11:09 +01:00
|
|
|
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
2006-12-19 00:15:46 +01:00
|
|
|
#
|
2008-10-23 04:30:00 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-01-04 07:20:56 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-19 00:15:46 +01:00
|
|
|
#
|
|
|
|
|
2013-04-26 12:05:17 +02:00
|
|
|
|
2006-12-19 00:15:46 +01:00
|
|
|
Name: ed
|
2024-01-22 15:11:09 +01:00
|
|
|
Version: 1.20
|
2013-04-26 12:05:17 +02:00
|
|
|
Release: 0
|
2019-01-04 14:40:04 +01:00
|
|
|
Summary: A line-oriented text editor
|
2019-01-04 07:20:56 +01:00
|
|
|
License: GPL-3.0-or-later AND LGPL-2.1-or-later
|
2017-01-09 08:14:51 +01:00
|
|
|
Group: Productivity/Text/Editors
|
2021-02-05 12:57:08 +01:00
|
|
|
URL: https://www.gnu.org/software/ed/
|
2022-03-21 08:08:30 +01:00
|
|
|
# This is just recompressed from https://ftp.gnu.org/gnu/ed/ed-%%{version}.tar.lz
|
2021-02-05 12:57:08 +01:00
|
|
|
# in order to avoid pulling lzip to ring0
|
2024-01-22 15:11:09 +01:00
|
|
|
Source0: ed-%{version}.tar.xz
|
2006-12-19 00:15:46 +01:00
|
|
|
|
|
|
|
%description
|
2013-04-26 10:36:15 +02:00
|
|
|
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.
|
2006-12-19 00:15:46 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-22 15:11:09 +01:00
|
|
|
%autosetup -p1
|
2006-12-19 00:15:46 +01:00
|
|
|
|
|
|
|
%build
|
2015-04-03 09:37:14 +02:00
|
|
|
%configure
|
2021-02-05 12:57:08 +01:00
|
|
|
%make_build CFLAGS="%{optflags}"
|
2006-12-19 00:15:46 +01:00
|
|
|
|
|
|
|
%install
|
2017-01-09 08:14:51 +01:00
|
|
|
%make_install
|
2006-12-19 00:15:46 +01:00
|
|
|
|
2009-12-04 10:03:29 +01:00
|
|
|
%check
|
2021-02-05 12:57:08 +01:00
|
|
|
%make_build check
|
2008-10-23 04:30:00 +02:00
|
|
|
|
2006-12-19 00:15:46 +01:00
|
|
|
%files
|
2019-01-07 09:50:11 +01:00
|
|
|
%license COPYING
|
2022-03-21 08:08:30 +01:00
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
2009-12-04 10:03:29 +01:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_bindir}/r%{name}
|
2019-01-07 09:50:11 +01:00
|
|
|
%{_infodir}/%{name}.info%{?ext_info}
|
|
|
|
%{_mandir}/man1/%{name}.1%{?ext_man}
|
|
|
|
%{_mandir}/man1/r%{name}.1%{?ext_man}
|
2006-12-19 00:15:46 +01:00
|
|
|
|
2008-10-23 04:30:00 +02:00
|
|
|
%changelog
|