Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37868120
en ru br
Репозитории ALT
5.1: 0.22.0-alt9.5
4.1: 0.22.0-alt9.3
4.0: 0.22.0-alt9.2
3.0: 0.22.0-alt9.1
www.altlinux.org/Changes

Другие репозитории
Upstream:0.22.0

Группа :: Система/Библиотеки
Пакет: gdk-pixbuf

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

Name: gdk-pixbuf
Version: 0.22.0
Release: alt9.5

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
Patch12: %name-0.22.0-alt-libs.patch

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

# Automatically added by buildreq on Fri Oct 17 2008

BuildRequires: glib-devel gnome-libs-devel gtk+-devel
BuildRequires: libjpeg-devel libpng-devel libtiff-devel zlib-devel
BuildRequires: libXt-devel xorg-cf-files

%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
%patch12 -p1
find -type f -name \*.orig -delete -print

%build
%set_libtool_version 1.4
%set_automake_version 1.4
%set_autoconf_version 2.13
%undefine __libtoolize
libtoolize -c -f
#patch -p0 <%PATCH0
aclocal
# Dirty HACK for new gettext
%__subst 's,AC_PREREQ(2.5[0-9]),AC_PREREQ(2.13),g' aclocal.m4
autoheader
automake
autoconf
%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/
%__subst 's,/lib$,/%_lib,g' $RPM_BUILD_ROOT%_bindir/*-config

%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 можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin