From 05f4937a5abb7089e0cfcb638264596004c1e42936b00464335f1366e9423bb5 Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 5 Jan 2022 17:33:02 +0000 Subject: [PATCH 1/3] Accepting request 942287 from home:darix:playground - add conflicts with the old krita-plugin-gmic. The old plugin no longer works, we need to build an intree version of the plugin now that requires a patched copy of the gmic sources. - Update to 5.0.0 * See https://download.kde.org/stable/krita/5.0.0/ - drop 0001-Support-building-with-OpenEXR-3.patch: included in update - add BR to mypaint to enable the new brushes - add BR for OpenColorIO and WebP to enable both features as well OBS-URL: https://build.opensuse.org/request/show/942287 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=156 --- 0001-Support-building-with-OpenEXR-3.patch | 156 --------------------- krita-4.4.8.tar.xz | 3 - krita-5.0.0.tar.xz | 3 + krita.changes | 17 +++ krita.spec | 16 ++- 5 files changed, 32 insertions(+), 163 deletions(-) delete mode 100644 0001-Support-building-with-OpenEXR-3.patch delete mode 100644 krita-4.4.8.tar.xz create mode 100644 krita-5.0.0.tar.xz diff --git a/0001-Support-building-with-OpenEXR-3.patch b/0001-Support-building-with-OpenEXR-3.patch deleted file mode 100644 index 22bd391..0000000 --- a/0001-Support-building-with-OpenEXR-3.patch +++ /dev/null @@ -1,156 +0,0 @@ -From 5a720e94e62b8ae4a17dc8bee844f0baee923a9b Mon Sep 17 00:00:00 2001 -From: Antonio Rojas -Date: Fri, 23 Apr 2021 23:42:14 +0200 -Subject: [PATCH] Support building with OpenEXR 3 - -Try to find OpenEXR 3 first via the upstream cmake config and fallback to using our FindOpenEXR ---- - CMakeLists.txt | 11 ++++++++--- - libs/image/CMakeLists.txt | 2 +- - libs/pigment/CMakeLists.txt | 2 +- - plugins/color/lcms2engine/CMakeLists.txt | 6 +++--- - plugins/color/lcms2engine/tests/CMakeLists.txt | 2 +- - plugins/impex/CMakeLists.txt | 2 +- - plugins/impex/exr/exr_converter.cc | 2 ++ - plugins/impex/raw/CMakeLists.txt | 2 +- - 8 files changed, 18 insertions(+), 11 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index d2aaadf6fe..bc6a0207e9 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -628,15 +628,20 @@ set_package_properties(ZLIB PROPERTIES - PURPOSE "Optionally used by the G'Mic and the PSD plugins") - macro_bool_to_01(ZLIB_FOUND HAVE_ZLIB) - --find_package(OpenEXR) -+find_package(OpenEXR 3.0 CONFIG QUIET) -+if(TARGET OpenEXR::OpenEXR) -+ set(OPENEXR_LIBRARIES OpenEXR::OpenEXR) -+else() -+ find_package(OpenEXR) -+endif() - set_package_properties(OpenEXR PROPERTIES - DESCRIPTION "High dynamic-range (HDR) image file format" - URL "https://www.openexr.com" - TYPE OPTIONAL - PURPOSE "Required by the Krita OpenEXR filter") --macro_bool_to_01(OPENEXR_FOUND HAVE_OPENEXR) -+macro_bool_to_01(OpenEXR_FOUND HAVE_OPENEXR) - set(LINK_OPENEXR_LIB) --if(OPENEXR_FOUND) -+if(OpenEXR_FOUND) - include_directories(SYSTEM ${OPENEXR_INCLUDE_DIRS}) - set(LINK_OPENEXR_LIB ${OPENEXR_LIBRARIES}) - add_definitions(${OPENEXR_DEFINITIONS}) -diff --git a/libs/image/CMakeLists.txt b/libs/image/CMakeLists.txt -index 79e5b55059..4841ab139d 100644 ---- a/libs/image/CMakeLists.txt -+++ b/libs/image/CMakeLists.txt -@@ -360,7 +360,7 @@ if(NOT HAVE_CXX_ATOMICS_WITHOUT_LIB) - endif() - endif() - --if(OPENEXR_FOUND) -+if(OpenEXR_FOUND) - target_link_libraries(kritaimage PUBLIC ${OPENEXR_LIBRARIES}) - endif() - -diff --git a/libs/pigment/CMakeLists.txt b/libs/pigment/CMakeLists.txt -index 2da577f043..8c1a70f4c7 100644 ---- a/libs/pigment/CMakeLists.txt -+++ b/libs/pigment/CMakeLists.txt -@@ -14,7 +14,7 @@ include_directories( - - set(FILE_OPENEXR_SOURCES) - set(LINK_OPENEXR_LIB) --if(OPENEXR_FOUND) -+if(OpenEXR_FOUND) - include_directories(SYSTEM ${OPENEXR_INCLUDE_DIRS}) - set(LINK_OPENEXR_LIB ${OPENEXR_LIBRARIES}) - add_definitions(${OPENEXR_DEFINITIONS}) -diff --git a/plugins/color/lcms2engine/CMakeLists.txt b/plugins/color/lcms2engine/CMakeLists.txt -index e14de2ba7c..04d0841953 100644 ---- a/plugins/color/lcms2engine/CMakeLists.txt -+++ b/plugins/color/lcms2engine/CMakeLists.txt -@@ -28,7 +28,7 @@ include_directories( - ${CMAKE_CURRENT_SOURCE_DIR}/colorprofiles - ) - --if (HAVE_LCMS24 AND OPENEXR_FOUND) -+if (HAVE_LCMS24 AND OpenEXR_FOUND) - include_directories( - ${CMAKE_CURRENT_SOURCE_DIR}/colorspaces/gray_f16 - ${CMAKE_CURRENT_SOURCE_DIR}/colorspaces/rgb_f16 -@@ -38,7 +38,7 @@ endif () - - set(FILE_OPENEXR_SOURCES) - set(LINK_OPENEXR_LIB) --if(OPENEXR_FOUND) -+if(OpenEXR_FOUND) - include_directories(SYSTEM ${OPENEXR_INCLUDE_DIRS}) - set(LINK_OPENEXR_LIB ${OPENEXR_LIBRARIES}) - add_definitions(${OPENEXR_DEFINITIONS}) -@@ -77,7 +77,7 @@ set ( lcmsengine_SRCS - LcmsEnginePlugin.cpp - ) - --if (HAVE_LCMS24 AND OPENEXR_FOUND) -+if (HAVE_LCMS24 AND OpenEXR_FOUND) - set ( lcmsengine_SRCS - ${lcmsengine_SRCS} - colorspaces/gray_f16/GrayF16ColorSpace.cpp -diff --git a/plugins/color/lcms2engine/tests/CMakeLists.txt b/plugins/color/lcms2engine/tests/CMakeLists.txt -index b548dfa19f..2bcddec635 100644 ---- a/plugins/color/lcms2engine/tests/CMakeLists.txt -+++ b/plugins/color/lcms2engine/tests/CMakeLists.txt -@@ -12,7 +12,7 @@ include_directories( ../colorspaces/cmyk_u16 - ../colorprofiles - .. - ) --if(OPENEXR_FOUND) -+if(OpenEXR_FOUND) - include_directories(SYSTEM ${OPENEXR_INCLUDE_DIRS}) - endif() - include_directories( ${LCMS2_INCLUDE_DIR} ) -diff --git a/plugins/impex/CMakeLists.txt b/plugins/impex/CMakeLists.txt -index 499b1c97d0..82d936575b 100644 ---- a/plugins/impex/CMakeLists.txt -+++ b/plugins/impex/CMakeLists.txt -@@ -19,7 +19,7 @@ if(PNG_FOUND) - add_subdirectory(csv) - endif() - --if(OPENEXR_FOUND) -+if(OpenEXR_FOUND) - add_subdirectory(exr) - endif() - -diff --git a/plugins/impex/exr/exr_converter.cc b/plugins/impex/exr/exr_converter.cc -index bde4784379..4f90c25a1f 100644 ---- a/plugins/impex/exr/exr_converter.cc -+++ b/plugins/impex/exr/exr_converter.cc -@@ -24,6 +24,8 @@ - - #include - #include -+#include -+#include - #include - #include - -diff --git a/plugins/impex/raw/CMakeLists.txt b/plugins/impex/raw/CMakeLists.txt -index 71cb5b355c..f65bc770a5 100644 ---- a/plugins/impex/raw/CMakeLists.txt -+++ b/plugins/impex/raw/CMakeLists.txt -@@ -1,6 +1,6 @@ - add_subdirectory(tests) - --if(OPENEXR_FOUND) -+if(OpenEXR_FOUND) - include_directories(${OPENEXR_INCLUDE_DIRS}) - endif() - include_directories(${LibRaw_INCLUDE_DIR}) --- -2.32.0 - diff --git a/krita-4.4.8.tar.xz b/krita-4.4.8.tar.xz deleted file mode 100644 index 25ae0b8..0000000 --- a/krita-4.4.8.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:45112bf9d59beaf70de1e221699711a66b617a680d07e59d037d3b93ae77f450 -size 172636696 diff --git a/krita-5.0.0.tar.xz b/krita-5.0.0.tar.xz new file mode 100644 index 0000000..283090d --- /dev/null +++ b/krita-5.0.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f073e9605763479e72d774d45cb710a220c4cb1d3d182bcafe93153d16c87139 +size 179036344 diff --git a/krita.changes b/krita.changes index d42d8bf..0998cea 100644 --- a/krita.changes +++ b/krita.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Fri Dec 24 00:04:05 UTC 2021 - Marcus Rueckert + +- add conflicts with the old krita-plugin-gmic. The old plugin no + longer works, we need to build an intree version of the plugin + now that requires a patched copy of the gmic sources. + +------------------------------------------------------------------- +Thu Dec 23 19:10:11 UTC 2021 - Marcus Rueckert + +- Update to 5.0.0 + * See https://download.kde.org/stable/krita/5.0.0/ +- drop 0001-Support-building-with-OpenEXR-3.patch: + included in update +- add BR to mypaint to enable the new brushes +- add BR for OpenColorIO and WebP to enable both features as well + ------------------------------------------------------------------- Wed Aug 25 09:39:44 UTC 2021 - Wolfgang Bauer diff --git a/krita.spec b/krita.spec index 65577e9..d9c420d 100644 --- a/krita.spec +++ b/krita.spec @@ -24,15 +24,13 @@ %bcond_with vc %endif Name: krita -Version: 4.4.8 +Version: 5.0.0 Release: 0 Summary: Digital Painting Application -License: GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND CC0-1.0 AND LGPL-2.0-only +License: BSD-2-Clause AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later AND CC0-1.0 AND LGPL-2.0-only Group: Productivity/Graphics/Bitmap Editors URL: https://www.krita.org/ Source0: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz -# PATCH-FIX-UPSTREAM -Patch0: 0001-Support-building-with-OpenEXR-3.patch %ifnarch %{arm} aarch64 # Causes build failure on ARM currently # 2021-07-24: Disabled for Tumbleweed (kde#435474) @@ -92,6 +90,9 @@ BuildRequires: cmake(Qt5Test) BuildRequires: cmake(Qt5Widgets) BuildRequires: cmake(Qt5X11Extras) BuildRequires: cmake(Qt5Xml) +BuildRequires: pkgconfig(OpenColorIO) +BuildRequires: pkgconfig(libmypaint) +BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(xcb-atom) BuildRequires: pkgconfig(xi) >= 1.4.99.1 Recommends: %{name}-lang = %{version} @@ -101,6 +102,8 @@ Provides: calligra-krita = %{version} %if %{with vc} BuildRequires: Vc-devel-static %endif +# it has an intree copy now and no longer works with the external copy +Conflicts: krita-plugin-gmic %description Krita is a painting program. It supports concept art, texture and @@ -141,6 +144,11 @@ chmod -x %{buildroot}%{_kf5_applicationsdir}/*.desktop # remove shebang to avoid rpmlint warning, that file is not supposed to be run directly anyway sed -i "/#!\/usr\/bin\/env/d" %{buildroot}%{_kf5_libdir}/krita-python-libs/krita/sceditor/highlighter.py +rm \ + %{buildroot}%{_includedir}/kis_qmic_interface.h \ + %{buildroot}%{_includedir}/kis_qmic_plugin_interface.h \ + %{buildroot}%{_includedir}/kritaqmicinterface_export.h + %post -p /sbin/ldconfig %postun -p /sbin/ldconfig From d42034bca53c9ead9e310ac3fd5300849758670a371be85cd5b45983ebb6dcfe Mon Sep 17 00:00:00 2001 From: Christophe Giboudeaux Date: Wed, 5 Jan 2022 17:37:31 +0000 Subject: [PATCH 2/3] fix comments in last SR. OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=157 --- krita.changes | 7 ------- krita.spec | 7 ------- 2 files changed, 14 deletions(-) diff --git a/krita.changes b/krita.changes index 0998cea..0148f2a 100644 --- a/krita.changes +++ b/krita.changes @@ -1,10 +1,3 @@ -------------------------------------------------------------------- -Fri Dec 24 00:04:05 UTC 2021 - Marcus Rueckert - -- add conflicts with the old krita-plugin-gmic. The old plugin no - longer works, we need to build an intree version of the plugin - now that requires a patched copy of the gmic sources. - ------------------------------------------------------------------- Thu Dec 23 19:10:11 UTC 2021 - Marcus Rueckert diff --git a/krita.spec b/krita.spec index d9c420d..7167ddc 100644 --- a/krita.spec +++ b/krita.spec @@ -31,13 +31,6 @@ License: BSD-2-Clause AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL Group: Productivity/Graphics/Bitmap Editors URL: https://www.krita.org/ Source0: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz -%ifnarch %{arm} aarch64 -# Causes build failure on ARM currently -# 2021-07-24: Disabled for Tumbleweed (kde#435474) -%if 0%{?suse_version} < 1550 -BuildRequires: OpenColorIO-devel -%endif -%endif BuildRequires: OpenEXR-devel BuildRequires: extra-cmake-modules BuildRequires: fftw3-devel From a07beacab7ed417e20663131e7480ff4663b2f56e7b117867b420ea8d09861dc Mon Sep 17 00:00:00 2001 From: Fabian Vogt Date: Fri, 7 Jan 2022 11:12:01 +0000 Subject: [PATCH 3/3] Accepting request 944711 from home:wolfi323:branches:KDE:Extra - Update to 5.0.2 * See https://krita.org/en/item/krita-5-0-2/ - Drop redundant recommendation of the -lang package - Add signature file and keyring OBS-URL: https://build.opensuse.org/request/show/944711 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/krita?expand=0&rev=158 --- krita-5.0.0.tar.xz | 3 --- krita-5.0.2.tar.xz | 3 +++ krita-5.0.2.tar.xz.sig | 16 +++++++++++++ krita.changes | 33 ++++++++++++++++++++++++++- krita.keyring | 52 ++++++++++++++++++++++++++++++++++++++++++ krita.spec | 15 +++++++----- 6 files changed, 112 insertions(+), 10 deletions(-) delete mode 100644 krita-5.0.0.tar.xz create mode 100644 krita-5.0.2.tar.xz create mode 100644 krita-5.0.2.tar.xz.sig create mode 100644 krita.keyring diff --git a/krita-5.0.0.tar.xz b/krita-5.0.0.tar.xz deleted file mode 100644 index 283090d..0000000 --- a/krita-5.0.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f073e9605763479e72d774d45cb710a220c4cb1d3d182bcafe93153d16c87139 -size 179036344 diff --git a/krita-5.0.2.tar.xz b/krita-5.0.2.tar.xz new file mode 100644 index 0000000..9993587 --- /dev/null +++ b/krita-5.0.2.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:634102e0bf0c03c0ec9dc4dd647d5f618c8f136cf79bd50136e6f012be6b4e63 +size 179049488 diff --git a/krita-5.0.2.tar.xz.sig b/krita-5.0.2.tar.xz.sig new file mode 100644 index 0000000..6799dc9 --- /dev/null +++ b/krita-5.0.2.tar.xz.sig @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEBkGCRAxnTZ+ND2+LTaee2iMchSsFAmHVf1QACgkQTaee2iMc +hSsXwhAA3e8rKU/dMLZVma0pp0JB5mUnKqaYmfGD+Cniw5OgpxBwLOyEsOxgAHsd +/n+6jRhthjQbm26NCg+PpE2g7L9HskYdMgpXUqXbrgVEFYSoVOW+7W6bJTLcUNU3 +uAlKjLeuLLVV05DBm2pZ7JO0oD6pQmwcsmQvaBtxtWcT9TDhwObqn9hE4zqkInGr +qNqMN8vSxMdPPAyogGOKvZCsGpavSsEdG4pgbn+YMEtTafpY+dRErtniONmnPxiS +o0NxYBUsgrJhy93Bi6zHZu5X2HxnYW3A6h8sCpQ2vjINYiUzSxOEL7kSvPHYMoER +2LyyMsHylzYQ2J6zxwbfS2WnCKNaliqmaCv83guOPVbEd335J5csyjHtZ69tRwCU +zsk0sod8X/0MVI9S4PT8zNqtJU53eN/xGDmx7xMa3QT0OEj6hRdhar5K5E4p0iYz +LMwwAo2HczaWMMbDP4aE+0eFP71WdxedEMN9L7ABAdagFHDWSD1b4Jn2FywBFyNU +tWWwPFyIgYItjrge2Iju2SAW2qgF7kZFjzHeQZ5ctRr8fddecBETdx2p44++dAvB +gqNC/so+pZatzb2AJqcS0drBbsP+5ReJJuwwoTrI8xNG5nBc12K87Qvr18WkURmA +CbGtWHrY3LXqoUJreI9xbv5sxjO7O41JD4j1s93q87eZmNIBtkg= +=AIKW +-----END PGP SIGNATURE----- diff --git a/krita.changes b/krita.changes index 0148f2a..97ae3bd 100644 --- a/krita.changes +++ b/krita.changes @@ -1,8 +1,39 @@ +------------------------------------------------------------------- +Fri Jan 7 08:11:30 UTC 2022 - Wolfgang Bauer + +- Update to 5.0.2 + * See https://krita.org/en/item/krita-5-0-2/ + * Fix a crash when changing the Instant Preview setting of a + brush preset + * Fix a crash when there are ABR brush libraries present with an + uppercase ABR extension (kde#447454) + * Fix a similar issue with Krita resource bundles with an upper + case .BUNDLE extension + * Fix a crash when undoing multiple layer operations too quickly + (kde#447462) + * Workaround a crash when a transform mask is applied to a + passthrough group (kde#447506) + * Fix toolbox arrow buttons not visible on starting Krita + * Fix the photoshop compatibilty shortcut profile (kde#447771) + * Restore the QImageIO fallback for loading WebP images + * Make the dock widget titlebars so they can be smaller + * Disable all accelerator keys for dockers + * Fix a race condition in the image metadata system + * Fix the tool option widget's layout sporadically going wrong + (kde#447522) + * Update fill layers correctly when changing the options from a + Python script (kde#447807) + * Fix the built-in file dialog's image preview (kde#447806) + * Fix the slowness opening and closing documents if there are + many resource bundles present (kde#447298) +- Drop redundant recommendation of the -lang package +- Add signature file and keyring + ------------------------------------------------------------------- Thu Dec 23 19:10:11 UTC 2021 - Marcus Rueckert - Update to 5.0.0 - * See https://download.kde.org/stable/krita/5.0.0/ + * See https://krita.org/en/item/krita-5-0-released/ - drop 0001-Support-building-with-OpenEXR-3.patch: included in update - add BR to mypaint to enable the new brushes diff --git a/krita.keyring b/krita.keyring new file mode 100644 index 0000000..3e33023 --- /dev/null +++ b/krita.keyring @@ -0,0 +1,52 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBGEbjqEBEADxRYGrQlolgBQqRjkw3HTnpWDYrNVsCHN4NUDeEUQTPjojpzfN +/PpAUw6YWkEJCVI/bK+lmclCU9sE1akJS0C/fhxBdAdVAk1GINHbwz/H5GrrFnVZ +AzP1cS21GVezFpyaSmhE6CoqaYuPf3nQOaMfE5+1cehUkVfibCLi9ZwptxEeLuCv +/RGA4dfd56fFhcquhF8jM1xOhgynzDYNfv5rmn5E1GAt99HkqNjgvPBSaukozZM9 +HPjYyZMrbZ16rSW53H3IPLJaPiypmMnRcC4ySFE7j8YsGAhB35GYRmYmpnJP+rGx +5shijBAp3feF5CL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jiAEMRvdA+znfmOxCEX5NkeCNBOo0VSDI00AAeTYZ0T+KXy4/w7 +yGZJ39y3nlbOSff2FIG+8WXGSSCQqNUQF+N4M4FC2zTNj+sDenrwDz/Jkg89kQqt +eQZjHtHCUfP4Nstvve1Rto7EH4phdiyDgD03ArbGtc0rcnKTCtsgnVxHoLkYrumJ +KykdVpE70K6D1TORwYE5p6hjyBu3ankRxEpwaous4ETckbX1SOx1YyTkTgGj8+DC +bKm8lGkUKIzXSen+7ip7yJx/FwMr/NSydWQ5cFCaJMYdkb0H1erJ3OlUfGesbkmw +uWJkOq3LEEB3YCbj77oXhTfBXIRM+chAKHeHYj8TC8tFfxRuARHd/N3rVbfyw/Uy +33+fD6O9NkO77qeUK+qsBKRlcOF2rq564E8fiO6CdKLkghGF5IGl9E1/kAs5kesQ +34NZVNrMA/3TNIgBabb9O9bTHQwWWJsvmdw7nwf/nEGcEaDaAbpjv9R8m48SNRg0 +xV4S9KKdI0X7rDbCJwKbVvevHpzdrtexpT/3DIfJcZBz99QlWhqKVxmGmDF8gPwy +KB2ZRfm/7sIVbgvukA== +=dd6m +-----END PGP PUBLIC KEY BLOCK----- diff --git a/krita.spec b/krita.spec index 7167ddc..7b1f62a 100644 --- a/krita.spec +++ b/krita.spec @@ -1,7 +1,7 @@ # # spec file for package krita # -# Copyright (c) 2021 SUSE LLC +# 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 @@ -16,7 +16,7 @@ # -%bcond_without lang +%bcond_without released # Enable VC only on x86* %ifarch %{ix86} x86_64 %bcond_without vc @@ -24,13 +24,17 @@ %bcond_with vc %endif Name: krita -Version: 5.0.0 +Version: 5.0.2 Release: 0 Summary: Digital Painting Application License: BSD-2-Clause AND GPL-2.0-or-later AND LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-3.0-or-later AND CC0-1.0 AND LGPL-2.0-only Group: Productivity/Graphics/Bitmap Editors URL: https://www.krita.org/ Source0: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz +%if %{with released} +Source1: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz.sig +Source2: krita.keyring +%endif BuildRequires: OpenEXR-devel BuildRequires: extra-cmake-modules BuildRequires: fftw3-devel @@ -88,7 +92,6 @@ BuildRequires: pkgconfig(libmypaint) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(xcb-atom) BuildRequires: pkgconfig(xi) >= 1.4.99.1 -Recommends: %{name}-lang = %{version} Recommends: python3-qt5 Obsoletes: calligra-krita < %{version} Provides: calligra-krita = %{version} @@ -128,7 +131,7 @@ export CXXFLAGS="%{optflags} -DHAS_ONLY_OPENGL_ES" %install %kf5_makeinstall -C build %suse_update_desktop_file -r org.kde.krita Qt KDE Graphics RasterGraphics -%if %{with lang} +%if %{with released} %kf5_find_lang %{name} %endif @@ -177,7 +180,7 @@ rm \ %files devel %{_kf5_libdir}/libkrita*.so -%if %{with lang} +%if %{with released} %files lang -f %{name}.lang %endif