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-01-06 02:47:24 +01:00
|
|
|
Version: 5.1.0
|
|
|
|
Release: 1mamba
|
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-01-06 02:47:23 +01:00
|
|
|
URL: https://kde.org/
|
|
|
|
Source: https://download.kde.org/stable/krita/%{version}/krita-%{version}.tar.xz
|
|
|
|
Patch0: krita-5.0.0-gcc-11.2.0.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: libQt5Multimedia-devel
|
|
|
|
BuildRequires: libQt5Svg-devel
|
|
|
|
BuildRequires: libQt5X11Extras-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libSM-devel
|
|
|
|
BuildRequires: libX11-devel
|
|
|
|
BuildRequires: libXext-devel
|
|
|
|
BuildRequires: libXi-devel
|
|
|
|
BuildRequires: libboost-devel
|
|
|
|
BuildRequires: libexiv2-devel
|
|
|
|
BuildRequires: libfftw-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgif-devel
|
|
|
|
BuildRequires: libgsl-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
|
|
|
|
BuildRequires: libkcompletion-devel
|
|
|
|
BuildRequires: libkconfig-devel
|
|
|
|
BuildRequires: libkcoreaddons-devel
|
|
|
|
BuildRequires: libkcrash-devel
|
|
|
|
BuildRequires: libkguiaddons-devel
|
|
|
|
BuildRequires: libki18n-devel
|
|
|
|
BuildRequires: libkitemviews-devel
|
|
|
|
BuildRequires: libkwidgetsaddons-devel
|
|
|
|
BuildRequires: libkwindowsystem-devel
|
|
|
|
BuildRequires: liblcms2-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-01-06 02:47:24 +01:00
|
|
|
BuildRequires: libpython310-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libquazip-devel
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: libraw-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtiff-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-01-06 02:47:24 +01:00
|
|
|
BuildRequires: libpoppler-devel >= 22.06.0-1mamba
|
2024-01-06 02:47:22 +01:00
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: rpm-macros-kde5
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
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-01-06 02:47:23 +01:00
|
|
|
%patch0 -p1
|
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-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
|