Accepting request 628565 from games

- Update to 1.0.4:

OBS-URL: https://build.opensuse.org/request/show/628565
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL2_gfx?expand=0&rev=5
This commit is contained in:
Dominique Leuenberger 2018-08-24 15:02:56 +00:00 committed by Git OBS Bridge
commit 318e0504d2
6 changed files with 39 additions and 15 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d69bcbceb811b4e5712fbad3ede737166327f44b727f1388c32581dbbe8c599a
size 1078780

3
SDL2_gfx-1.0.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262
size 1230588

10
SDL2_gfx-1.0.4.tar.gz.asc Normal file
View File

@ -0,0 +1,10 @@
-----BEGIN PGP SIGNATURE-----
iQEcBAABAgAGBQJarIL8AAoJECMdS1jh3bhxqM8H/A4kYLM6xDiKF4HiuMcHsfKn
2Ko4DqEZtRPJDe/GeyLKfnMUsTDgb5wpjL9tw6PrJKTl18iG88yDhKdwKnQbltRf
c3L3ghuGLg4CzA1UZLPX2zSwEpQLGu28tRzLsHVv9wDtpSS/Slolf1WGtiLsN6HC
ZQ5gAFeGznuSB6ZycW0tb1ETJsgHt6wjqLN1K/3kGjrgOt2Kq6i0ICI1vcTmLnxv
ZPxhNSzub20yTw3YxPo1mRmuBVpjs7FmyNBaYWodmJxVpzeMTb6dx2Dojh7bTlAj
51384zRS57LV8GJGI9uF0S7gBBpZXjbhKEBr9HjivyfVjvP9b4+kwEyhEf8w6P0=
=Nvey
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Aug 9 14:25:33 UTC 2018 - rpm@fthiessen.de
- Added keyring to validate gpg signature of the source.
- Update to 1.0.4:
* fix int overflow in ellipseRGBA for large radii
* fix aaline wrong direction hline bug
* fix off-by-1 error in rotateSurface90Degrees
* fix to rotozoomSurfaceSizeTrig
* fix for special case of roundedBoxRGBA
-------------------------------------------------------------------
Thu Dec 18 09:46:46 UTC 2014 - jengelh@inai.de

BIN
SDL2_gfx.keyring Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
#
# spec file for package SDL2_gfx
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,19 +16,21 @@
#
Name: SDL2_gfx
%define lname libSDL2_gfx-1_0-0
Version: 1.0.1
Name: SDL2_gfx
Version: 1.0.4
Release: 0
Summary: SDL2 Graphics Routines for Primitives and Other Support Functions
License: Zlib
Group: Development/Libraries/X11
Url: http://cms.ferzkopp.net/index.php/software/13-sdl-gfx
URL: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
Source: http://www.ferzkopp.net/Software/SDL2_gfx/%name-%version.tar.gz
Source2: https://sourceforge.net/projects/sdl2gfx/files/%name-%version.tar.gz.asc
Source3: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pkgconfig
# Key: 231D4B58E1DDB871, http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/#comment-89
Source4: %name.keyring
BuildRequires: dos2unix
BuildRequires: pkg-config
BuildRequires: pkgconfig(sdl2)
%description
@ -61,21 +63,22 @@ Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) fo
%endif
--disable-static
make %{?_smp_mflags}
dos2unix ChangeLog README
chmod 644 COPYING AUTHORS ChangeLog NEWS README
%install
make install DESTDIR="%buildroot"
rm -f "%buildroot/%_libdir"/*.la
%make_install
find "%buildroot" -type f -name "*.la" -delete -print
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%files -n %lname
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%_libdir/lib*.so.*
%files -n libSDL2_gfx-devel
%defattr(-,root,root)
%_includedir/SDL2/
%_libdir/lib*.so
%_libdir/pkgconfig/*.pc