package created using the webbuild interface [release 4.1.7.101-1mamba;Wed Mar 06 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 02:47:22 +01:00
parent 3560344efc
commit 48f22250c2
2 changed files with 155 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# krita # krita
Krita is a FREE and open source painting tool designed for concept artists, illustrators, matte and texture artists, and the VFX industry.

153
krita.spec Normal file
View File

@ -0,0 +1,153 @@
%define majver %(echo %version | cut -d. -f1-2)
%define dirver %(echo %version | cut -d. -f1-3)
Name: krita
Version: 4.1.7.101
Release: 1mamba
Summary: A free and open source painting tool
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://download.kde.org/stable/krita/%{dirver}/krita-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
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
BuildRequires: libilmbase-devel
BuildRequires: libjpeg-devel
BuildRequires: libkarchive-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
BuildRequires: libopencolorio-devel
BuildRequires: libopenexr-devel
BuildRequires: libpng-devel
BuildRequires: libpoppler-devel
BuildRequires: libpoppler-qt5-devel
BuildRequires: libqt5-devel
BuildRequires: libraw-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtiff-devel
BuildRequires: libxcb-devel
BuildRequires: libxcb-util-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: calligra-krita
Obsoletes: calligra-krita
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
Obsoletes: libcalligra-krita
%description -n lib%{name}
This package contains shared libraries for %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%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}"
%post -n lib%{name}
/sbin/ldconfig
exit 0
%postun -n lib%{name}
/sbin/ldconfig
exit 0
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/kritarc
%{_bindir}/krita
%{_datadir}/applications/krita_*.desktop
%{_datadir}/applications/org.kde.krita.desktop
%{_datadir}/color-schemes/Krita*.colors
%dir %{_datadir}/color/icc/krita
%{_datadir}/color/icc/krita/*
%{_datadir}/icons/hicolor/*/apps/calligrakrita.png
%{_datadir}/icons/hicolor/*/mimetypes/application-x-krita.png
%{_datadir}/icons/hicolor/scalable/apps/calligrakrita.svgz
%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
%{_libdir}/libkritabasicflakes.so*
%{_libdir}/libkritacolor.so*
%{_libdir}/libkritacolord.so*
%{_libdir}/libkritacommand.so*
%{_libdir}/libkritaflake.so*
%{_libdir}/libkritaglobal.so*
%{_libdir}/libkritaimage.so*
%{_libdir}/libkritaimpex.so*
%{_libdir}/libkritalibbrush.so*
%{_libdir}/libkritalibkis.so*
%{_libdir}/libkritalibkra.so*
%{_libdir}/libkritalibpaintop.so*
%{_libdir}/libkritaodf.so*
%{_libdir}/libkritapigment.so*
%{_libdir}/libkritaplugin.so*
%{_libdir}/libkritapsd.so*
%{_libdir}/libkritaqml.so*
%{_libdir}/libkritastore.so*
%{_libdir}/libkritatext.so*
%{_libdir}/libkritatextlayout.so*
%{_libdir}/libkritaui.so*
%{_libdir}/libkritavectorimage.so*
%{_libdir}/libkritaversion.so*
%{_libdir}/libkritawidgets.so*
%{_libdir}/libkritawidgetutils.so*
%dir %{_libdir}/qt5/qml/org/krita
%{_libdir}/qt5/qml/org/krita/*
%changelog
* Wed Mar 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.1.7.101-1mamba
- package created using the webbuild interface