Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37041688
en ru br
Репозитории ALT
5.1: 2.0.35-alt2
4.1: 2.0.35-alt1.M41.1
4.0: 2.0.35-alt1
+updates:2.0.35-alt1
3.0: 2.0.33-alt2
www.altlinux.org/Changes

Группа :: Графика
Пакет: gd2

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

Name: gd2
Version: 2.0.33
Release: alt2

Summary: A graphics library for drawing image files in various formats
License: BSD-style
Group: Graphics
Url: http://www.boutell.com/gd

%define srcname gd-%version
Source: %url/http/%srcname.tar.bz2

Patch1: gd-2.0.32-alt-makefile.patch
Patch2: gd-2.0.32-alt-fontpath.patch
Patch3: gd-2.0.33-mdk-png_get_IHDR.patch

# Automatically added by buildreq on Sun Nov 03 2002

BuildRequires: fontconfig-devel freetype2-devel libjpeg-devel libpng-devel xorg-x11-devel zlib-devel

%package -n lib%name
Summary: A graphics library for drawing image files in various formats
Group: System/Libraries

%package -n lib%name-devel
Summary: The development libraries and header files for lib%name
Group: Development/C
Requires: lib%name = %version-%release
Conflicts: libgd-devel < 2.0.4

%package -n lib%name-devel-static
Summary: The development static library for lib%name
Group: Development/C
Requires: lib%name-devel = %version-%release
Conflicts: libgd-devel-static < 2.0.4

%package utils
Summary: The utilities for drawing image files in various formats
Group: Graphics
Requires: lib%name = %version-%release
Conflicts: gd-utils < 2.0.4

%description
Gd is a graphics library.  It allows your code to quickly draw images
complete with lines, arcs, text, multiple colors, cut and paste from
other images, and flood fills, and write out the result as a PNG or
JPEG file.  This is particularly useful in World Wide Web applications,
where PNG and JPEG are two of the formats accepted for inline images
by most browsers.

Gd is not a paint program.  If you are looking for a paint program, you
are looking in the wrong place.  If you are not a programmer, you are
looking in the wrong place, unless you are installing a required
library in order to run an application.

Gd does not provide for every possible desirable graphics operation.
It is not necessary or desirable for Gd to become a kitchen-sink
graphics package, but version 2.0 does include most frequently
requested features, including both truecolor and palette images,
resampling (smooth resizing of truecolor images) and so forth.

%description -n lib%name
Gd is a graphics library for drawing image files in various formats.  Gd
allows your code to quickly draw images (lines, arcs, text, multiple colors,
cutting and pasting from other images, flood fills) and write out the result
as a jpeg, png or wbmp file.  Gd is particularly useful in web applications,
where jpeg, png or wbmp files are commonly used as inline images.  Note,
however, that Gd is not a paint program.

%description -n lib%name-devel
Gd is a graphics library for drawing image files in various formats.  Gd
allows your code to quickly draw images (lines, arcs, text, multiple colors,
cutting and pasting from other images, flood fills) and write out the result
as a jpeg, png or wbmp file.  Gd is particularly useful in web applications,
where jpeg, png or wbmp files are commonly used as inline images.  Note,
however, that Gd is not a paint program.

%description -n lib%name-devel-static
Gd is a graphics library for drawing image files in various formats.  Gd
allows your code to quickly draw images (lines, arcs, text, multiple colors,
cutting and pasting from other images, flood fills) and write out the result
as a jpeg, png or wbmp file.  Gd is particularly useful in web applications,
where jpeg, png or wbmp files are commonly used as inline images.  Note,
however, that Gd is not a paint program.

%description utils
Gd is a graphics library.  It allows your code to quickly draw images
complete with lines, arcs, text, multiple colors, cut and paste from
other images, and flood fills, and write out the result as a PNG or
JPEG file.  This is particularly useful in World Wide Web applications,
where PNG and JPEG are two of the formats accepted for inline images
by most browsers.

Gd is not a paint program.  If you are looking for a paint program, you
are looking in the wrong place.  If you are not a programmer, you are
looking in the wrong place, unless you are installing a required
library in order to run an application.

Gd does not provide for every possible desirable graphics operation.
It is not necessary or desirable for Gd to become a kitchen-sink
graphics package, but version %version does include most frequently
requested features, including both truecolor and palette images,
resampling (smooth resizing of truecolor images) and so forth.

%prep
%setup -q -n %srcname
%patch1 -p1
%patch2 -p1
%patch3 -p1

%build
autoreconf -fisv
%configure
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build check}}}

%install
%makeinstall

%define docdir %_docdir/%srcname
%__rm -rf %buildroot%docdir
%__mkdir_p %buildroot%docdir
%__cp -a index.html COPYING %buildroot%docdir/

%post -n lib%name -p %post_ldconfig
%postun -n lib%name -p %postun_ldconfig

%files -n lib%name
%_libdir/*.so.*
%dir %docdir
%docdir/COPYING

%files -n lib%name-devel
%_libdir/*.so
%_includedir/*
%_bindir/gdlib-config
%dir %docdir
%docdir/index.html

%files -n lib%name-devel-static
%_libdir/*.a

%files utils
%_bindir/*
%exclude %_bindir/gdlib-config

%changelog

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

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