File unclutter-xfixes.spec of Package unclutter-xfixes
#
# spec file for package unclutter-xfixes
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: unclutter-xfixes
Version: 1.5
Release: 0
Summary: A rewrite of unclutter using the x11-xfixes extension
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License: MIT
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: System/X11/Utilities
Url: https://github.com/Airblader/unclutter-xfixes
Source: %{name}-%{version}.tar.bz2
BuildRequires: libev-devel
BuildRequires: asciidoc
BuildRequires: libX11-devel
BuildRequires: libXi-devel
# because of the same of the old unclutter package
Conflicts: unclutter
%description
This is a rewrite of the popular tool unclutter, but using the x11-xfixes
extension. This means that this rewrite doesn't use fake windows or pointer
grabbing and hence causes less problems with window managers and/or applications.
%prep
%setup -q
%build
%make_build
%install
# use makefile default install cmd except licence one
install -Dm 0755 unclutter %{buildroot}%{_bindir}/unclutter
install -Dm 0644 man/unclutter-xfixes.1 %{buildroot}%{_mandir}/man1/unclutter.1
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license LICENSE
%doc README.md
%defattr(-,root,root)
%{_bindir}/unclutter
%{_mandir}/man1/unclutter.1%{?ext_man}
%changelog