forked from pool/krita
This commit is contained in:
parent
599904fbed
commit
6c25977438
25
krita.spec
25
krita.spec
@ -15,7 +15,6 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: krita
|
||||
Version: 3.0
|
||||
Release: 0
|
||||
@ -23,7 +22,7 @@ Summary: Image Manipulation Application
|
||||
License: GPL-2.0+ and LGPL-2.1+
|
||||
Group: Productivity/Office/Suite
|
||||
Url: http://www.krita.org/
|
||||
Source0: http://ftp5.gwdg.de/pub/linux/kde/stable/krita/%{version}/krita-%{version}.tgz
|
||||
Source0: http://download.kde.org/stable/krita/%{version}/krita-%{version}.tgz
|
||||
BuildRequires: Mesa-devel
|
||||
BuildRequires: OpenColorIO-devel
|
||||
BuildRequires: OpenEXR-devel
|
||||
@ -99,27 +98,19 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%description
|
||||
Krita is the image manipulation application of the Calligra Suite.
|
||||
|
||||
%package devel
|
||||
Summary: Krita Build Environment
|
||||
Group: Development/Libraries/KDE
|
||||
Requires: %{name} = %{version}
|
||||
Conflicts: calligra-devel
|
||||
|
||||
%description devel
|
||||
Development headers and libraries for Krita.
|
||||
|
||||
%prep
|
||||
%setup -q -n krita-%{version}
|
||||
|
||||
%build
|
||||
%cmake_kf5 -d build
|
||||
%cmake_kf5 -d build -- -DCMAKE_LD_FLAGS(:STRING)="-Wl,-z -Wl,defs -avoid-version"
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
%kf5_makeinstall -C build
|
||||
|
||||
%kf5_makeinstall -C build
|
||||
%suse_update_desktop_file -r krita Qt KDE Graphics RasterGraphics
|
||||
|
||||
chmod -x %{buildroot}/%{_kf5_applicationsdir}/*.desktop
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
@ -130,13 +121,13 @@ Development headers and libraries for Krita.
|
||||
%{_kf5_applicationsdir}/*.desktop
|
||||
%{_kf5_sharedir}/krita/
|
||||
%{_kf5_sharedir}/appdata/
|
||||
%{_kf5_libdir}/libkrita*.so.*
|
||||
%{_kf5_libdir}/kritaplugins/
|
||||
%{_kf5_libdir}/libkritacolord.so
|
||||
%{_kf5_sharedir}/kritaplugins/
|
||||
%{_kf5_sharedir}/color/
|
||||
%{_kf5_sharedir}/color-schemes/
|
||||
%{_kf5_iconsdir}/hicolor/*/apps/calligrakrita.*
|
||||
%{_kf5_libdir}/libkrita*.so*
|
||||
%dir %{_kf5_iconsdir}/hicolor/1024x1024
|
||||
%dir %{_kf5_iconsdir}/hicolor/1024x1024/apps
|
||||
%dir %{_kf5_iconsdir}/hicolor/256x256
|
||||
@ -145,8 +136,4 @@ Development headers and libraries for Krita.
|
||||
%dir %{_kf5_iconsdir}/hicolor/512x512/apps
|
||||
%config %{_kf5_configdir}/krita*
|
||||
|
||||
%files devel
|
||||
%{_kf5_libdir}/libkrita*.so
|
||||
%exclude %{_kf5_libdir}/libkritacolord.so
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user