forked from pool/krita
Accepting request 944721 from KDE:Extra
OBS-URL: https://build.opensuse.org/request/show/944721 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/krita?expand=0&rev=59
This commit is contained in:
commit
d6e61467bf
@ -1,156 +0,0 @@
|
|||||||
From 5a720e94e62b8ae4a17dc8bee844f0baee923a9b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Antonio Rojas <arojas@archlinux.org>
|
|
||||||
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 <ImfAttribute.h>
|
|
||||||
#include <ImfChannelList.h>
|
|
||||||
+#include <ImfFrameBuffer.h>
|
|
||||||
+#include <ImfHeader.h>
|
|
||||||
#include <ImfInputFile.h>
|
|
||||||
#include <ImfOutputFile.h>
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:45112bf9d59beaf70de1e221699711a66b617a680d07e59d037d3b93ae77f450
|
|
||||||
size 172636696
|
|
3
krita-5.0.2.tar.xz
Normal file
3
krita-5.0.2.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:634102e0bf0c03c0ec9dc4dd647d5f618c8f136cf79bd50136e6f012be6b4e63
|
||||||
|
size 179049488
|
16
krita-5.0.2.tar.xz.sig
Normal file
16
krita-5.0.2.tar.xz.sig
Normal file
@ -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-----
|
@ -1,3 +1,44 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 7 08:11:30 UTC 2022 - Wolfgang Bauer <wbauer@tmo.at>
|
||||||
|
|
||||||
|
- 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 <mrueckert@suse.de>
|
||||||
|
|
||||||
|
- Update to 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
|
||||||
|
- add BR for OpenColorIO and WebP to enable both features as well
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 25 09:39:44 UTC 2021 - Wolfgang Bauer <wbauer@tmo.at>
|
Wed Aug 25 09:39:44 UTC 2021 - Wolfgang Bauer <wbauer@tmo.at>
|
||||||
|
|
||||||
|
52
krita.keyring
Normal file
52
krita.keyring
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQINBGEbjqEBEADxRYGrQlolgBQqRjkw3HTnpWDYrNVsCHN4NUDeEUQTPjojpzfN
|
||||||
|
/PpAUw6YWkEJCVI/bK+lmclCU9sE1akJS0C/fhxBdAdVAk1GINHbwz/H5GrrFnVZ
|
||||||
|
AzP1cS21GVezFpyaSmhE6CoqaYuPf3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drtexpT/3DIfJcZBz99QlWhqKVxmGmDF8gPwy
|
||||||
|
KB2ZRfm/7sIVbgvukA==
|
||||||
|
=dd6m
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
34
krita.spec
34
krita.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package krita
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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*
|
# Enable VC only on x86*
|
||||||
%ifarch %{ix86} x86_64
|
%ifarch %{ix86} x86_64
|
||||||
%bcond_without vc
|
%bcond_without vc
|
||||||
@ -24,21 +24,16 @@
|
|||||||
%bcond_with vc
|
%bcond_with vc
|
||||||
%endif
|
%endif
|
||||||
Name: krita
|
Name: krita
|
||||||
Version: 4.4.8
|
Version: 5.0.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Digital Painting Application
|
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
|
Group: Productivity/Graphics/Bitmap Editors
|
||||||
URL: https://www.krita.org/
|
URL: https://www.krita.org/
|
||||||
Source0: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz
|
Source0: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz
|
||||||
# PATCH-FIX-UPSTREAM
|
%if %{with released}
|
||||||
Patch0: 0001-Support-building-with-OpenEXR-3.patch
|
Source1: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz.sig
|
||||||
%ifnarch %{arm} aarch64
|
Source2: krita.keyring
|
||||||
# Causes build failure on ARM currently
|
|
||||||
# 2021-07-24: Disabled for Tumbleweed (kde#435474)
|
|
||||||
%if 0%{?suse_version} < 1550
|
|
||||||
BuildRequires: OpenColorIO-devel
|
|
||||||
%endif
|
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: OpenEXR-devel
|
BuildRequires: OpenEXR-devel
|
||||||
BuildRequires: extra-cmake-modules
|
BuildRequires: extra-cmake-modules
|
||||||
@ -92,15 +87,19 @@ BuildRequires: cmake(Qt5Test)
|
|||||||
BuildRequires: cmake(Qt5Widgets)
|
BuildRequires: cmake(Qt5Widgets)
|
||||||
BuildRequires: cmake(Qt5X11Extras)
|
BuildRequires: cmake(Qt5X11Extras)
|
||||||
BuildRequires: cmake(Qt5Xml)
|
BuildRequires: cmake(Qt5Xml)
|
||||||
|
BuildRequires: pkgconfig(OpenColorIO)
|
||||||
|
BuildRequires: pkgconfig(libmypaint)
|
||||||
|
BuildRequires: pkgconfig(libwebp)
|
||||||
BuildRequires: pkgconfig(xcb-atom)
|
BuildRequires: pkgconfig(xcb-atom)
|
||||||
BuildRequires: pkgconfig(xi) >= 1.4.99.1
|
BuildRequires: pkgconfig(xi) >= 1.4.99.1
|
||||||
Recommends: %{name}-lang = %{version}
|
|
||||||
Recommends: python3-qt5
|
Recommends: python3-qt5
|
||||||
Obsoletes: calligra-krita < %{version}
|
Obsoletes: calligra-krita < %{version}
|
||||||
Provides: calligra-krita = %{version}
|
Provides: calligra-krita = %{version}
|
||||||
%if %{with vc}
|
%if %{with vc}
|
||||||
BuildRequires: Vc-devel-static
|
BuildRequires: Vc-devel-static
|
||||||
%endif
|
%endif
|
||||||
|
# it has an intree copy now and no longer works with the external copy
|
||||||
|
Conflicts: krita-plugin-gmic
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Krita is a painting program. It supports concept art, texture and
|
Krita is a painting program. It supports concept art, texture and
|
||||||
@ -132,7 +131,7 @@ export CXXFLAGS="%{optflags} -DHAS_ONLY_OPENGL_ES"
|
|||||||
%install
|
%install
|
||||||
%kf5_makeinstall -C build
|
%kf5_makeinstall -C build
|
||||||
%suse_update_desktop_file -r org.kde.krita Qt KDE Graphics RasterGraphics
|
%suse_update_desktop_file -r org.kde.krita Qt KDE Graphics RasterGraphics
|
||||||
%if %{with lang}
|
%if %{with released}
|
||||||
%kf5_find_lang %{name}
|
%kf5_find_lang %{name}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -141,6 +140,11 @@ chmod -x %{buildroot}%{_kf5_applicationsdir}/*.desktop
|
|||||||
# remove shebang to avoid rpmlint warning, that file is not supposed to be run directly anyway
|
# 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
|
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
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
@ -176,7 +180,7 @@ sed -i "/#!\/usr\/bin\/env/d" %{buildroot}%{_kf5_libdir}/krita-python-libs/krita
|
|||||||
%files devel
|
%files devel
|
||||||
%{_kf5_libdir}/libkrita*.so
|
%{_kf5_libdir}/libkrita*.so
|
||||||
|
|
||||||
%if %{with lang}
|
%if %{with released}
|
||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user