44 lines
1.1 KiB
RPMSpec
44 lines
1.1 KiB
RPMSpec
Name: xkill
|
|
Version: 1.0.7
|
|
Release: %autorelease
|
|
Summary: Utility to force-close an X client's connection
|
|
|
|
License: MIT-open-group
|
|
URL: https://www.x.org
|
|
Source0: https://www.x.org/pub/individual/app/%{name}-%{version}.tar.xz
|
|
Source1: https://www.x.org/pub/individual/app/%{name}-%{version}.tar.xz.sig
|
|
Source2: gpgkey-3AB285232C46AE43D8E192F4DAB0F78EA6E7E2D2.gpg
|
|
|
|
BuildRequires: gcc
|
|
BuildRequires: gpgverify
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xmuu)
|
|
BuildRequires: pkgconfig(xproto) >= 7.0.22
|
|
|
|
%description
|
|
xkill is a utility for forcing the X server to close connections to
|
|
clients. This program is very dangerous, but is useful for aborting
|
|
programs that have displayed undesired windows on a user's screen.
|
|
|
|
%prep
|
|
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
|
|
%autosetup
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
%files
|
|
%license COPYING
|
|
%{_bindir}/%{name}
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
%changelog
|
|
%autochangelog
|