File packet.spec of Package packet

#
# spec file for package packet
#
# Copyright (c) 2025 mantarimay
#
# 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:           packet
Version:        0.5.3
Release:        0
Summary:        A Quick Share client for Linux
License:        GPL-3.0-only
URL:            https://github.com/nozwock/packet
Source:         %{url}/releases/download/v%{version}/%{name}-%{version}.tar.xz
BuildRequires:  blueprint-compiler
BuildRequires:  cargo-packaging
BuildRequires:  desktop-file-utils
BuildRequires:  meson >= 1.0
BuildRequires:  protobuf-devel
BuildRequires:  pkgconfig(appstream-glib)
BuildRequires:  pkgconfig(dbus-1)
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libadwaita-1)

%description
A partial implementation of Google's Quick Share protocol that lets you
send and receive files wirelessly from Android devices using Quick Share,
or another device with Packet.

%lang_package

%prep
tar -xf %{SOURCE0}

%build
%meson
%meson_build

%install
%meson_install

%find_lang %{name}

%files
%doc README.md
%license LICENSE
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_datadir}/glib-2.0/schemas/*.xml
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/*/*.svg
%{_datadir}/metainfo/*.xml
%{_datadir}/dbus-1/services/*service

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by