File salatok.spec of Package salatok

#
# spec file for package salatok
#
# 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 appid io.github.adenlall.salatok-gtk
Name:           salatok
Version:        1.4.16
Release:        0
Summary:        Muslim salat times and Quran reader
License:        GPL-2.0-only
URL:            https://github.com/adenlall/salatok-gtk
Source:         %{url}/archive/v%{version}/%{name}-gtk-%{version}.tar.gz
BuildRequires:  appstream-glib
BuildRequires:  desktop-file-utils
BuildRequires:  fdupes
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 0.9.5
BuildRequires:  pkgconfig(libadwaita-1)
BuildRequires:  pkgconfig(gjs-1.0)
BuildRequires:  pkgconfig(gtk4)
BuildRequires:  pkgconfig(gstreamer-player-1.0)
BuildRequires:  pkgconfig(gstreamer-1.0)
BuildRequires:  pkgconfig(gstreamer-pbutils-1.0)
BuildArch:      noarch

%description
Simple application muslim prayer times with many features:
 * Salat times without any need for internet connection
 * highly customizable Salat calculation methods and adjustments
 * Holy Quran integration
 * Listen to Quran from long list of reciters

%prep
%autosetup -n %{name}-gtk-%{version}

%build
%meson
%meson_build

%install
%meson_install

%fdupes %{buildroot}%{_datadir}/icons

%check

%files
%license COPYING
%doc README.md
%{_bindir}/%{appid}
%{_datadir}/applications/%{appid}.desktop
%{_datadir}/glib-2.0/schemas/%{appid}.gschema.xml
%{_datadir}/icons/hicolor/{scalable,symbolic}/apps/%{appid}.svg
%{_datadir}/metainfo/%{appid}.appdata.xml
%{_datadir}/dbus-1/services/%{appid}.service
%{_datadir}/%{appid}

%changelog
openSUSE Build Service is sponsored by