File solanum-pomodoro.spec of Package solanum-pomodoro
#
# spec file for package solanum
#
# 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/
#
%define lname org.gnome.Solanum
%define sname solanum
%define lurl efd4a4133c706af113ecbc0e9be18530
Name: solanum-pomodoro
Version: 6.0.0
Release: 0
Summary: A pomodoro timer for the GNOME desktop
License: GPL-3.0-or-later
URL: https://gitlab.gnome.org/World/Solanum
Source: https://gitlab.gnome.org/-/project/12672/uploads/%{lurl}/%{sname}-%{version}.tar.xz
BuildRequires: appstream-glib
BuildRequires: blueprint-compiler
BuildRequires: cargo-packaging
BuildRequires: desktop-file-utils
BuildRequires: meson
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gstreamer-player-1.0)
BuildRequires: pkgconfig(gstreamer-plugins-base-1.0)
%description
Solanum is a pomodoro timer for the GNOME desktop. It keeps you on track,
with frequent short breaks, and a long break after sessions of
productivity.
%lang_package
%prep
%autosetup -n %{sname}-%{version}
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{sname}
%files
%license LICENSE*
%doc README*
%{_bindir}/%{sname}
%{_datadir}/%{sname}/
%{_datadir}/applications/%{lname}.desktop
%{_datadir}/icons/hicolor/*/*/%{lname}*svg
%{_datadir}/glib-2.0/schemas/%{lname}.gschema.xml
%{_datadir}/metainfo/%{lname}.metainfo.xml
%files lang -f %{sname}.lang
%changelog