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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: komorebi
Version: 2.1
Release: 0
Summary: A beautiful and customizable wallpapers manager for Linux
License: GPL-3.0-only
Group: Productivity/Multimedia/Other
URL: https://github.com/robobenklein/komorebi.git
Source: %{name}-%{version}.tar.gz
Patch0: fix.patch
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: ninja
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
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: pkgconfig(libgtop-2.0)
%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
%define __builder ninja
%cmake \
-DCMAKE_BUILD_TYPE=Release \
..
%cmake_build
%install
%cmake_install
%suse_update_desktop_file -r -G "Komorebi - Animated Wallpapers for Linux" komorebi "Graphics;Viewer;"
%suse_update_desktop_file -r -G "Wallpapercreator" wallpapercreator "Graphics;Viewer;"
%files
%license LICENSE
%doc README.md
%{_bindir}/komorebi
%{_bindir}/komorebi-wallpaper-creator
%{_datadir}/Komorebi
%{_datadir}/wallpapers
%{_datadir}/wallpapers/Komorebi/*
%{_datadir}/applications/*.desktop
%{_datadir}/fonts/*.ttf
%changelog