-Summary: Simple DirectMedia Layer - Sample Image Loading Library.
-Summary(pl): Przyk³adowa biblioteka do ³adowania obrazków.
+Summary: Simple DirectMedia Layer - Sample Image Loading Library
+Summary(pl): Przyk³adowa biblioteka do ³adowania obrazków
Name: SDL_image
-Version: 1.2.0
+Version: 1.2.1
Release: 2
License: LGPL
Group: Libraries
Group(es): Bibliotecas
Group(fr): Librairies
Group(pl): Biblioteki
+Group(pt_BR): Bibliotecas
+Group(ru): âÉÂÌÉÏÔÅËÉ
+Group(uk): â¦Â̦ÏÔÅËÉ
Source0: http://www.libsdl.org/projects/SDL_image/release/%{name}-%{version}.tar.gz
URL: http://www.libsdl.org/projects/SDL_image/
+Patch0: %{name}-ac_fixes.patch
BuildRequires: SDL-devel >= 1.2.0
+BuildRequires: autoconf
+BuildRequires: automake
BuildRequires: libjpeg-devel
BuildRequires: libpng >= 1.0.8
BuildRequires: libtiff-devel
+BuildRequires: libtool
BuildRequires: zlib-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Obsoletes: libSDL_image1.2
%define _prefix /usr/X11R6
Summary(pl): Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_image.
Group: Development/Libraries
Group(de): Entwicklung/Libraries
+Group(es): Desarrollo/Bibliotecas
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
+Group(pt_BR): Desenvolvimento/Bibliotecas
+Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
Requires: %{name} = %{version}
Requires: SDL-devel
+Obsoletes: libSDL_image1.2-devel
%description devel
Header files and more to develop SDL_image applications.
Summary(pl): Statyczne biblioteki SDL_image
Group: Development/Libraries
Group(de): Entwicklung/Libraries
+Group(es): Desarrollo/Bibliotecas
Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
+Group(pt_BR): Desenvolvimento/Bibliotecas
+Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
+Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
Requires: %{name}-devel = %{version}
%description static
%prep
%setup -q
+%patch0 -p1
%build
+rm -f missing acinclude.m4
+libtoolize --copy --force
+aclocal
+autoconf
+automake -a -c
%configure \
--enable-bmp \
--enable-gif \
rm -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
mv -f $RPM_BUILD_ROOT%{_bindir}/showimage $RPM_BUILD_ROOT%{_bindir}/sdlshow
gzip -9nf README CHANGES