]> git.pld-linux.org Git - packages/gimp.git/blobdiff - gimp.spec
- up to 2.8.18
[packages/gimp.git] / gimp.spec
index e9942dae5539c720d501fc4b20a6fac14f7f0f93..db033a7e08ebdc6a7bf30c3312e107534e7ff413 100644 (file)
--- a/gimp.spec
+++ b/gimp.spec
@@ -1,12 +1,10 @@
 #
-# TODO: some unpackaged files
-#
 # Conditional build:
 %bcond_without aalib           # without aa plugin (which requires aalib)
 %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
@@ -20,61 +18,73 @@ 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.0
-Release:       0.1
+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: 28997d14055f15db063eb92e1c8a7ebb
+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: atk-devel >= 1:2.2.0
 BuildRequires: autoconf >= 2.54
 BuildRequires: automake
-BuildRequires: babl-devel >= 0.1.4
+BuildRequires: babl-devel >= 0.1.10
+BuildRequires: cairo-devel >= 1.10.2
 BuildRequires: curl-devel >= 7.15.1
-BuildRequires: cairo-devel >= 1.4.10
 BuildRequires: dbus-glib-devel >= 0.70
 BuildRequires: docbook-dtd412-xml
-BuildRequires: gegl-devel >= 0.2.0
-BuildRequires: gettext-devel
+BuildRequires: fontconfig-devel >= 2.2.0
+BuildRequires: gdk-pixbuf2-devel >= 2.24.1
+BuildRequires: gegl-devel >= 0.3.0
+BuildRequires: gettext-tools
+BuildRequires: ghostscript-devel
 BuildRequires: giflib-devel
-BuildRequires: glib2-devel >= 1:2.16.1
-BuildRequires: gtk+2-devel >= 2:2.12.5
+BuildRequires: glib2-devel >= 1:2.30.2
+BuildRequires: gtk+2-devel >= 2:2.24.10
 BuildRequires: gtk-doc >= 1.6
-%{?with_webkit:BuildRequires:  gtk-webkit-devel >= 1.1.0}
-BuildRequires: intltool >= 0.36.3
+%{?with_webkit:BuildRequires:  gtk-webkit-devel >= 1.6.1}
+BuildRequires: intltool >= 0.40.1
 BuildRequires: iso-codes
-BuildRequires: lcms-devel >= 1.16
+BuildRequires: jasper-devel
+BuildRequires: lcms2-devel >= 2.2
 BuildRequires: libexif-devel >= 0.6.15
 BuildRequires: libjpeg-devel
 BuildRequires: libmng-devel
-BuildRequires: libpng-devel >= 1.2.12
-BuildRequires: librsvg-devel >= 1:2.15.0
+BuildRequires: libpng-devel >= 1.2.37
+BuildRequires: librsvg-devel >= 1:2.36.0
 BuildRequires: libtiff-devel
-BuildRequires: libtool >= 1:1.4.2-9
+BuildRequires: libtool >= 2:2.2
 BuildRequires: libwmf-devel >= 2:0.2.8
-BuildRequires: pango-devel >= 1:1.18.0
+BuildRequires: pango-devel >= 1:1.29.4
 BuildRequires: pkgconfig >= 1:0.16
 BuildRequires: poppler-devel >= 0.17
+%{?with_python:BuildRequires:  python >= 1:2.5.0}
 %{?with_python:BuildRequires:  python-pygtk-devel >= 1:2.10.4}
 BuildRequires: rpm-pythonprov
 BuildRequires: rpmbuild(macros) >= 1.268
 BuildRequires: udev-glib-devel >= 1:167
+BuildRequires: xorg-lib-libXcursor-devel
 BuildRequires: xorg-lib-libXext-devel
 BuildRequires: xorg-lib-libXfixes-devel
 BuildRequires: xorg-lib-libXmu-devel
 BuildRequires: xorg-lib-libXpm-devel
-Requires(post,postun): gtk+2 >= 2:2.10.13
+Requires(post,postun): gtk+2 >= 2:2.24.10
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
+Requires:      atk >= 1:2.2.0
+Requires:      babl >= 0.1.10
 Requires:      curl >= 7.15.1
 Requires:      dbus-glib >= 0.70
+Requires:      fontconfig-libs >= 2.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
@@ -195,9 +205,11 @@ Summary:   GIMP libraries
 Summary(pl.UTF-8):     Biblioteki GIMP-a
 License:       LGPL v2+
 Group:         Libraries
-Requires:      glib2 >= 1:2.16.1
-Requires:      gtk+2 >= 2:2.12.5
-Requires:      pango >= 1:1.18.0
+Requires:      cairo >= 1.10.2
+Requires:      gdk-pixbuf2 >= 2.24.1
+Requires:      glib2 >= 1:2.30.2
+Requires:      gtk+2 >= 2:2.24.10
+Requires:      pango >= 1:1.29.4
 
 %description libs
 This package contains GIMP libraries.
@@ -220,8 +232,11 @@ Summary(zh_TW.UTF-8):      [開發]gimp的開發包
 License:       LGPL v2+
 Group:         X11/Development/Libraries
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
-Requires:      glib2-devel >= 1:2.16.1
-Requires:      gtk+2-devel >= 2:2.12.5
+Requires:      cairo-devel >= 1.10.2
+Requires:      gdk-pixbuf2-devel >= 2.24.1
+Requires:      glib2-devel >= 1:2.30.2
+Requires:      gtk+2-devel >= 2:2.24.10
+Requires:      pango-devel >= 1:1.29.4
 
 %description devel
 Header files for writing GIMP plugins and extensions.
@@ -265,6 +280,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.
@@ -295,7 +313,7 @@ Summary:    SVG plugin for GIMP
 Summary(pl.UTF-8):     Wtyczka SVG dla GIMPa
 Group:         X11/Applications/Graphics
 Requires:      %{name} = %{epoch}:%{version}-%{release}
-Requires:      librsvg >= 2.15.0
+Requires:      librsvg >= 1:2.36.0
 
 %description svg
 SVG plugin for GIMP.
@@ -308,10 +326,10 @@ Wtyczka SVG dla GIMPa.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-#%patch3 -p1
+%patch3 -p1
 
 %build
-rm acinclude.m4
+%{__rm} acinclude.m4
 %{__gtkdocize}
 %{__libtoolize}
 %{__aclocal} -I m4macros
@@ -320,10 +338,12 @@ rm acinclude.m4
 %{__automake}
 %configure \
        %{!?with_python:--disable-python} \
+       --disable-silent-rules \
        --enable-default-binary \
        --enable-gtk-doc \
        --enable-static \
        --with-html-dir=%{_gtkdocdir} \
+       --with-lcms=2 \
        %{?with_posix_shm:--with-shm=posix} \
        %{!?with_webkit:--without-webkit}
 
@@ -372,10 +392,14 @@ 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[-.]*
-%{_mandir}/man1/gimp-console[-.]*
-%{_mandir}/man5/gimprc[-.]*
+%{_mandir}/man1/gimp-2.8.1*
+%{_mandir}/man1/gimp.1*
+%{_mandir}/man1/gimp-console-2.8.1*
+%{_mandir}/man1/gimp-console.1*
+%{_mandir}/man5/gimprc-2.8.5*
+%{_mandir}/man5/gimprc.5*
 
 %dir %{_libdir}/gimp
 %dir %{_libdir}/gimp/%{mver}
This page took 0.190563 seconds and 4 git commands to generate.