]> git.pld-linux.org Git - packages/gimp.git/blobdiff - gimp.spec
- up to 2.8.18
[packages/gimp.git] / gimp.spec
index 23984dbb4180893ad6aa829259dffc13d9051b7f..db033a7e08ebdc6a7bf30c3312e107534e7ff413 100644 (file)
--- a/gimp.spec
+++ b/gimp.spec
@@ -1,15 +1,10 @@
 #
 # Conditional build:
 %bcond_without aalib           # without aa plugin (which requires aalib)
-%bcond_without gnomevfs        # without GNOME VFS support
-%bcond_without gnome           # convenient alias for gnomevfs
 %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)
-#
-%if %{without gnome}
-%undefine      with_gnomevfs
-%endif
+
 %define        mver    2.0
 Summary:       The GNU Image Manipulation Program
 Summary(de.UTF-8):     Das GNU-Bildbearbeitungs-Programm
@@ -23,73 +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.6.11
-Release:       6
+Version:       2.8.18
+Release:       1
 Epoch:         1
-License:       GPL v2+
+License:       GPL v3+
 Group:         X11/Applications/Graphics
-Source0:       ftp://ftp.gimp.org/pub/gimp/v2.6/%{name}-%{version}.tar.bz2
-# Source0-md5: bb2939fe13e54fc7255cef5d097bb5dd
+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:                %{name}-udev.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.0.22
+BuildRequires: babl-devel >= 0.1.10
+BuildRequires: cairo-devel >= 1.10.2
 BuildRequires: curl-devel >= 7.15.1
 BuildRequires: dbus-glib-devel >= 0.70
 BuildRequires: docbook-dtd412-xml
-BuildRequires: gegl-devel >= 0.0.18
-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.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: libart_lgpl-devel
+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-glib-devel >= 0.6
-BuildRequires: poppler-glib-devel(gdk)
+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 >= 167
+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
-BuildRequires: zlib-devel
-%if %{with gnomevfs}
-BuildRequires: gnome-vfs2-devel >= 2.15.91
-BuildRequires: libgnome-keyring-devel >= 0.5.1
-BuildRequires: libgnomeui-devel >= 2.15.91
-%endif
-%if %{with python}
-BuildRequires: python-devel >= 1:2.5
-BuildRequires: python-pygtk-devel >= 2:2.10.4
-%endif
-Requires(post,postun): gtk-update-icon-cache
-Requires(post,postun): hicolor-icon-theme
+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
@@ -210,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.
@@ -235,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.
@@ -280,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.
@@ -310,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.
@@ -325,10 +328,8 @@ Wtyczka SVG dla GIMPa.
 %patch2 -p1
 %patch3 -p1
 
-mv modules/gimpinputdevicestore-hal.c modules/gimpinputdevicestore-gudev.c
-
 %build
-rm acinclude.m4 m4macros/gtk-doc.m4
+%{__rm} acinclude.m4
 %{__gtkdocize}
 %{__libtoolize}
 %{__aclocal} -I m4macros
@@ -336,13 +337,13 @@ rm acinclude.m4 m4macros/gtk-doc.m4
 %{__autoheader}
 %{__automake}
 %configure \
-       %{!?with_gnomevfs:--disable-gnomevfs} \
        %{!?with_python:--disable-python} \
+       --disable-silent-rules \
        --enable-default-binary \
-       --enable-gimp-remote \
        --enable-gtk-doc \
        --enable-static \
        --with-html-dir=%{_gtkdocdir} \
+       --with-lcms=2 \
        %{?with_posix_shm:--with-shm=posix} \
        %{!?with_webkit:--without-webkit}
 
@@ -358,9 +359,11 @@ rm -rf $RPM_BUILD_ROOT
 ln -s gimptool-2.0 $RPM_BUILD_ROOT%{_bindir}/gimptool
 echo '.so gimptool-2.0.1' > $RPM_BUILD_ROOT%{_mandir}/man1/gimptool.1
 
-# remove unneeded files
+# Remove obsolete files
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/modules/*.{a,la}
+%if %{with python}
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/python/*.{a,la,py}
+%endif
 
 %find_lang %{name} --all-name
 
@@ -385,20 +388,17 @@ umask 022
 %doc AUTHORS ChangeLog LICENSE NEWS README
 %doc docs/Wilber*
 
-%attr(755,root,root) %{_bindir}/gimp-2.6
+%attr(755,root,root) %{_bindir}/gimp-2.8
 %attr(755,root,root) %{_bindir}/gimp
-%attr(755,root,root) %{_bindir}/gimp-console-2.6
+%attr(755,root,root) %{_bindir}/gimp-console-2.8
 %attr(755,root,root) %{_bindir}/gimp-console
-%attr(755,root,root) %{_bindir}/gimp-remote-2.6
-%attr(755,root,root) %{_bindir}/gimp-remote
+%{_datadir}/appdata/gimp.appdata.xml
 %{_desktopdir}/gimp.desktop
-%{_mandir}/man1/gimp-2.6.1*
+%{_mandir}/man1/gimp-2.8.1*
 %{_mandir}/man1/gimp.1*
-%{_mandir}/man1/gimp-console-2.6.1*
+%{_mandir}/man1/gimp-console-2.8.1*
 %{_mandir}/man1/gimp-console.1*
-%{_mandir}/man1/gimp-remote-2.6.1*
-%{_mandir}/man1/gimp-remote.1*
-%{_mandir}/man5/gimprc-2.6.5*
+%{_mandir}/man5/gimprc-2.8.5*
 %{_mandir}/man5/gimprc.5*
 
 %dir %{_libdir}/gimp
@@ -423,6 +423,7 @@ umask 022
 %dir %{_datadir}/gimp
 %dir %{_datadir}/gimp/%{mver}
 %{_datadir}/gimp/%{mver}/brushes
+%{_datadir}/gimp/%{mver}/dynamics
 %{_datadir}/gimp/%{mver}/fractalexplorer
 %{_datadir}/gimp/%{mver}/gfig
 %{_datadir}/gimp/%{mver}/gflare
@@ -433,8 +434,11 @@ umask 022
 %{_datadir}/gimp/%{mver}/palettes
 %{_datadir}/gimp/%{mver}/patterns
 %{_datadir}/gimp/%{mver}/scripts
+%{_datadir}/gimp/%{mver}/tags
 %{_datadir}/gimp/%{mver}/themes
 %{_datadir}/gimp/%{mver}/tips
+%{_datadir}/gimp/%{mver}/tool-presets
+%{_datadir}/gimp/%{mver}/ui
 
 %dir %{_sysconfdir}/%{name}
 %dir %{_sysconfdir}/%{name}/%{mver}
@@ -443,7 +447,6 @@ umask 022
 %config %{_sysconfdir}/%{name}/%{mver}/controllerrc
 %config %{_sysconfdir}/%{name}/%{mver}/gtkrc*
 %config %{_sysconfdir}/%{name}/%{mver}/menurc
-%config %{_sysconfdir}/%{name}/%{mver}/ps-menurc
 %config %{_sysconfdir}/%{name}/%{mver}/sessionrc
 %config %{_sysconfdir}/%{name}/%{mver}/unitrc
 
This page took 1.26602 seconds and 4 git commands to generate.