File flatseal.spec of Package flatseal

#
# spec file for package flatseal
#
# Copyright (c) 2021 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/
#


Name:           flatseal
Version:        2.3.0
Release:        0
Summary:        Manage Flatpak permissions
License:        GPL-3.0-or-later
URL:            https://github.com/tchx84/flatseal
Source:         %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires:  meson
BuildRequires:  desktop-file-utils
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(gjs-1.0)
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libadwaita-1)
BuildRequires:  pkgconfig(webkitgtk-6.0)
BuildArch:      noarch

%description
Flatseal is a graphical utility to review and modify permissions from your Flatpak applications.

%lang_package

%prep
%autosetup -n Flatseal-%{version} -p1

%build
%meson
%meson_build

%install
%meson_install
%find_lang %{name}

%files
%license COPYING
%doc README.md CHANGELOG.md DOCUMENTATION.md
%{_bindir}/com.github.tchx84.Flatseal
%{_datadir}/appdata/com.github.tchx84.Flatseal.appdata.xml
%{_datadir}/glib-2.0/schemas/com.github.tchx84.Flatseal.gschema.xml
%{_datadir}/applications/com.github.tchx84.Flatseal.desktop
%{_datadir}/%{name}/
%{_datadir}/%{name}/com.github.tchx84.Flatseal.data.gresource
%{_datadir}/%{name}/com.github.tchx84.Flatseal.src.gresource
%{_datadir}/icons/hicolor/*/*/*.svg

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by