]> git.pld-linux.org Git - packages/SDL_image.git/blobdiff - SDL_image.spec
perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
[packages/SDL_image.git] / SDL_image.spec
index 3dab24c7af0469d105ac3025a6149e4d5cb8ee4f..7d72bcfb2ea8db7bbddad73a10247f213fd60e26 100644 (file)
@@ -1,7 +1,7 @@
-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
@@ -9,14 +9,22 @@ Group(de):    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
 
@@ -35,10 +43,15 @@ Summary:    Header files and more to develop SDL_image applications.
 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.
@@ -51,8 +64,12 @@ Summary:     Static SDL_image libraries
 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
@@ -63,8 +80,14 @@ Statyczne biblioteki SDL_image.
 
 %prep
 %setup -q 
+%patch0 -p1
 
 %build
+rm -f missing acinclude.m4
+libtoolize --copy --force
+aclocal
+autoconf
+automake -a -c
 %configure \
        --enable-bmp \
        --enable-gif \
@@ -80,6 +103,7 @@ Statyczne biblioteki SDL_image.
 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
This page took 0.061563 seconds and 4 git commands to generate.