File labwc-tweaks.spec of Package labwc-tweaks
#
# spec file for package labwc-tweaks
#
# Copyright (c) 2024 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/
#
%define _name labwc_tweaks
Name: labwc-tweaks
Version: @SERVICE@
Release: 0
Summary: GUI Configuration app for labwc
License: GPL-2.0-only AND BSD-3-Clause
Group: System/X11/Utilities
URL: https://github.com/labwc/labwc-tweaks
Source0: %{name}-%{version}.tar.xz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: hicolor-icon-theme
BuildRequires: pkgconfig
BuildRequires: cmake(Qt6LinguistTools)
BuildRequires: cmake(Qt6Widgets)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(libxml-2.0)
Requires: labwc
Recommends: %{name}-lang = %{version}-%{release}
%description
labwc-tweaks is a GUI configuration application for the labwc Wayland
compositor.
%lang_package
%prep
%autosetup -p1
%build
%cmake_qt6
%{qt6_build}
%install
%{qt6_install}
%find_lang %{name} --with-qt
%check
%ctest
%files
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{_name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{_name}.??g
%{_datadir}/metainfo/%{_name}.appdata.xml
%license LICENSE BSD-3-Clause
%files lang -f %{name}.lang
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/translations
%changelog