]> git.pld-linux.org Git - packages/SDL_image.git/blobdiff - SDL_image.spec
- strict deps.
[packages/SDL_image.git] / SDL_image.spec
index d8bf9587b914429695a5985b0693d709acb2d936..9f759023b7ef491891a6a1afd8dbb3c026119442 100644 (file)
@@ -1,27 +1,25 @@
-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
+Summary(pt_BR):        Simple DirectMedia Layer - Biblioteca exemplo para carga de Imagens
 Name:          SDL_image
-Version:       1.2.0
-Release:       5
+Version:       1.2.3
+Release:       2
 License:       LGPL
 Group:         Libraries
-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
+# Source0-md5: d55826ffbd2bdc48b09cc64a9ed9e59e
 URL:           http://www.libsdl.org/projects/SDL_image/
-BuildRequires: SDL-devel >= 1.2.0
+Patch0:                %{name}-ac_fixes.patch
+BuildRequires: SDL-devel >= 1.2.5-2
+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)
-
-%define                _prefix         /usr/X11R6
+Obsoletes:     libSDL_image1.2
 
 %description
 This is a simple library to load images of various formats as SDL
@@ -29,54 +27,62 @@ surfaces. This library currently supports BMP, PPM, PCX, GIF, JPEG,
 and PNG formats.
 
 %description -l pl
-jest to prosta biblioteka s³u¿±ca do ³adowania ró¿nego formtu obrazków
+jest to prosta biblioteka s³u¿±ca do ³adowania ró¿nego formatu obrazków
 jako powierzchni SDL. W chwili obecnej biblioteka obs³uguje
 nastepuj±ce formaty: BMP, PPM, PCX, GIF, JPEG oraz PNG.
 
+%description -l pt_BR
+Simple DirectMedia Layer - Biblioteca exemplo para carga de Imagens.
+
 %package devel
-Summary:       Header files and more to develop SDL_image applications.
-Summary(pl):   Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_image.
+Summary:       Header files and more to develop SDL_image applications
+Summary(pl):   Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_image
+Summary(pt_BR):        Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações SDL
 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:      %{name} = %{version}-%{release}
 Requires:      SDL-devel
+Requires:      libjpeg-devel
+Requires:      libpng-devel
+Requires:      libtiff-devel
+Obsoletes:     libSDL_image1.2-devel
 
 %description devel
 Header files and more to develop SDL_image applications.
 
-%description -l pl devel
+%description devel -l pl
 Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_image.
 
+%description devel -l pt_BR
+Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações
+SDL.
+
 %package static
 Summary:       Static SDL_image libraries
 Summary(pl):   Statyczne biblioteki SDL_image
+Summary(pt_BR):        Bibliotecas estáticas para desenvolvimento de aplicações SDL
 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}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
 Statis SDL_image libraries.
 
-%description -l pl static
+%description static -l pl
 Statyczne biblioteki SDL_image.
 
+%description static -l pt_BR
+Bibliotecas estáticas para desenvolvimento de aplicações SDL.
+
 %prep
-%setup -q 
+%setup -q
+%patch0 -p1
 
 %build
-%configure2_13 \
+rm -f acinclude.m4
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
        --enable-bmp \
        --enable-gif \
        --enable-jpg \
@@ -89,18 +95,19 @@ Statyczne biblioteki SDL_image.
 
 %install
 rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-mv -f $RPM_BUILD_ROOT%{_bindir}/showimage $RPM_BUILD_ROOT%{_bindir}/sdlshow
-
-gzip -9nf README CHANGES
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+install .libs/showimage $RPM_BUILD_ROOT%{_bindir}/sdlshow
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
 %files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/*
@@ -108,8 +115,9 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%doc *.gz
+%doc README CHANGES
 %attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
 %{_includedir}/SDL/*
 
 %files static
This page took 0.037467 seconds and 4 git commands to generate.