2024-01-06 02:47:22 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
%define dirver %(echo %version | cut -d. -f1-3)
|
|
|
|
|
|
|
|
Name: krita
|
2024-02-06 12:48:58 +01:00
|
|
|
Version: 5.2.2
|
2024-02-27 10:11:28 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 02:47:22 +01:00
|
|
|
Summary: A free and open source painting tool
|
|
|
|
Group: Graphical Desktop/Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-02-06 12:48:58 +01:00
|
|
|
URL: https://krita.org/en/
|
2024-01-06 02:47:23 +01:00
|
|
|
Source: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz
|
|
|
|
Patch0: krita-5.0.0-gcc-11.2.0.patch
|
2024-02-06 12:48:58 +01:00
|
|
|
Patch1: krita-5.2.2-sip-6.8.2.patch
|
|
|
|
Patch2: krita-5.2.2-libjxl-0.9.1.patch
|
2024-01-06 02:47:22 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libICE-devel
|
2024-01-06 02:47:23 +01:00
|
|
|
BuildRequires: libQt5Svg-devel
|
|
|
|
BuildRequires: libQt5X11Extras-devel
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: libSDL2-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXi-devel
|
2024-01-06 02:47:40 +01:00
|
|
|
BuildRequires: libbzip2-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libexiv2-devel
|
|
|
|
BuildRequires: libfftw-devel
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libfribidi-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgif-devel
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libgsl-devel
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-06 02:47:23 +01:00
|
|
|
BuildRequires: libheif-devel
|
|
|
|
BuildRequires: libimath-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libjpeg-devel
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: libjson-c-devel
|
2024-01-06 02:47:40 +01:00
|
|
|
BuildRequires: libjxl-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libkcompletion-devel
|
|
|
|
BuildRequires: libkconfig-devel
|
|
|
|
BuildRequires: libkcoreaddons-devel
|
|
|
|
BuildRequires: libkcrash-devel
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: libkdcraw-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libkguiaddons-devel
|
|
|
|
BuildRequires: libki18n-devel
|
|
|
|
BuildRequires: libkitemviews-devel
|
|
|
|
BuildRequires: libkwidgetsaddons-devel
|
|
|
|
BuildRequires: libkwindowsystem-devel
|
|
|
|
BuildRequires: liblcms2-devel
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: libmlt-devel
|
2024-01-06 02:47:23 +01:00
|
|
|
BuildRequires: libmypaint-devel
|
2024-01-06 02:47:24 +01:00
|
|
|
BuildRequires: libopencolorio-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libopenexr-devel
|
2024-01-06 02:47:23 +01:00
|
|
|
BuildRequires: libopenjpeg-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libpoppler-devel
|
|
|
|
BuildRequires: libpoppler-qt5-devel
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libquazip-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtiff-devel
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: libunibreak-devel
|
2024-01-06 02:47:23 +01:00
|
|
|
BuildRequires: libwebp-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 02:47:23 +01:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-02-27 10:11:28 +01:00
|
|
|
BuildRequires: libpoppler-devel >= 24.02.0-1mamba
|
2024-01-06 02:47:40 +01:00
|
|
|
BuildRequires: libquazip-devel >= 0:1.4-1mamba
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: libopencolorio-devel >= 2.3.2
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: cmake
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: immer-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: rpm-macros-kde5
|
|
|
|
BuildRequires: extra-cmake-modules
|
2024-02-06 12:48:58 +01:00
|
|
|
BuildRequires: lager-devel
|
|
|
|
BuildRequires: zug-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Provides: calligra-krita
|
2024-01-06 02:47:23 +01:00
|
|
|
Obsoletes: calligra-krita < 4.4.3
|
2024-01-06 02:47:22 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Krita is a FREE and open source painting tool designed for concept artists, illustrators, matte and texture artists, and the VFX industry.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Group: System/Libraries
|
|
|
|
Summary: Shared libraries for %{name}
|
|
|
|
Provides: libcalligra-krita
|
2024-01-06 02:47:23 +01:00
|
|
|
Obsoletes: libcalligra-krita < 4.4.3
|
2024-01-06 02:47:22 +01:00
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
This package contains shared libraries for %{name}.
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
This package contains the development files for %{name}.
|
|
|
|
|
2024-01-06 02:47:24 +01:00
|
|
|
%package color-schemes
|
|
|
|
Group: Graphical Desktop/Look 'n' feel
|
|
|
|
Summary: Color schemes provided with %{name}
|
|
|
|
|
|
|
|
%description color-schemes
|
|
|
|
This package contains the color schemes provided with %{name}.
|
|
|
|
|
2024-01-06 02:47:22 +01:00
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-02-06 12:48:58 +01:00
|
|
|
#-D -T
|
|
|
|
#:<< _EOF
|
|
|
|
%patch 0 -p1
|
|
|
|
%patch 1 -p1 -b .sip-6.8.2
|
|
|
|
%patch 2 -p1 -b .libjxl-0.9.1
|
2024-01-06 02:47:22 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 02:47:23 +01:00
|
|
|
%cmake_kde5 -d build \
|
|
|
|
-DBUILD_TESTING=OFF \
|
|
|
|
-DBUILD_KRITA_QT_DESIGNER_PLUGINS=ON
|
|
|
|
|
2024-01-06 02:47:22 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
2024-01-06 02:47:22 +01:00
|
|
|
|
|
|
|
%files -f %{name}5_qt.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_sysconfdir}/xdg/kritarc
|
|
|
|
%{_bindir}/krita
|
2024-01-06 02:47:23 +01:00
|
|
|
%{_bindir}/krita_version
|
2024-01-06 02:47:23 +01:00
|
|
|
%{_bindir}/kritarunner
|
2024-01-06 02:47:22 +01:00
|
|
|
%{_datadir}/applications/krita_*.desktop
|
|
|
|
%{_datadir}/applications/org.kde.krita.desktop
|
|
|
|
%dir %{_datadir}/color/icc/krita
|
|
|
|
%{_datadir}/color/icc/krita/*
|
2024-01-06 02:47:23 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/krita.png
|
2024-01-06 02:47:22 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/mimetypes/application-x-krita.png
|
2024-01-06 02:47:23 +01:00
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/krita.svgz
|
2024-01-06 02:47:22 +01:00
|
|
|
%dir %{_datadir}/krita
|
|
|
|
%{_datadir}/krita/*
|
|
|
|
%dir %{_datadir}/kritaplugins
|
|
|
|
%{_datadir}/kritaplugins/*
|
|
|
|
%{_datadir}/metainfo/org.kde.krita.appdata.xml
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_libdir}/kritaplugins
|
|
|
|
%{_libdir}/kritaplugins/krita*.so
|
2024-01-06 02:47:23 +01:00
|
|
|
%{_libdir}/libkrita*.so.*
|
|
|
|
%dir %{_libdir}/krita-python-libs
|
|
|
|
%dir %{_libdir}/krita-python-libs/PyKrita
|
|
|
|
%{_libdir}/krita-python-libs/PyKrita/krita.so
|
|
|
|
%dir %{_libdir}/krita-python-libs/krita
|
|
|
|
%{_libdir}/krita-python-libs/krita/*
|
2024-01-06 02:47:22 +01:00
|
|
|
%dir %{_libdir}/qt5/qml/org/krita
|
|
|
|
%{_libdir}/qt5/qml/org/krita/*
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/libkrita*.so
|
|
|
|
|
2024-01-06 02:47:24 +01:00
|
|
|
%files color-schemes
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/color-schemes/Krita*.colors
|
|
|
|
|
2024-01-06 02:47:22 +01:00
|
|
|
%changelog
|
2024-02-27 10:11:28 +01:00
|
|
|
* Sun Feb 25 2024 Automatic Build System <autodist@mambasoft.it> 5.2.2-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libpoppler-devel>=24.02.0-1mamba
|
|
|
|
|
2024-02-06 12:48:58 +01:00
|
|
|
* Mon Feb 05 2024 Automatic Build System <autodist@openmamba.org> 5.2.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:40 +01:00
|
|
|
* Wed Feb 15 2023 Sdk Build System <sdk@mambasoft.it> 5.1.5-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libquazip-devel>=0:1.4-1mamba
|
|
|
|
|
2024-01-06 02:47:33 +01:00
|
|
|
* Sat Jan 07 2023 Automatic Build System <autodist@mambasoft.it> 5.1.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:24 +01:00
|
|
|
* Sat Dec 17 2022 Automatic Build System <autodist@mambasoft.it> 5.1.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:24 +01:00
|
|
|
* Tue Nov 08 2022 Automatic Build System <autodist@mambasoft.it> 5.1.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:24 +01:00
|
|
|
* Fri Nov 04 2022 Automatic Build System <autodist@mambasoft.it> 5.1.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:24 +01:00
|
|
|
* Wed Sep 14 2022 Automatic Build System <autodist@mambasoft.it> 5.1.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:24 +01:00
|
|
|
* Sat Aug 20 2022 Automatic Build System <autodist@mambasoft.it> 5.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Jul 28 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.8-3mamba
|
|
|
|
- moved color schemes to a -color-schemes subpackage
|
|
|
|
|
2024-01-06 02:47:24 +01:00
|
|
|
* Tue Jun 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.8-2mamba
|
|
|
|
- rebuilt by autoport with build requirements: libpoppler-devel>=22.06.0-1mamba
|
|
|
|
|
2024-01-06 02:47:24 +01:00
|
|
|
* Thu May 26 2022 Automatic Build System <autodist@mambasoft.it> 5.0.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:24 +01:00
|
|
|
* Wed Apr 27 2022 Automatic Build System <autodist@mambasoft.it> 5.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:24 +01:00
|
|
|
* Thu Apr 14 2022 Automatic Build System <autodist@mambasoft.it> 5.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Tue Jan 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.0.2-1mamba
|
|
|
|
- update to 5.0.2
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Thu Mar 25 2021 Automatic Build System <autodist@mambasoft.it> 4.4.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Tue Jan 19 2021 Automatic Build System <autodist@mambasoft.it> 4.4.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Fri Oct 30 2020 Automatic Build System <autodist@mambasoft.it> 4.4.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Thu Oct 15 2020 Automatic Build System <autodist@mambasoft.it> 4.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Thu Jun 18 2020 Automatic Build System <autodist@mambasoft.it> 4.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Tue Mar 24 2020 Automatic Build System <autodist@mambasoft.it> 4.2.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Tue Nov 26 2019 Automatic Build System <autodist@mambasoft.it> 4.2.8.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Tue Nov 26 2019 Automatic Build System <autodist@mambasoft.it> 4.2.8.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Wed Oct 02 2019 Automatic Build System <autodist@mambasoft.it> 4.2.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Tue Oct 01 2019 Automatic Build System <autodist@mambasoft.it> 4.2.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:23 +01:00
|
|
|
* Wed Sep 11 2019 Automatic Build System <autodist@mambasoft.it> 4.2.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:22 +01:00
|
|
|
* Fri Aug 02 2019 Automatic Build System <autodist@mambasoft.it> 4.2.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:22 +01:00
|
|
|
* Fri Aug 02 2019 Automatic Build System <autodist@mambasoft.it> 4.2.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:22 +01:00
|
|
|
* Thu Mar 07 2019 Automatic Build System <autodist@mambasoft.it> 4.1.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 02:47:22 +01:00
|
|
|
* Wed Mar 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.7.101-1mamba
|
|
|
|
- package created using the webbuild interface
|