File iwqt.spec of Package iwqt

#
# spec file for package iwqt
#
# Copyright (c) 2025 SUSE LLC and contributors
#
# 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:           iwqt
Version:        0.03
Release:        0
Summary:        Qt based GUI applet for iwd (iNet Wireless Daemon)
License:        GPL-3.0-or-later
URL:            https://github.com/FinGu/iwqt
Source0:        %{name}-%{version}.tar.xz
Patch0:         iwqt.desktop.patch

BuildRequires:  cmake
BuildRequires:  meson

BuildRequires:  cmake(Qt6Core)
BuildRequires:  cmake(Qt6Gui)
BuildRequires:  cmake(Qt6Svg)
BuildRequires:  cmake(Qt6Widgets)

BuildRequires:  sdbus-cpp-devel

Requires:       iwd

%description
%{summary}.

%prep
%autosetup

%build
%meson

%meson_build

%install
%meson_install

%files
%license LICENSE
%doc README.md
%{_bindir}/iwqt
%{_datadir}/applications/iwqt.desktop
%dir %{_datadir}/iwqt/
%{_datadir}/iwqt/icon.svg

%changelog
openSUSE Build Service is sponsored by