Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37579710
en ru br
ALT Linux repositórios
S:1.2.14-alt10
5.0: 1.2.13-alt6
4.1: 1.2.13-alt1
4.0: 1.2.11-alt3
3.0: 1.2.8-alt2

Group :: Sistema/Bibliotecas
RPM: SDL

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: SDL
Version: 1.2.8
Release: alt2
%define lib_name lib%name

Summary: Simple DirectMedia Layer
License: LGPL
Group: System/Libraries
Url: http://www.libsdl.org/download-1.2.php

Packager: Anton Farygin <rider at altlinux.ru>

Source0: %name-%version.tar.gz
Patch0: SDL-1.2.7-fixrpath.patch
Patch1: SDL-1.2.8-x86_64.patch

# Automatically added by buildreq on Thu Mar 18 2004

BuildRequires: XFree86-devel esound-devel gcc-c++ libalsa-devel libarts-devel
BuildRequires: libaudiofile-devel libstdc++-devel nasm glib2-devel

%package -n %lib_name
Summary: Simple DirectMedia Layer
Group: System/Libraries
Provides: %lib_name = %version-%release
Obsoletes: %lib_name
Provides: SDL

%package -n %lib_name-devel
Summary: Development environment for Simple DirectMedia Layer
Summary(ru_RU.KOI8-R): óÒÅÄÁ ÒÁÚÒÁÂÏÔËÉ ÄÌÑ Simple DirectMedia Layer
Group: Development/C
Requires: %lib_name = %version-%release
Provides: %lib_name-devel = %version-%release
Obsoletes: %lib_name-devel

%package -n %lib_name-devel-static
Summary: Static libraries for Simple DirectMedia Layer
Summary(ru_RU.KOI8-R): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÄÌÑ Simple DirectMedia Layer
Group: Development/C
Requires: %lib_name-devel = %version-%release
Obsoletes: %lib_name-devel-static

%description
This is the Simple DirectMedia Layer, a generic API that provides low level
access to audio, keyboard, mouse, and display framebuffer across multiple
platforms.

%description -l ru_RU.KOI8-R
Simple DirectMedia Layer - ÜÔÏ ÎÁÂÏÒ ÆÕÎËÃÉÊ, ÐÒÅÄÏÓÔÁ×ÌÑÀÝÉÊ ÎÉÚËÏÕÒÏ×ÎÅ×ÙÊ
ÄÏÓÔÕÐ Ë Ú×ÕËÕ, ËÌÁ×ÉÁÔÕÒÅ, ÍÁÎÉÐÕÌÑÔÏÒÕ ÍÙÛØ É Ë ÂÕÆÅÒÕ ÜËÒÁÎÁ ÎÁ ÍÎÏÖÅÓÔ×Å
ÒÁÚÌÉÞÎÙÈ ÐÌÁÔÆÏÒÍ.

%description -n %lib_name
This is the Simple DirectMedia Layer, a generic API that provides low level
access to audio, keyboard, mouse, and display framebuffer across multiple
platforms.

This package provides shared libraries required to run %name-based applications.

%description -l ru_RU.KOI8-R -n %lib_name
Simple DirectMedia Layer - ÜÔÏ ÎÁÂÏÒ ÆÕÎËÃÉÊ, ÐÒÅÄÏÓÔÁ×ÌÑÀÝÉÊ ÎÉÚËÏÕÒÏ×ÎÅ×ÙÊ
ÄÏÓÔÕÐ Ë Ú×ÕËÕ, ËÌÁ×ÉÁÔÕÒÅ, ÍÁÎÉÐÕÌÑÔÏÒÕ ÍÙÛØ É Ë ÂÕÆÅÒÕ ÜËÒÁÎÁ ÎÁ ÍÎÏÖÅÓÔ×Å
ÒÁÚÌÉÞÎÙÈ ÐÌÁÔÆÏÒÍ.

üÔÏÔ ÐÁËÅÔ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÒÁÚÄÅÌÑÅÍÙÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÚÁÐÕÓËÁ
ÏÓÎÏ×ÁÎÎÙÈ ÎÁ SDL ÐÒÉÌÏÖÅÎÉÊ.

%description -n %lib_name-devel
This is the Simple DirectMedia Layer, a generic API that provides low
level access to audio, keyboard, mouse, and display framebuffer across
multiple platforms.

This is the libraries, include files and other resources you can use
to develop %name applications.

%description -l ru_RU.KOI8-R -n %lib_name-devel
Simple DirectMedia Layer - ÜÔÏ ÎÁÂÏÒ ÆÕÎËÃÉÊ, ÐÒÅÄÏÓÔÁ×ÌÑÀÝÉÊ ÎÉÚËÏÕÒÏ×ÎÅ×ÙÊ
ÄÏÓÔÕÐ Ë Ú×ÕËÕ, ËÌÁ×ÉÁÔÕÒÅ, ÍÁÎÉÐÕÌÑÔÏÒÕ ÍÙÛØ É Ë ÂÕÆÅÒÕ ÜËÒÁÎÁ ÎÁ ÍÎÏÖÅÓÔ×Å
ÒÁÚÌÉÞÎÙÈ ÐÌÁÔÆÏÒÍ.

÷ ÜÔÏÍ ÐÁËÅÔÅ ÓÏÄÅÒÖÁÔÓÑ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÚÒÁÂÏÔËÉ ÐÒÉÌÏÖÅÎÉÊ
Ó ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ SDL.

%description -n %lib_name-devel-static
This is the Simple DirectMedia Layer, a generic API that provides low
level access to audio, keyboard, mouse, and display framebuffer across
multiple platforms.

You should install the %lib_name-devel-static package if you would like to
develop statically linked SDL applications.

%description -n %lib_name-devel-static -l ru_RU.KOI8-R
Simple DirectMedia Layer - ÜÔÏ ÎÁÂÏÒ ÆÕÎËÃÉÊ, ÐÒÅÄÏÓÔÁ×ÌÑÀÝÉÊ ÎÉÚËÏÕÒÏ×ÎÅ×ÙÊ
ÄÏÓÔÕÐ Ë Ú×ÕËÕ, ËÌÁ×ÉÁÔÕÒÅ, ÍÁÎÉÐÕÌÑÔÏÒÕ ÍÙÛØ É Ë ÂÕÆÅÒÕ ÜËÒÁÎÁ ÎÁ ÍÎÏÖÅÓÔ×Å
ÒÁÚÌÉÞÎÙÈ ÐÌÁÔÆÏÒÍ.

÷ÁÍ ÎÕÖÎÏ ÐÏÓÔÁ×ÉÔØ ÜÔÏÔ ÐÁËÅÔ, ÅÓÌÉ ×Ù ÐÌÁÎÉÒÕÅÔÅ ÒÁÚÒÁÂÁÔÙ×ÁÔØ ÓÔÁÔÉÞÅÓËÉ
ÓÌÉÎËÏ×ÁÎÎÙÅ Ó SDL ÐÒÉÌÏÖÅÎÉÑ.

%prep
%setup -q
%patch0 -p0
%patch1 -p0

%add_optflags %optflags_shared
%set_verify_elf_method textrel=relaxed

%build
%undefine __libtoolize
%configure --disable-video-aalib \
  --enable-video-opengl \
  --disable-video-svga \
  --disable-video-directfb \
  --disable-video-ggi
%make_build

%install
%makeinstall

%set_strip_method executable shared

%post -n %lib_name -p /sbin/ldconfig
%postun -n %lib_name -p /sbin/ldconfig

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

%files -n %lib_name-devel
%_bindir/*
%_libdir/*.so
%_includedir/*
%_datadir/aclocal/*
%_mandir/man?/*
%doc BUGS CREDITS README README-%name.txt TODO WhatsNew docs.html docs/*html*

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

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009