lookat 2.1.0rc1 OBS-URL: https://build.opensuse.org/request/show/1284269 OBS-URL: https://build.opensuse.org/package/show/utilities/lookat?expand=0&rev=3
62 lines
1.9 KiB
RPMSpec
62 lines
1.9 KiB
RPMSpec
#
|
|
# spec file for package lookat
|
|
#
|
|
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2012 Pascal Bleser <pascal.bleser@opensuse.org>
|
|
# Copyright (c) 2025 Andreas Stieger <Andreas.Stieger@gmx.de>
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
%define tarversion 2.1.0rc1
|
|
Name: lookat
|
|
Version: 2.1.0~rc1
|
|
Release: 0
|
|
Summary: User-Friendly Text File Viewer
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Text/Utilities
|
|
URL: https://www.wagemakers.be/english/programs/lookat
|
|
Source: https://download-mirror.savannah.gnu.org/releases/lookat/lookat_bekijk-%{tarversion}.tar.gz
|
|
BuildRequires: pkgconfig(ncurses)
|
|
|
|
%description
|
|
"lookat" is a program to view text files and manual pages. It is designed to be
|
|
more user-friendly than more conventional text viewers such as less.
|
|
|
|
%prep
|
|
%autosetup -p1 -n "lookat_bekijk-%{tarversion}"
|
|
|
|
%build
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%make_install
|
|
|
|
rm \
|
|
"%{buildroot}%{_bindir}/bekijk" \
|
|
"%{buildroot}%{_mandir}/man1/bekijk.1" \
|
|
"%{buildroot}%{_sysconfdir}/lookat.conf.default"
|
|
rm -rf \
|
|
"%{buildroot}%{_datadir}/doc/lookat"
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc AUTHORS ChangeLog README
|
|
%doc examples
|
|
%doc lookat.conf.default
|
|
%config(noreplace) %{_sysconfdir}/lookat.conf
|
|
%{_bindir}/lookat
|
|
%{_mandir}/man1/lookat.1%{?ext_man}
|
|
|
|
%changelog
|