File junction.spec of Package Junction

#
# spec file for package Junction
#
# 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/
#


%define appname re.sonny.Junction
Name:           junction
Version:        1.8
Release:        0
Summary:        Application/browser chooser
License:        GPL-3.0-or-later
URL:            https://github.com/sonnyp/Junction
Source:         %{name}-%{version}.tar.zst
BuildRequires:  blueprint-compiler
BuildRequires:  meson
BuildRequires:  desktop-file-utils
BuildRequires:  pkgconfig(gjs-1.0)
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libadwaita-1)
BuildRequires:  typelib(GioUnix)
Provides:       troll
BuildArch:      noarch

%description
Junction lets you choose the application to open files and links.

#lang_package

%prep
%autosetup

%build
%meson
%meson_build

%install
%meson_install



#find_lang #{appname}

%check

%files
%license COPYING
%doc README.md
%{_bindir}/%{appname}
%{_datadir}/%{appname}
%{_datadir}/applications/%{appname}.desktop
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/metainfo/%{appname}.metainfo.xml
%{_datadir}/dbus-1/services/%{appname}.service
%{_datadir}/icons/*/*/*/%{appname}.svg
%{_datadir}/icons/*/*/*/%{appname}-symbolic.svg

#iles lang -f #{appname}.lang

%changelog
openSUSE Build Service is sponsored by