Accepting request 628471 from home:susnux:branches:games

Reverted % to %{} where lines are not touched otherwise.

- Update to 2.0.26
  * Included patch for CMake builds against SDL2
  * Fixed bug in rotozoomSurfaceSizeTrig

OBS-URL: https://build.opensuse.org/request/show/628471
OBS-URL: https://build.opensuse.org/package/show/games/SDL_gfx?expand=0&rev=25
This commit is contained in:
Jan Engelhardt 2018-08-10 07:55:11 +00:00 committed by Git OBS Bridge
parent 42cd3bf4a9
commit 2dfd87b813
4 changed files with 23 additions and 19 deletions

View File

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

BIN
SDL_gfx-2.0.26.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Aug 9 14:21:55 UTC 2018 - rpm@fthiessen.de
- Update to 2.0.26
* Included patch for CMake builds against SDL2
* Fixed bug in rotozoomSurfaceSizeTrig
-------------------------------------------------------------------
Thu Jan 8 09:35:47 UTC 2015 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package SDL_gfx
#
# Copyright (c) 2015 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,19 @@
#
Name: SDL_gfx
%define lname libSDL_gfx15
Version: 2.0.25
Name: SDL_gfx
Version: 2.0.26
Release: 0
Summary: SDL 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
Source: http://downloads.sf.net/sdlgfx/%name-%version.tar.gz
URL: http://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
Source: http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-%{version}.tar.gz
Source2: baselibs.conf
BuildRequires: dos2unix
BuildRequires: pkgconfig
BuildRequires: pkgconfig(sdl)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
@ -39,8 +39,6 @@ surfaces.
%package -n %lname
Summary: SDL Graphics Routines for Primitives and Other Support Functions
Group: System/Libraries
Provides: SDL_gfx = %version-%release
Obsoletes: SDL_gfx < %version-%release
%description -n %lname
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
@ -52,8 +50,6 @@ surfaces.
Summary: Libraries, includes and more to develop SDL_gfx applications
Group: Development/Libraries/X11
Requires: %lname = %version
Provides: SDL_gfx-devel = %{version}
Obsoletes: SDL_gfx-devel < %{version}
%description -n libSDL_gfx-devel
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
@ -80,21 +76,22 @@ written in plain C and can be used in C++ code.
# on for x86_64 anyway - but that one can use SSE instead.
%configure --disable-static --disable-mmx
make %{?_smp_mflags}
dos2unix README
chmod 644 LICENSE AUTHORS ChangeLog NEWS README
%install
make install DESTDIR=$RPM_BUILD_ROOT
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 LICENSE NEWS README
%license LICENSE
%doc AUTHORS ChangeLog NEWS README
%_libdir/libSDL_gfx.so.15*
%files -n libSDL_gfx-devel
%defattr(-,root,root)
%_includedir/SDL/
%_libdir/lib*.so
%_libdir/pkgconfig/SDL_gfx.pc