File spnavcfg.spec of Package spnavcfg
#
# spec file for package spnavcfg
#
# Copyright (c) 2022 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: spnavcfg
Version: 1.3
Release: 0
Summary: Spacenav daemon interactive configuration program
Group: Hardware/Other
License: GPL-3.0-or-later
Url: https://github.com/FreeSpacenav/%{name}
Source: https://github.com/FreeSpacenav/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: pkgconfig
BuildRequires: cmake(Qt6Core)
BuildRequires: cmake(Qt6Gui)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: pkgconfig(spnav) >= 1.0
Requires: spacenavd >= 1.0
%description
Spacenav daemon interactive configuration program.
%prep
%autosetup -n spnavcfg-%{version}
%build
%configure --disable-debug --qt6
# %%make_build src/ui.moc.o # work around Makefile glitch
%make_build
strip spnavcfg
%install
%make_install
%files
%defattr(-,root,root)
%license COPYING
%doc README.md
%{_bindir}/spnavcfg
%{_datadir}/applications/spnavcfg.desktop
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/*x*
%dir %{_datadir}/icons/hicolor/*x*/apps
%{_datadir}/icons/hicolor/*x*/apps/spnavcfg.png
%changelog