%global commit0 01509ce72c9ccb1734f0cd5482b26cdce26b4f20 %global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) %global bumpver 1 Name: kontrast Version: 24.11.80 Release: 1%{?dist} Summary: Color contrast checker # BSD, CC0 are only for build files License: GPL-3.0-only AND GPL-3.0-or-later AND CC-BY-SA-4.0 URL: https://apps.kde.org/kontrast/ %apps_source BuildRequires: desktop-file-utils BuildRequires: extra-cmake-modules BuildRequires: gettext BuildRequires: kf6-rpm-macros BuildRequires: libappstream-glib BuildRequires: cmake(KF6CoreAddons) BuildRequires: cmake(KF6Crash) BuildRequires: cmake(KF6DocTools) BuildRequires: cmake(KF6I18n) BuildRequires: cmake(KF6Kirigami) BuildRequires: cmake(Qt6Core) BuildRequires: cmake(Qt6DBus) BuildRequires: cmake(Qt6Gui) BuildRequires: cmake(Qt6Qml) BuildRequires: cmake(Qt6QuickControls2) BuildRequires: cmake(Qt6Sql) BuildRequires: cmake(Qt6Svg) BuildRequires: cmake(Qt6Widgets) BuildRequires: cmake(FutureSQL6) BuildRequires: cmake(KF6KirigamiAddons) BuildRequires: cmake(QCoro6Core) Requires: hicolor-icon-theme Requires: kf6-filesystem # QML dependencies Requires: kf6-kirigami%{?_isa} Requires: kf6-kirigami-addons%{?_isa} %description Kontrast is a color contrast checker and tell you if your color combinations are accessible for people with color vision deficiencies. %prep %{!?bumpver:%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'} %autosetup -n %{sourcerootdir} -p1 %build %cmake_kf6 %cmake_build %install %cmake_install %find_lang %{name} --with-html %check appstream-util validate-relax --nonet %{buildroot}%{_kf6_metainfodir}/org.kde.%{name}.appdata.xml desktop-file-validate %{buildroot}%{_kf6_datadir}/applications/org.kde.%{name}.desktop %files -f %{name}.lang %doc README.md %license LICENSES/CC-BY* LICENSES/GPL-* %{_kf6_bindir}/%{name} %{_kf6_datadir}/applications/org.kde.%{name}.desktop %{_kf6_datadir}/icons/hicolor/*/*/org.kde.%{name}.* %{_kf6_metainfodir}/org.kde.%{name}.appdata.xml %changelog * Fri Nov 15 2024 Pavel Solovev - 24.11.80-1 - Update to 24.11.80 * Tue Nov 05 2024 Pavel Solovev - 24.08.3-1 - Update to 24.08.3 * Mon Oct 07 2024 Pavel Solovev - 24.08.2-1 - Update to 24.08.2 * Tue Sep 10 2024 Pavel Solovev - 24.08.1-1 - Update to 24.08.1 * Fri Aug 16 2024 Pavel Solovev - 24.08.0-1 - Update to 24.08.0 * Fri Aug 09 2024 Pavel Solovev - 24.07.90-1 - Update to 24.07.90 * Thu Jul 25 2024 Pavel Solovev - 24.07.80-1 - Update to 24.07.80 * Thu Jul 04 2024 Pavel Solovev - 24.05.2-1 - Update to 24.05.2 * Thu Jun 13 2024 Pavel Solovev - 24.05.1-1 - Update to 24.05.1 * Thu May 23 2024 Pavel Solovev - 24.05.0-1 - Update to 24.05.0 * Fri Apr 26 2024 Pavel Solovev - 24.04.80-1 - Update to 24.04.80 * Thu Apr 11 2024 Pavel Solovev - 24.02.2-1 - Update to 24.02.2 * Thu Mar 21 2024 Pavel Solovev - 24.02.1-1 - Update to 24.02.1 * Wed Mar 20 2024 Pavel Solovev - 24.02.0-2 - qmlcache rebuild * Thu Nov 23 2023 Yaakov Selkowitz - 24.01.75-1 - 24.01.75 * Fri Oct 13 2023 Yaakov Selkowitz - 23.08.2-1 - Initial build