%bcond_without python # without python plugins
%bcond_without webkit # without webkit-based help browser
%bcond_with posix_shm # with POSIX SHM (default is SysV SHM)
-#
+
%define mver 2.0
Summary: The GNU Image Manipulation Program
Summary(de.UTF-8): Das GNU-Bildbearbeitungs-Programm
Summary(zh_CN.UTF-8): [图像]GNU图象处理工具
Summary(zh_TW.UTF-8): [圖像]GNU圖象處理工具
Name: gimp
-Version: 2.8.8
+Version: 2.8.18
Release: 1
Epoch: 1
License: GPL v3+
Group: X11/Applications/Graphics
-Source0: ftp://ftp.gimp.org/pub/gimp/v2.8/%{name}-%{version}.tar.bz2
-# Source0-md5: ef2547c3514a1096931637bd6250635a
+Source0: http://ftp.gimp.org/pub/gimp/v2.8/%{name}-%{version}.tar.bz2
+# Source0-md5: 5adaa11a68bc8a42bb2c778fee4d389c
Patch0: %{name}-home_etc.patch
Patch1: %{name}-desktop.patch
Patch2: %{name}-gcc4.patch
+Patch3: bump_Babl-GEGL_versions.patch
URL: http://www.gimp.org/
%{?with_aalib:BuildRequires: aalib-devel}
BuildRequires: alsa-lib-devel >= 1.0.11
BuildRequires: autoconf >= 2.54
BuildRequires: automake
BuildRequires: babl-devel >= 0.1.10
-BuildRequires: curl-devel >= 7.15.1
BuildRequires: cairo-devel >= 1.10.2
+BuildRequires: curl-devel >= 7.15.1
BuildRequires: dbus-glib-devel >= 0.70
BuildRequires: docbook-dtd412-xml
BuildRequires: fontconfig-devel >= 2.2.0
BuildRequires: gdk-pixbuf2-devel >= 2.24.1
-BuildRequires: gegl-devel >= 0.2.0
-BuildRequires: gettext-devel
+BuildRequires: gegl-devel >= 0.3.0
+BuildRequires: gettext-tools
BuildRequires: ghostscript-devel
BuildRequires: giflib-devel
BuildRequires: glib2-devel >= 1:2.30.2
Requires: curl >= 7.15.1
Requires: dbus-glib >= 0.70
Requires: fontconfig-libs >= 2.2.0
-Requires: gegl >= 0.2.0
+Requires: gegl >= 0.3.0
Requires: hicolor-icon-theme
Requires: lcms2 >= 2.2
Requires: libexif >= 0.6.15
Summary(pl.UTF-8): Dokumentacja API GIMPa
Group: Documentation
Requires: gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch: noarch
+%endif
%description apidocs
GIMP API documentation.
%patch0 -p1
%patch1 -p1
%patch2 -p1
-#%patch3 -p1
+%patch3 -p1
%build
-rm acinclude.m4
+%{__rm} acinclude.m4
%{__gtkdocize}
%{__libtoolize}
%{__aclocal} -I m4macros
%attr(755,root,root) %{_bindir}/gimp
%attr(755,root,root) %{_bindir}/gimp-console-2.8
%attr(755,root,root) %{_bindir}/gimp-console
+%{_datadir}/appdata/gimp.appdata.xml
%{_desktopdir}/gimp.desktop
%{_mandir}/man1/gimp-2.8.1*
%{_mandir}/man1/gimp.1*