1
0
forked from pool/SDL_image
OBS User unknown 2009-05-28 21:26:30 +00:00 committed by Git OBS Bridge
parent 6d52e75c4c
commit 50a670b51c
3 changed files with 38 additions and 11 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 20 16:10:42 CEST 2009 - prusnak@suse.cz
- follow Shared Library Policy
-------------------------------------------------------------------
Tue May 19 15:42:59 CEST 2009 - prusnak@suse.cz

View File

@ -19,11 +19,11 @@
Name: SDL_image
BuildRequires: SDL-devel libjpeg-devel libpng-devel libtiff-devel xorg-x11-devel
BuildRequires: libSDL-devel libjpeg-devel libpng-devel libtiff-devel xorg-x11-devel
Url: http://www.libsdl.org/projects/SDL_image/
Summary: Simple DirectMedia Layer--Sample Image Loading Library
Version: 1.2.7
Release: 1
Release: 2
Source: %{name}-%{version}.tar.bz2
License: LGPL v2.1 or later
Group: System/Libraries
@ -40,13 +40,33 @@ Authors:
--------
Sam Lantinga <slouken@devolution.com>
%package devel
%package -n libSDL_image-1_2-0
Summary: Simple DirectMedia Layer--Sample Image Loading Library
Group: System/Libraries
License: LGPL v2.1 or later
Provides: SDL_image = %{version}
Obsoletes: SDL_image < %{version}
%description -n libSDL_image-1_2-0
This is a simple library to load images of various formats as SDL
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
formats.
Authors:
--------
Sam Lantinga <slouken@devolution.com>
%package -n libSDL_image-devel
License: LGPL v2.1 or later
Summary: Libraries, includes and more to develop SDL_image applications
Group: Development/Libraries/X11
Requires: %{name} = %{version} SDL-devel
Group: Development/Libraries/C and C++
Requires: libSDL_image-1_2-0 = %{version} libSDL-devel
Provides: SDL_image-devel = %{version}
Obsoletes: SDL_image-devel < %{version}
%description devel
%description -n libSDL_image-devel
This is a simple library to load images of various formats as SDL
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
formats.
@ -68,24 +88,26 @@ make %{?jobs:-j %jobs}
make install DESTDIR=$RPM_BUILD_ROOT
%{__rm} -f %{buildroot}%{_libdir}/*.la
%post -p /sbin/ldconfig
%post -n libSDL_image-1_2-0 -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%postun -n libSDL_image-1_2-0 -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%files -n libSDL_image-1_2-0
%defattr(-,root,root)
%doc CHANGES COPYING README
%{_libdir}/lib*.so.*
%files devel
%files -n libSDL_image-devel
%defattr(-,root,root)
%{_includedir}/SDL
%{_libdir}/lib*.so
%changelog
* Wed May 20 2009 prusnak@suse.cz
- follow Shared Library Policy
* Tue May 19 2009 prusnak@suse.cz
- updated to 2.1.7
* Fixed buffer overflow in BMP loading code

View File

@ -1 +1 @@
SDL_image
libSDL_image-1_2-0