Accepting request 187066 from home:jengelh:branches:games
- Enable WEBP support OBS-URL: https://build.opensuse.org/request/show/187066 OBS-URL: https://build.opensuse.org/package/show/games/SDL_image?expand=0&rev=17
This commit is contained in:
parent
d1b166072c
commit
3b6e0cccbd
@ -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
|
Thu Jan 3 02:02:36 UTC 2013 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -17,42 +17,46 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: SDL_image
|
Name: SDL_image
|
||||||
BuildRequires: libSDL-devel
|
%define lname libSDL_image-1_2-0
|
||||||
BuildRequires: libjpeg-devel
|
|
||||||
BuildRequires: libpng-devel
|
|
||||||
BuildRequires: libtiff-devel
|
|
||||||
Url: http://www.libsdl.org/projects/SDL_image/
|
|
||||||
Summary: Simple DirectMedia Layer--Sample Image Loading Library
|
Summary: Simple DirectMedia Layer--Sample Image Loading Library
|
||||||
License: LGPL-2.1+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: Development/Libraries/X11
|
||||||
Version: 1.2.12
|
Version: 1.2.12
|
||||||
Release: 0
|
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]
|
# 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
|
Source: %{name}-%{version}-repack.tar.bz2
|
||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: libSDL-devel
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: pkgconfig(libpng)
|
||||||
|
BuildRequires: pkgconfig(libwebp)
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This is a simple library to load images of various formats as SDL
|
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
|
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
|
||||||
formats.
|
formats.
|
||||||
|
|
||||||
%package -n libSDL_image-1_2-0
|
%package -n %lname
|
||||||
Summary: Simple DirectMedia Layer--Sample Image Loading Library
|
Summary: Simple DirectMedia Layer--Sample Image Loading Library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: SDL_image = %{version}
|
Provides: SDL_image = %{version}
|
||||||
Obsoletes: 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
|
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
|
surfaces. This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF
|
||||||
formats.
|
formats.
|
||||||
|
|
||||||
%package -n libSDL_image-devel
|
%package -n libSDL_image-devel
|
||||||
Summary: Libraries, includes and more to develop SDL_image applications
|
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-devel
|
||||||
Requires: libSDL_image-1_2-0 = %{version}
|
|
||||||
Provides: SDL_image-devel = %{version}
|
Provides: SDL_image-devel = %{version}
|
||||||
Obsoletes: SDL_image-devel <= %{version}
|
Obsoletes: SDL_image-devel <= %{version}
|
||||||
|
|
||||||
@ -72,19 +76,19 @@ make %{?_smp_mflags}
|
|||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
%{__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)
|
%defattr(-,root,root)
|
||||||
%doc CHANGES COPYING README
|
%doc CHANGES COPYING README
|
||||||
%{_libdir}/lib*.so.*
|
%{_libdir}/libSDL_image-1*.so.*
|
||||||
|
|
||||||
%files -n libSDL_image-devel
|
%files -n libSDL_image-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_includedir}/SDL
|
%{_includedir}/SDL/
|
||||||
%{_libdir}/lib*.so
|
%{_libdir}/libSDL_image.so
|
||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/SDL_image.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user