]> git.pld-linux.org Git - packages/gimp.git/blobdiff - gimp.spec
- release 3
[packages/gimp.git] / gimp.spec
index e478c7efd71c3dd0349b23ad838240410c18c53b..15e6a364911f0dba55b81ef0598982c1dd7e82c5 100644 (file)
--- a/gimp.spec
+++ b/gimp.spec
@@ -23,16 +23,17 @@ 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.8
-Release:       2
+Version:       2.6.12
+Release:       3
 Epoch:         1
 License:       GPL v2+
 Group:         X11/Applications/Graphics
 Source0:       ftp://ftp.gimp.org/pub/gimp/v2.6/%{name}-%{version}.tar.bz2
-# Source0-md5: a4d9462c9420954824a80c9b1963f9d9
+# Source0-md5: 9f876ee63a0c4a4c83f50f32fb3bbe63
 Patch0:                %{name}-home_etc.patch
 Patch1:                %{name}-desktop.patch
 Patch2:                %{name}-gcc4.patch
+Patch3:                %{name}-udev.patch
 URL:           http://www.gimp.org/
 %{?with_aalib:BuildRequires:   aalib-devel}
 BuildRequires: alsa-lib-devel >= 1.0.11
@@ -40,17 +41,18 @@ BuildRequires:      autoconf >= 2.54
 BuildRequires: automake
 BuildRequires: babl-devel >= 0.0.22
 BuildRequires: curl-devel >= 7.15.1
+BuildRequires: cairo-devel >= 1.4.10
 BuildRequires: dbus-glib-devel >= 0.70
 BuildRequires: docbook-dtd412-xml
+BuildRequires: fontconfig-devel >= 1:2.2.0
 BuildRequires: gegl-devel >= 0.0.18
 BuildRequires: gettext-devel
 BuildRequires: giflib-devel
 BuildRequires: glib2-devel >= 1:2.16.1
 BuildRequires: gtk+2-devel >= 2:2.12.5
 BuildRequires: gtk-doc >= 1.6
-%{?with_webkit:BuildRequires:  gtk-webkit-devel >= 0.1}
-BuildRequires: hal-devel >= 0.5.7
-BuildRequires: intltool >= 0.35.5
+%{?with_webkit:BuildRequires:  gtk-webkit-devel >= 1.1.0}
+BuildRequires: intltool >= 0.36.3
 BuildRequires: iso-codes
 BuildRequires: lcms-devel >= 1.16
 BuildRequires: libart_lgpl-devel
@@ -63,24 +65,33 @@ BuildRequires:      libtiff-devel
 BuildRequires: libtool >= 1:1.4.2-9
 BuildRequires: libwmf-devel >= 2:0.2.8
 BuildRequires: pango-devel >= 1:1.18.0
-BuildRequires: pkgconfig
-BuildRequires: poppler-glib-devel >= 0.6
-%{?with_python:BuildRequires:  python-pygtk-devel >= 1:2.10.4}
+BuildRequires: pkgconfig >= 1:0.16
+BuildRequires: poppler-devel >= 0.17
 BuildRequires: rpm-pythonprov
+BuildRequires: rpmbuild(macros) >= 1.268
+BuildRequires: udev-glib-devel >= 1:167
+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-keyring-devel >= 0.5.1
 BuildRequires: gnome-vfs2-devel >= 2.15.91
+BuildRequires: libgnome-keyring-devel >= 0.5.1
 BuildRequires: libgnomeui-devel >= 2.15.91
 %endif
-Requires(post,postun): gtk+2 >= 2:2.10.13
+%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:      %{name}-libs = %{epoch}:%{version}-%{release}
 Requires:      curl >= 7.15.1
-Requires:      glib2 >= 1:2.12.3
-Requires:      gtk+2 >= 2:2.10.13
+Requires:      dbus-glib >= 0.70
 Requires:      hicolor-icon-theme
-Requires:      pango >= 1:1.12.2
+Requires:      lcms >= 1.16
+Requires:      libexif >= 0.6.15
 %{?with_python:Requires:       python-pygtk-gtk >= 1:2.10.4}
 Obsoletes:     gimp-data-min
 Obsoletes:     gimp-libgimp
@@ -197,16 +208,18 @@ ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz. якщо хочете
 
 %package libs
 Summary:       GIMP libraries
-Summary(pl.UTF-8):     Biblioteki GIMPa
+Summary(pl.UTF-8):     Biblioteki GIMP-a
 License:       LGPL v2+
 Group:         Libraries
-Requires:      gtk+2 >= 2:2.10.6
+Requires:      glib2 >= 1:2.16.1
+Requires:      gtk+2 >= 2:2.12.5
+Requires:      pango >= 1:1.18.0
 
 %description libs
 This package contains GIMP libraries.
 
 %description libs -l pl.UTF-8
-Pakiet zawiera biblioteki GIMPa.
+Pakiet zawiera biblioteki GIMP-a.
 
 %package devel
 Summary:       GIMP plugin and extension development kit
@@ -223,7 +236,8 @@ Summary(zh_TW.UTF-8):       [開發]gimp的開發包
 License:       LGPL v2+
 Group:         X11/Development/Libraries
 Requires:      %{name}-libs = %{epoch}:%{version}-%{release}
-Requires:      gtk+2-devel >= 2:2.10.0
+Requires:      glib2-devel >= 1:2.16.1
+Requires:      gtk+2-devel >= 2:2.12.5
 
 %description devel
 Header files for writing GIMP plugins and extensions.
@@ -297,7 +311,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.2.0
+Requires:      librsvg >= 2.15.0
 
 %description svg
 SVG plugin for GIMP.
@@ -310,10 +324,15 @@ Wtyczka SVG dla GIMPa.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
+
+mv modules/gimpinputdevicestore-hal.c modules/gimpinputdevicestore-gudev.c
 
 %build
+rm acinclude.m4 m4macros/gtk-doc.m4
+%{__gtkdocize}
 %{__libtoolize}
-%{__aclocal}
+%{__aclocal} -I m4macros
 %{__autoconf}
 %{__autoheader}
 %{__automake}
@@ -340,12 +359,9 @@ 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 obsolete files
-rm -f $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/modules/*.{a,la}
-rm -f $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/python/*.{a,la,py}
-
-# error: gimp-2.4.6-1: req /usr/share/locale/ca@valencia/LC_MESSAGES not found
-rm -r $RPM_BUILD_ROOT%{_datadir}/locale/ca@valencia
+# remove unneeded files
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/modules/*.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/gimp/%{mver}/python/*.{a,la,py}
 
 %find_lang %{name} --all-name
 
@@ -355,19 +371,19 @@ rm -rf $RPM_BUILD_ROOT
 %post
 umask 022
 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+%update_icon_cache hicolor
 
 %postun
 umask 022
 [ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
-gtk-update-icon-cache -qf %{_datadir}/icons/hicolor
+%update_icon_cache hicolor
 
 %post  libs -p /sbin/ldconfig
 %postun        libs -p /sbin/ldconfig
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
+%doc AUTHORS ChangeLog LICENSE NEWS README
 %doc docs/Wilber*
 
 %attr(755,root,root) %{_bindir}/gimp-2.6
This page took 0.086591 seconds and 4 git commands to generate.