File drawterm.spec of Package drawterm
#
# spec file for package drawterm
#
# Copyright (c) 2022 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: drawterm
Version: 0+git.1768173903.8a88fb5
Release: 0
Summary: Program for connecting to Plan 9 CPU servers
Group: Productivity/Networking/Other
License: MIT
URL: http://drawterm.9front.org/
Source: %{name}-%{version}.tar.xz
Patch0: audio-fix.patch
BuildRequires: gcc-c++
BuildRequires: pipewire-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xt)
%description
This is a fork of Russ Cox’s drawterm, a program for connecting to Plan 9 CPU
servers. It incorporates features from Plan9front, most importantly DP9IK
authentication support and the TLS based rcpu protocol.
%prep
%autosetup -p1
%build
%make_build CONF=unix
%install
gzip "%{name}.1"
install -Dpm 755 "%{name}" "%{buildroot}%{_bindir}/%{name}"
install -Dpm 644 "%{name}.1%{?ext_man}" "%{buildroot}%{_mandir}/man1/%{name}.1%{?ext_man}"
%files
%license LICENSE
%doc README
%{_mandir}/man1/%{name}.1%{?ext_man}
%{_bindir}/%{name}
%changelog