- Use %autosetup macro. Allows to eliminate the usage of deprecated %patchN OBS-URL: https://build.opensuse.org/request/show/1151804 OBS-URL: https://build.opensuse.org/package/show/Publishing/tkinfo?expand=0&rev=5
61 lines
1.6 KiB
RPMSpec
61 lines
1.6 KiB
RPMSpec
#
|
|
# spec file for package tkinfo
|
|
#
|
|
# Copyright (c) 2020 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: tkinfo
|
|
URL: http://math-www.uni-paderborn.de/~axel/tkinfo/
|
|
Version: 2.11
|
|
Release: 0
|
|
Summary: Viewer for info-files
|
|
License: SUSE-Public-Domain
|
|
Group: Productivity/Publishing/Texinfo
|
|
Source: %name-%version.tar.gz
|
|
Patch0: tkinfo.patch
|
|
Patch1: tkinfo-alias.patch
|
|
BuildArch: noarch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
TkInfo is a tk script to read GNU "info" files and display them. TkInfo
|
|
can be used stand-alone (via WISH) or embedded within an application to
|
|
provide integrated, online help.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Axel Boldt <boldt@math.ucsb.edu>
|
|
|
|
%prep
|
|
%autosetup -p0
|
|
|
|
%build
|
|
|
|
%install
|
|
mkdir -p %buildroot/usr/bin
|
|
install -m 755 tkinfo %buildroot/usr/bin
|
|
mkdir -p %buildroot%_mandir/man1
|
|
install -m 644 tkinfo.1 %buildroot%_mandir/man1
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc README
|
|
%doc %_mandir/*/*
|
|
/usr/bin/tkinfo
|
|
|
|
%changelog
|