Name: kolourpaint Summary: An easy-to-use paint program Version: 23.08.3 Release: 1%{?dist} License: BSD URL: https://www.kde.org/applications/graphics/kolourpaint/ %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: https://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz Source1: https://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig Source2: gpgkey-D81C0CB38EB725EF6691C385BB463350D6EF31EF.gpg BuildRequires: gnupg2 BuildRequires: desktop-file-utils BuildRequires: libappstream-glib BuildRequires: extra-cmake-modules BuildRequires: kf5-rpm-macros BuildRequires: cmake(KF5I18n) BuildRequires: cmake(KF5KDELibs4Support) ## optional deps %if ! 0%{?bootstrap} BuildRequires: cmake(KF5Sane) %endif Recommends: qt5-qtimageformats%{?_isa}} Requires: %{name}-libs%{?_isa} = %{version}-%{release} # when split occurred Conflicts: kdegraphics < 7:4.6.95-10 # translations moved here Conflicts: kde-l10n < 17.03 %description %{summary}. %package libs Summary: Runtime libraries for %{name} Requires: %{name} = %{version}-%{release} License: LGPLv2 %description libs %{summary}. %prep %{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %autosetup %build %cmake_kf5 %cmake_build %install %cmake_install %find_lang %{name} --all-name --with-html ## unpackaged files rm -fv %{buildroot}%{_kde4_libdir}/libkolourpaint_lgpl.so %check appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.%{name}.appdata.xml ||: desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.%{name}.desktop ||: %files -f %{name}.lang %doc AUTHORS BUGS ChangeLog NEWS %license COPYING* %{_kf5_bindir}/%{name} %{_kf5_datadir}/%{name}/ %{_kf5_metainfodir}/org.kde.%{name}.appdata.xml %{_kf5_datadir}/applications/org.kde.%{name}.desktop %{_kf5_datadir}/icons/hicolor/*/*/* %{_kf5_datadir}/kxmlgui5/%{name}/ %ldconfig_scriptlets libs %files libs %{_kf5_libdir}/libkolourpaint_lgpl.so.5 %changelog * Fri Nov 10 2023 Yaroslav Sidlovsky - 23.08.3-1 - 23.08.3 * Fri Oct 13 2023 Yaroslav Sidlovsky - 23.08.2-1 - 23.08.2 * Thu Sep 14 2023 Yaroslav Sidlovsky - 23.08.1-1 - 23.08.1 * Sun Aug 27 2023 Yaroslav Sidlovsky - 23.08.0-1 - 23.08.0 * Thu Jul 06 2023 Yaroslav Sidlovsky - 23.04.3-1 - 23.04.3 * Thu Jun 08 2023 Yaroslav Sidlovsky - 23.04.2-1 - 23.04.2 * Thu May 11 2023 Yaroslav Sidlovsky - 23.04.1-1 - 23.04.1 * Thu Apr 20 2023 Yaroslav Sidlovsky - 23.04.0-1 - 23.04.0 * Thu Mar 02 2023 Yaroslav Sidlovsky - 22.12.3-1 - 22.12.3 * Thu Feb 02 2023 Yaroslav Sidlovsky - 22.12.2-1 - 22.12.2