1
0
forked from pool/SDL_image

Accepting request 195365 from games

- Enable WEBP support (forwarded request 187066 from jengelh)

OBS-URL: https://build.opensuse.org/request/show/195365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_image?expand=0&rev=27
This commit is contained in:
Tomáš Chvátal 2013-08-19 09:13:10 +00:00 committed by Git OBS Bridge
commit 7082807c48
2 changed files with 28 additions and 17 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Aug 13 12:04:26 UTC 2013 - jengelh@inai.de
- Some metadata spruce-up: add current URLs, softer wildcarding
in the files list
- Enable WEBP support
-------------------------------------------------------------------
Thu Jan 3 02:02:36 UTC 2013 - crrodriguez@opensuse.org

View File

@ -17,42 +17,46 @@
Name: SDL_image
BuildRequires: libSDL-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: libtiff-devel
Url: http://www.libsdl.org/projects/SDL_image/
%define lname libSDL_image-1_2-0
Summary: Simple DirectMedia Layer--Sample Image Loading Library
License: LGPL-2.1+
Group: System/Libraries
Group: Development/Libraries/X11
Version: 1.2.12
Release: 0
Url: http://libsdl.org/projects/SDL_image/release-1.2.html
# removed VisualC.zip, VisualCE.zip, Watcom-OS2.zip, Xcode.tar.gz, Xcode_iPhone.tar.gz from upstream tarball [bnc#508084]
Source: %{name}-%{version}-repack.tar.bz2
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: libSDL-devel
BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libpng)
BuildRequires: pkgconfig(libwebp)
%description
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.
%package -n libSDL_image-1_2-0
%package -n %lname
Summary: Simple DirectMedia Layer--Sample Image Loading Library
Group: System/Libraries
Provides: SDL_image = %{version}
Obsoletes: SDL_image <= %{version}
%description -n libSDL_image-1_2-0
%description -n %lname
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.
%package -n libSDL_image-devel
Summary: Libraries, includes and more to develop SDL_image applications
Group: Development/Libraries/C and C++
Group: Development/Libraries/X11
Requires: %lname = %{version}
Requires: libSDL-devel
Requires: libSDL_image-1_2-0 = %{version}
Provides: SDL_image-devel = %{version}
Obsoletes: SDL_image-devel <= %{version}
@ -72,19 +76,19 @@ make %{?_smp_mflags}
make install DESTDIR=$RPM_BUILD_ROOT
%{__rm} -f %{buildroot}%{_libdir}/*.la
%post -n libSDL_image-1_2-0 -p /sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%postun -n libSDL_image-1_2-0 -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n libSDL_image-1_2-0
%files -n %lname
%defattr(-,root,root)
%doc CHANGES COPYING README
%{_libdir}/lib*.so.*
%{_libdir}/libSDL_image-1*.so.*
%files -n libSDL_image-devel
%defattr(-,root,root)
%{_includedir}/SDL
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*
%{_includedir}/SDL/
%{_libdir}/libSDL_image.so
%{_libdir}/pkgconfig/SDL_image.pc
%changelog