1
0
forked from pool/SDL2_image

- Rename -devel subpackage based on SRPM name

- Drop baselibs.conf (no SDL2_ttf-dependent Tumbleweed packages
  themselves have baselibs).

OBS-URL: https://build.opensuse.org/package/show/games/SDL2_image?expand=0&rev=31
This commit is contained in:
Jan Engelhardt 2022-07-09 13:13:09 +00:00 committed by Git OBS Bridge
parent 915bff0e42
commit 9d6ad20e17
3 changed files with 8 additions and 11 deletions

View File

@ -14,6 +14,9 @@ Fri Jul 8 20:20:20 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
* LoadBMP() now loads files using SDL2 * LoadBMP() now loads files using SDL2
* Allow using libwebpdecoder instead libwebp * Allow using libwebpdecoder instead libwebp
- Remove CVE-2019-13616.patch (merged) - Remove CVE-2019-13616.patch (merged)
- Rename -devel subpackage based on SRPM name
- Drop baselibs.conf (no SDL2_ttf-dependent Tumbleweed packages
themselves have baselibs).
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 23 14:04:59 UTC 2019 - Michael Gorse <mgorse@suse.com> Fri Aug 23 14:04:59 UTC 2019 - Michael Gorse <mgorse@suse.com>

View File

@ -27,7 +27,6 @@ URL: https://libsdl.org/projects/SDL_image/
#Hg-Clone: http://hg.libsdl.org/SDL_image/ #Hg-Clone: http://hg.libsdl.org/SDL_image/
Source: https://github.com/libsdl-org/SDL_image/releases/download/release-%version/SDL2_image-%version.tar.gz Source: https://github.com/libsdl-org/SDL_image/releases/download/release-%version/SDL2_image-%version.tar.gz
Source2: baselibs.conf
BuildRequires: dos2unix BuildRequires: dos2unix
BuildRequires: libjpeg-devel BuildRequires: libjpeg-devel
BuildRequires: libtiff-devel BuildRequires: libtiff-devel
@ -51,13 +50,14 @@ This is a simple library to load images of various formats as SDL
surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG, surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG,
TIFF and WEBP formats. TIFF and WEBP formats.
%package -n libSDL2_image-devel %package devel
Summary: Development files for the SDL2 image loader library Summary: Development files for the SDL2 image loader library
Group: Development/Libraries/X11 Group: Development/Libraries/X11
Requires: %lname = %version Requires: %lname = %version
Provides: SDL2_image-devel = %version-%release Obsoletes: libSDL2_image-devel < %version-%release
Provides: libSDL2_image-devel = %version-%release
%description -n libSDL2_image-devel %description devel
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 the BMP, PPM, PCX, GIF, JPEG, PNG, surfaces. This library supports the BMP, PPM, PCX, GIF, JPEG, PNG,
TIFF and WEBP formats. TIFF and WEBP formats.
@ -85,7 +85,7 @@ rm -f "%buildroot/%_libdir"/*.la
%license LICENSE.txt %license LICENSE.txt
%_libdir/libSDL2_image-2*.so.* %_libdir/libSDL2_image-2*.so.*
%files -n libSDL2_image-devel %files devel
%doc CHANGES.txt README.txt %doc CHANGES.txt README.txt
%_includedir/SDL2/ %_includedir/SDL2/
%_libdir/libSDL2_image.so %_libdir/libSDL2_image.so

View File

@ -1,6 +0,0 @@
libSDL2_image-2_0-0
provides "SDL2_image-<targettype> = <version>"
obsoletes "SDL2_image-<targettype> <= <version>"
libSDL2_image-devel
requires -libSDL2_image-<targettype>
requires "libSDL2_image-2_0-0-<targettype> = <version>"