Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1584717
 поиск   регистрация   авторизация 
 
Группа :: Система/Библиотеки
Пакет: gdk-pixbuf

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Name: gdk-pixbuf
Version: 0.22.0
Release: alt8.M24.2

Summary: An image loading and rendering library for Gdk
Group: System/Libraries
License: LGPL
Url: http://www.gnome.org/

Source: ftp://ftp.gnome.org/pub/GNOME/sources/unstable/%name/%name-%version.tar.bz2

Patch0: ltmain.sh-inst_prefix.patch

Patch1: %name-0.11.0-mdk-demolink.patch
Patch2: %name-0.22.0-mdk-libdir.patch
Patch3: %name-0.22.0-mdk-xbmcrash.patch

Patch4: %name-0.22.0-rh-bmp-colormap.patch
Patch5: %name-0.22.0-rh-bmploop.patch
Patch6: %name-0.22.0-rh-ico-width.patch
Patch7: %name-0.22.0-rh-m4.patch
Patch8: %name-0.22.0-rh-bmpcrash.patch
Patch9: %name-0.22.0-rh-noexecstack.patch

Patch10: %name-0.22.0-rh-alt-bound.patch
Patch11: %name-0.22.0-alt-linkage.patch

Patch20: gdk-pixbuf-0.22.0-xpm-ncol-overflow.patch
Patch21: gdk-pixbuf-0.22.0-xpm-largecol.patch
Patch22: gdk-pixbuf-0.22.0-xpm-whc-overflow.patch

Requires: %name-loaders = %version-%release

BuildRequires: XFree86-devel glib-devel gnome-libs-devel gtk+-devel
BuildRequires: libjpeg-devel libpng-devel libtiff-devel zlib-devel

%def_disable static

%package loaders
Summary: An image loading and rendering library for Gdk
Group: System/Libraries

%package gnomecanvas
Summary: An image loading and rendering library for Gdk
Group: System/Libraries
Requires: %name-loaders = %version-%release

%package xlib
Summary: An image loading and rendering library for Gdk
Group: System/Libraries
Requires: %name-loaders = %version-%release

%package devel
Summary: Development tools for GdkPixBuf applications
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
Requires: %name-gnomecanvas = %version-%release
Requires: %name-xlib = %version-%release

%package devel-static
Summary: Static libraries for GdkPixBuf applications development
Group: Development/GNOME and GTK+
Requires: %name-devel = %version-%release

%description
The GdkPixBuf library provides a number of features:
+ Image loading facilities.
+ Rendering of a GdkPixBuf into various formats:
 drawables (windows, pixmaps), GdkRGB buffers.

%description loaders
The GdkPixBuf library provides a number of features:
+ Image loading facilities.
+ Rendering of a GdkPixBuf into various formats:
 drawables (windows, pixmaps), GdkRGB buffers.

This package provides image loaders used by all versions of GdkPixBuf.

%description gnomecanvas
The GdkPixBuf library provides a number of features:
+ Image loading facilities.
+ Rendering of a GdkPixBuf into various formats:
 drawables (windows, pixmaps), GdkRGB buffers.

This package provides GTK version of %name.

%description xlib
The GdkPixBuf library provides a number of features:
+ Image loading facilities.
+ Rendering of a GdkPixBuf into various formats:
 drawables (windows, pixmaps), GdkRGB buffers.

This package provides Xlib version of %name.

%description devel
The include files and documentation needed for developing GdkPixBuf
applications. GdkPixBuf is an image loading and rendering library
for Gdk.

%description devel-static
The static libraries needed for developing statically linked
GdkPixBuf applications. GdkPixBuf is an image loading and rendering
library for Gdk.

%prep
%setup -q
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -p1
%patch10 -p1
%patch11 -p1

#patch20 -p1

%patch21 -p1
%patch22 -p1
find -type f -name \*.orig -delete -print

%build
%set_libtool_version 1.4
%undefine __libtoolize
libtoolize -c -f
patch -p0 <%PATCH0
%configure %{subst_enable static} --with-libwrap --disable-gtk-doc

make
bzip2 -9kf ChangeLog

%install
%makeinstall libexecdir=$RPM_BUILD_ROOT%_libdir/%name/loaders
install -pm755 %name/pixops/timescale $RPM_BUILD_ROOT%_bindir/

%find_lang %name

%post -p %post_ldconfig
%postun -p %postun_ldconfig

%post xlib -p %post_ldconfig
%postun xlib -p %postun_ldconfig

%post gnomecanvas -p %post_ldconfig
%postun gnomecanvas -p %postun_ldconfig

%post loaders -p %post_ldconfig
%postun loaders -p %postun_ldconfig

%files -f %name.lang
%doc AUTHORS ChangeLog.* NEWS README TODO
%_libdir/libgdk_pixbuf.so.*
%_bindir/timescale
%dir %_libdir/%name
%dir %_libdir/%name/loaders

%files loaders
%dir %_libdir/%name
%dir %_libdir/%name/loaders
%_libdir/%name/loaders/*.so*

%files xlib
%_libdir/*xlib.so.*

%files gnomecanvas
%_libdir/*gnomecanvas*.so.*

%files devel
%_bindir/*-config
%_libdir/libgdk*.so
%_libdir/libgnome*.so
%_includedir/%name-1.0/%name
%_datadir/aclocal/*
%_libdir/*.sh
%doc %_datadir/gnome/html/*

%if_enabled static
%files devel-static
%_libdir/*.a
%dir %_libdir/%name
%dir %_libdir/%name/loaders
%_libdir/%name/loaders/*.a
%endif

%changelog

Полный changelog можно просмотреть здесь

 
design & coding: Vladimir Lettiev aka crux © 2004-2005