File koi.spec of Package koi
#
# spec file for package koi
#
# Copyright (c) 2022 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/
#
Name: koi
Version: 0.2.1
Release: 0
Summary: Theme scheduling for the KDE Plasma Desktop
# FIXME: Select a correct license from https://github.com/openSUSE/spec-cleaner#spdx-licenses
License: LGPL-3.0+
URL: https://gitlab.com/baduhai/Koi
Source: %{url}/-/archive/%{version}/Koi-%{version}.tar.gz
BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Test)
BuildRequires: cmake(KF5CoreAddons)
BuildRequires: cmake(KF5WidgetsAddons)
BuildRequires: cmake(KF5Config)
BuildRequires: cmake(KF5Package)
BuildRequires: cmake(KF5Service)
%description
Theme scheduling for the KDE Plasma Desktop
Koi is a program designed to provide the KDE Plasma Desktop functionality to automatically switch between light and dark themes.
Koi is under active development, and while it is stable enough to use daily, expect bugs. Koi is designed to be used with Plasma,
and while some features may function under different desktop environments, they are unlikely to work and untested.
%prep
%autosetup -n Koi-%{version}
%build
pushd src
%cmake
%cmake_build
%install
pushd src
%cmake_install
%files
%license LICENSE
%doc README.md
%{_bindir}/Koi
%{_datadir}/applications/koi.desktop
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/scalable
%{_datadir}/icons/hicolor/scalable/koi.svg
%changelog