OBS-URL: https://build.opensuse.org/package/show/editors/THE?expand=0&rev=32
82 lines
2.3 KiB
RPMSpec
82 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package THE
|
|
#
|
|
# Copyright (c) 2023 SUSE LLC
|
|
#
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: THE
|
|
Version: 4.0
|
|
Release: 0
|
|
Summary: The Hessling Editor (z/VM-CMS xedit clone)
|
|
# getch.c and getch.h state that
|
|
# Permission is hereby granted to copy, distribute or otherwise
|
|
# use any part of this package as long as you do not try to make
|
|
# money from it or pretend that you wrote it.
|
|
# see boo#982229
|
|
License: GFDL-1.1-only AND GPL-2.0-or-later AND SUSE-Freeware
|
|
URL: https://hessling-editor.sourceforge.net/
|
|
Source0: https://sourceforge.net/projects/hessling-editor/files/hessling-editor/%{version}/the-%{version}.tar.gz
|
|
Source1: %{name}-rpmlintrc
|
|
BuildRequires: distribution-release
|
|
BuildRequires: flex
|
|
BuildRequires: lsb-release
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(ncurses)
|
|
BuildRequires: pkgconfig(ooRexx)
|
|
|
|
%description
|
|
THE is a text editor that uses both command line commands and key bindings
|
|
to operate. It is intended to be similar to the z/VM-CMS system editor,
|
|
XEDIT, and to Mansfield Software's, KEDIT
|
|
|
|
%package doc
|
|
Summary: The Hessling Editor (z/VM-CMS xedit clone)
|
|
BuildArch: noarch
|
|
|
|
%description doc
|
|
This package contains the documentation for the THE (The Hessling Editor)
|
|
package.
|
|
|
|
%prep
|
|
%autosetup -n the-%{version}
|
|
|
|
%build
|
|
%configure \
|
|
--with-curses=ncurses \
|
|
--with-rexx=oorexx
|
|
PATH=${PATH}:$(pwd)
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
# Do not ship backup file
|
|
rm -rf doc/THE_Help_head.bak
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc FAQ README TODO HISTORY
|
|
%{_bindir}/the
|
|
%{_bindir}/the-con
|
|
%{_datadir}/the/
|
|
%{_mandir}/man1/the.1%{?ext_man}
|
|
|
|
%files doc
|
|
%defattr(644,root,root)
|
|
%doc app*.htm*
|
|
%doc appendix.*
|
|
%doc doc/*
|
|
|
|
%changelog
|