File komorebi.spec of Package komorebi

#
# spec file for package komorebi
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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.

%define skip_python2 1
%define skip_python310 1
%define skip_python311 1
%define skip_python312 1

%{?sle15_python_module_pythons}

Name:           komorebi
Version:        3.0.x
Release:        0
Summary:        A beautiful and customizable wallpapers manager for Linux
License:        GPL-3.0-only
Group:          Productivity/Multimedia/Other
URL:            https://github.com/Komorebi-Fork/komorebi
Source:         %{name}-%{version}.tar.xz
Patch0:	        001_%{name}_use_python313.patch
BuildRequires:  cmake
BuildRequires:  gcc-c++
BuildRequires:  meson
BuildRequires:  pkgconfig
BuildRequires:  vala
BuildRequires:  pkgconfig(clutter-1.0)
BuildRequires:  pkgconfig(clutter-gst-3.0)
BuildRequires:  pkgconfig(clutter-gtk-1.0)
BuildRequires:  pkgconfig(gee-0.8)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  webkit2gtk3-devel
BuildRequires:  pkgconfig(libgtop-2.0)
BuildRequires:  %{python_module devel}
Requires:       %{python_module gst}
Requires:       %{python_module gobject}
Requires:       %{python_module gobject-Gdk}
Requires:       clutter-gtk
Requires:       gstreamer-plugin-cluttergst3
Requires:       gdk-pixbuf
Requires:       typelib(GIRepository) 
Requires:       typelib(GtkClutter) 
Requires:       typelib(ClutterGst)
Requires:       typelib(WebKit2) = 4.1
Requires:       gstreamer-plugins-libav
BuildArch:      noarch

%description
Komorebi is an awesome animated wallpapers manager for all Linux platforms. It provides fully customizeable image, video, and web page wallpapers that can be tweaked at any time!

%prep
%autosetup -p1

%build
%meson
%meson_build

%install
%meson_install

%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%{_bindir}/%{name}-wallpaper-creator
%{_datadir}/%{name}
%{_datadir}/fonts/*.ttf
%{_datadir}/applications/org.komorebiteam.komorebi.desktop
%{_datadir}/applications/org.komorebiteam.wallpapercreator.desktop
%{_datadir}/metainfo/org.komorebiteam.komorebi.appdata.xml
%{_datadir}/metainfo/org.komorebiteam.wallpapercreator.appdata.xml
%dir %{_datadir}/pixmaps/%{name}
%{_datadir}/pixmaps/%{name}/%{name}.svg
%{_datadir}/pixmaps/%{name}/wallpaper_creator.svg
%{python_sitelib}/%{name}

%changelog
openSUSE Build Service is sponsored by