File forge-sparks.spec of Package forge-sparks

#
# spec file for package forge-sparks
#
# Copyright (c) 2024 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/
#


%define lname   com.mardojai.ForgeSparks
Name:           forge-sparks
Version:        0.2.0
Release:        0
Summary:        Get Git forges notifications
License:        MIT
URL:            https://github.com/rafaelmardojai/forge-sparks
Source:         %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires:  appstream-glib
BuildRequires:  blueprint-compiler
BuildRequires:  desktop-file-utils
BuildRequires:  hicolor-icon-theme
BuildRequires:  intltool
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(gjs-1.0)
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(libadwaita-1)
BuildRequires:  pkgconfig(libportal)
BuildRequires:  pkgconfig(libsecret-1)
BuildRequires:  pkgconfig(libsoup-3.0)
BuildRequires:  typelib(GioUnix)
Requires:       typelib(GioUnix)
Provides:       bundled(troll)

%description
Simple notifier app with support for Github, Gitea and Forgejo.

%lang_package

%prep
%autosetup

%build
%meson
%meson_build

%install
%meson_install

%find_lang %{lname}

%files
%license LICENSE*
%doc README*
%{_bindir}/%{name}
%dir %{_datadir}/%{lname}
%{_datadir}/%{lname}/%{lname}*
%{_datadir}/applications/%{lname}.desktop
%{_datadir}/icons/hicolor/*/*/%{lname}*
%{_datadir}/metainfo/%{lname}.metainfo.xml
%{_datadir}/glib-2.0/schemas/%{lname}.gschema.xml

%files lang -f %{lname}.lang

%changelog
openSUSE Build Service is sponsored by