|
| 1 | +# |
| 2 | +# spec file for package koi |
| 3 | +# |
| 4 | +# Copyright (c) 2024 SUSE LLC |
| 5 | +# |
| 6 | +# All modifications and additions to the file contributed by third parties |
| 7 | +# remain the property of their copyright owners, unless otherwise agreed |
| 8 | +# upon. The license for this file, and modifications and additions to the |
| 9 | +# file, is the same license as for the pristine package itself (unless the |
| 10 | +# license for the pristine package is not an Open Source License, in which |
| 11 | +# case the license is the MIT License). An "Open Source License" is a |
| 12 | +# license that conforms to the Open Source Definition (Version 1.9) |
| 13 | +# published by the Open Source Initiative. |
| 14 | + |
| 15 | +# Please submit bugfixes or comments via https://bugs.opensuse.org/ |
| 16 | +# |
| 17 | + |
| 18 | + |
| 19 | +Name: koi |
| 20 | +Version: 0.3.1 |
| 21 | +Release: 0%{?dist} |
| 22 | +Summary: Theme scheduling for the KDE Plasma Desktop |
| 23 | +License: LGPL-3.0-only |
| 24 | +URL: https://github.com/baduhai/Koi |
| 25 | +Source0: %{url}/archive/%{version}.tar.gz #%{name}-%{version}.tar.gz |
| 26 | + |
| 27 | +BuildRequires: cmake(Qt6Core) |
| 28 | +BuildRequires: cmake(Qt6DBus) |
| 29 | +BuildRequires: cmake(Qt6Gui) |
| 30 | +BuildRequires: cmake(Qt6Network) |
| 31 | +BuildRequires: cmake(Qt6Test) |
| 32 | +BuildRequires: cmake(Qt6Widgets) |
| 33 | +BuildRequires: cmake(Qt6Xml) |
| 34 | + |
| 35 | +BuildRequires: cmake(KF6Config) |
| 36 | +BuildRequires: cmake(KF6ConfigWidgets) |
| 37 | +BuildRequires: cmake(KF6CoreAddons) |
| 38 | +BuildRequires: cmake(KF6WidgetsAddons) |
| 39 | + |
| 40 | +BuildRequires: kf6-extra-cmake-modules |
| 41 | + |
| 42 | +BuildRequires: desktop-file-utils |
| 43 | +BuildRequires: fdupes |
| 44 | + |
| 45 | +Requires: hicolor-icon-theme |
| 46 | +Requires: libplasma6-components |
| 47 | +Requires: libplasma6-desktoptheme |
| 48 | +Requires: plasma6-desktop |
| 49 | +Requires: plasma6-workspace |
| 50 | + |
| 51 | +%description |
| 52 | +Koi is a program designed to provide the KDE Plasma Desktop functionality |
| 53 | +to automatically switch between light and dark themes. |
| 54 | + |
| 55 | +%prep |
| 56 | +%autosetup -p1 -n Koi-%{version} |
| 57 | + |
| 58 | +%build |
| 59 | +pushd src |
| 60 | +%cmake_kf6 |
| 61 | + |
| 62 | +%kf6_build |
| 63 | +popd |
| 64 | + |
| 65 | +%install |
| 66 | +pushd src |
| 67 | +%kf6_install |
| 68 | +popd |
| 69 | + |
| 70 | +%check |
| 71 | +desktop-file-validate "%{buildroot}/%{_datadir}/applications/koi.desktop" |
| 72 | +%fdupes -s %{buildroot} |
| 73 | + |
| 74 | + |
| 75 | +%files |
| 76 | +%license LICENSE |
| 77 | +%doc README.md |
| 78 | +%{_bindir}/koi |
| 79 | +%{_datadir}/applications/koi.desktop |
| 80 | +%{_datadir}/icons/hicolor/scalable/apps/{koi.svg,koi_tray.svg} |
| 81 | + |
| 82 | +%changelog |
| 83 | +* Thu Jun 27 2024 Martin Stibor <martin.von.reichenberg@proton.me> |
| 84 | +- Koi - 0.3.1 -- Added Click Mouse to Switch |
| 85 | + - Click mouse wheel to switch LIGHT/DARK themes |
| 86 | + - Updated README; Added Void Linux build dependencies |
| 87 | + - Added Koi.spec for FEDORA/SUSE |
| 88 | + |
| 89 | +- Full Changelog: https://github.com/baduhai/Koi/compare/0.3...0.3.1 |
| 90 | + |
| 91 | +* Thu Jun 13 2024 Martin Stibor <martin.von.reichenberg@proton.me> |
| 92 | +- Koi - 0.3 -- Complete Overhaul |
| 93 | + - Update to QT 6 Build Tools / KF 6 libraries |
| 94 | + - Updated bundled libraries to their latest changes |
| 95 | + - Updated UI; Updated Screenshot |
| 96 | + - Updated README with appropriate build instructions and more . . . |
| 97 | + |
| 98 | +- Full Changelog: https://github.com/baduhai/Koi/compare/0.2.4...0.3 |
0 commit comments