File blanket.spec of Package blanket

#
# spec file for package blanket
#
# Copyright (c) 2025 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  _name  com.rafaelmardojai.Blanket
Name:           blanket
Version:        @SERVICE@
Release:        0
Summary:        Listen to different sounds
License:        GPL-3.0-or-later
Group:          Amusements/Toys/Other
URL:            https://github.com/rafaelmardojai/blanket
Source:         %{name}-%{version}.tar.xz
BuildRequires:  AppStream
BuildRequires:  blueprint-compiler
BuildRequires:  desktop-file-utils
BuildRequires:  glib2-tools
# Needed for typelib() - Requires.
BuildRequires:  gobject-introspection
BuildRequires:  meson
BuildRequires:  ninja
BuildRequires:  pkgconfig
BuildRequires:  python3
BuildRequires:  pkgconfig(libadwaita-1)
BuildRequires:  pkgconfig(gtk4)
Recommends:     %{name}-lang
BuildArch:      noarch

%description
Improve focus and increase your productivity by listening to different
sounds. Or allows you to fall asleep in a noisy environment.

%lang_package

%prep
%autosetup -p1

%build
%meson
%meson_build

%install
%meson_install

%find_lang %{name}

%files
%doc README.md
%{_bindir}/%{name}
%{_datadir}/applications/%{_name}.desktop
%{_datadir}/%{name}/
%{_datadir}/glib-2.0/schemas/%{_name}.gschema.xml
%{_datadir}/icons/hicolor/*/apps/%{_name}*.svg
%{_datadir}/metainfo/%{_name}.metainfo.xml
%license COPYING

%files lang -f %{name}.lang

%changelog
openSUSE Build Service is sponsored by