Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37777355
en ru br
Репозитории ALT
S:1.2.12-alt3.gitd0ea78d
5.1: 1.2.7-alt1
4.1: 1.2.6-alt3
4.0: 1.2.6-alt2.M40.1
3.0: 1.2.3-alt2.1
www.altlinux.org/Changes

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

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

%define lib_name lib%name

Name: SDL_image
Version: 1.2.6
Release: alt3
Summary: Simple DirectMedia Layer - image
Group: System/Libraries
License: LGPL
Packager: Pavlov Konstantin <thresh at altlinux.ru>
Url: http://www.libsdl.org/projects/SDL_image
Source0: %name-%version.tar.gz

%define SDL_ver 1.2.5

BuildRequires: glibc-devel-static libjpeg-devel libpng-devel libtiff-devel zlib-devel

BuildRequires: libSDL-devel >= %SDL_ver

%description
This is a simple library to load images of various formats as SDL surfaces.
This library currently supports BMP, PPM, PCX, GIF, JPEG, and PNG formats.

This package contains the binary `sdlshow' to test the library.

%package -n %lib_name
Summary: Main library for %name
Group: System/Libraries
Requires: libSDL >= %SDL_ver

%description -n %lib_name
This package contains the library needed to run programs dynamically
linked with %name.

%package -n %lib_name-devel
Summary: Headers for developing programs that will use %name
Group: Development/C
Requires: %lib_name = %version-%release

%description -n %lib_name-devel
This package contains the headers that programmers will need to develop
applications which will use %name.

%package -n %lib_name-devel-static
Summary: Static libraries for developing programs that will use %name
Group: Development/C
Requires: %lib_name-devel = %version-%release

%description -n %lib_name-devel-static
This package contains static libraries that programmers will need to develop
applications which will use %name.

%prep
%setup -q

%build
%configure --enable-bmp \
--enable-gif \
--enable-jpg \
--enable-pcx \
--enable-png \
--enable-ppm \
--enable-tif \
--enable-xpm

%make_build

%install
%makeinstall

%post -n %lib_name -p %post_ldconfig
%postun -n %lib_name -p %postun_ldconfig

%files -n %lib_name
%_libdir/*.so.*

%files -n %lib_name-devel
%_libdir/*.so
%_includedir/SDL/*
%doc README CHANGES

%files -n %lib_name-devel-static
%_libdir/*.a

%changelog

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

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