]> git.pld-linux.org Git - packages/gimp.git/blobdiff - gimp.spec
- up to 2.8.20
[packages/gimp.git] / gimp.spec
index 1405cc1410b644150f778ffbbec3f8d5034eb518..7876c9d9078c2b56c557fb6085957d00a6808822 100644 (file)
--- a/gimp.spec
+++ b/gimp.spec
@@ -4,7 +4,7 @@
 %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
@@ -18,16 +18,18 @@ Summary(uk.UTF-8):  The GNU Image Manipulation Program
 Summary(zh_CN.UTF-8):  [图像]GNU图象处理工具
 Summary(zh_TW.UTF-8):  [圖像]GNU圖象處理工具
 Name:          gimp
-Version:       2.8.2
-Release:       2
+Version:       2.8.20
+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: b542138820ca3a41cbd63fc331907955
+Source0:       http://ftp.gimp.org/pub/gimp/v2.8/%{name}-%{version}.tar.bz2
+# Source0-md5: d405640c426b234d6efc36fb4f5bae57
 Patch0:                %{name}-home_etc.patch
 Patch1:                %{name}-desktop.patch
 Patch2:                %{name}-gcc4.patch
+Patch3:                bump_Babl-GEGL_versions.patch
+Patch4:                fix_GEGL_missing_symbol.patch
 URL:           http://www.gimp.org/
 %{?with_aalib:BuildRequires:   aalib-devel}
 BuildRequires: alsa-lib-devel >= 1.0.11
@@ -35,14 +37,14 @@ BuildRequires:      atk-devel >= 1:2.2.0
 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
@@ -52,7 +54,7 @@ BuildRequires:        gtk-doc >= 1.6
 BuildRequires: intltool >= 0.40.1
 BuildRequires: iso-codes
 BuildRequires: jasper-devel
-BuildRequires: lcms-devel >= 1.16
+BuildRequires: lcms2-devel >= 2.2
 BuildRequires: libexif-devel >= 0.6.15
 BuildRequires: libjpeg-devel
 BuildRequires: libmng-devel
@@ -81,9 +83,9 @@ Requires:     babl >= 0.1.10
 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:      lcms >= 1.16
+Requires:      lcms2 >= 2.2
 Requires:      libexif >= 0.6.15
 %{?with_python:Requires:       python-pygtk-gtk >= 1:2.10.4}
 Obsoletes:     gimp-data-min
@@ -279,6 +281,9 @@ Summary:    GIMP API documentation
 Summary(pl.UTF-8):     Dokumentacja API GIMPa
 Group:         Documentation
 Requires:      gtk-doc-common
+%if "%{_rpmversion}" >= "5"
+BuildArch:     noarch
+%endif
 
 %description apidocs
 GIMP API documentation.
@@ -322,10 +327,11 @@ Wtyczka SVG dla GIMPa.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-#%patch3 -p1
+%patch3 -p1
+%patch4 -p1
 
 %build
-rm acinclude.m4
+%{__rm} acinclude.m4
 %{__gtkdocize}
 %{__libtoolize}
 %{__aclocal} -I m4macros
@@ -339,6 +345,7 @@ rm acinclude.m4
        --enable-gtk-doc \
        --enable-static \
        --with-html-dir=%{_gtkdocdir} \
+       --with-lcms=2 \
        %{?with_posix_shm:--with-shm=posix} \
        %{!?with_webkit:--without-webkit}
 
@@ -387,6 +394,7 @@ umask 022
 %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*
This page took 0.062301 seconds and 4 git commands to generate.