Summary: An image loading and scaling library
Summary(pl.UTF-8): Biblioteka ładująca i skalująca obrazki
Name: gdk-pixbuf2
-Version: 2.26.0
+Version: 2.31.2
Release: 1
License: LGPL v2+
Group: X11/Libraries
-Source0: http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.26/gdk-pixbuf-%{version}.tar.xz
-# Source0-md5: 1c186f9903a20e96587b9afb27944b40
+Source0: http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.31/gdk-pixbuf-%{version}.tar.xz
+# Source0-md5: 6be6bbc4f356d4b79ab4226860ab8523
Patch0: %{name}-png-nodep.patch
URL: http://developer.gnome.org/gdk-pixbuf/
BuildRequires: autoconf >= 2.63
-BuildRequires: automake >= 1:1.10
+BuildRequires: automake >= 1:1.11
BuildRequires: gettext-devel >= 0.17
-BuildRequires: glib2-devel >= 1:2.32.0
+BuildRequires: glib2-devel >= 1:2.37.6
BuildRequires: gobject-introspection-devel >= 0.10.0
-BuildRequires: gtk-doc >= 1.11
+BuildRequires: gtk-doc >= 1.20
BuildRequires: jasper-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: tar >= 1:1.22
BuildRequires: xorg-lib-libX11-devel
BuildRequires: xz
-Requires: glib2 >= 1:2.32.0
+Requires: glib2 >= 1:2.37.6
Suggests: librsvg >= 2.31
Conflicts: gtk+2 < 2:2.21.3-1
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki gdk-pixbuf
Group: X11/Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: glib2-devel >= 1:2.32.0
+Requires: glib2-devel >= 1:2.37.6
Conflicts: gtk+2-devel < 2:2.21.3-1
%description devel
%setup -q -n gdk-pixbuf-%{version}
%patch0 -p1
-sed -i s#^io## po/LINGUAS
-%{__rm} po/io.po
-
%build
%{__gettextize}
%{__libtoolize}
%{!?with_apidocs:%{__rm} -r $RPM_BUILD_ROOT%{_gtkdocdir}}
+%{__mv} $RPM_BUILD_ROOT%{_localedir}/{sr@ije,sr@ijekavian}
+# not supported by glibc
+%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/io
+
%find_lang gdk-pixbuf %{name}.lang
%clean