SHA256
1
0
forked from pool/SDL_gfx

Accepting request 207534 from games

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/207534
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_gfx?expand=0&rev=25
This commit is contained in:
Tomáš Chvátal 2013-11-19 15:29:08 +00:00 committed by Git OBS Bridge
commit fe48db3e23
5 changed files with 40 additions and 49 deletions

View File

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

3
SDL_gfx-2.0.25.tar.xz Normal file
View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Nov 11 03:49:34 UTC 2013 - jengelh@inai.de
- Update to new upstream release 2.0.25
* Unspecified bugfixes related to MMX support, _aaline,
SDL_gfxBlitFunc.h, 32-bit RGBA blending function and pixel
blend routine
- Set RPM groups to the same values as on the main SDL packages
- Own /usr/include/SDL as well
-------------------------------------------------------------------
Wed Feb 22 17:16:10 UTC 2012 - jreidinger@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package SDL_gfx
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products 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,63 +16,45 @@
#
Name: SDL_gfx
BuildRequires: libSDL-devel
Url: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
%define lname libSDL_gfx15
Version: 2.0.25
Release: 0
Summary: SDL Graphics Routines for Primitives and Other Support Functions
Version: 2.0.23
Release: 1
Source0: %{name}-%{version}.tar.gz
Source1: baselibs.conf
License: Zlib
Group: System/Libraries
Group: Development/Libraries/X11
Url: http://www.ferzkopp.net/joomla/content/view/19/14/
Source: %name-%version.tar.xz
Source2: baselibs.conf
BuildRequires: libSDL-devel
BuildRequires: xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
provided basic drawing routines such as lines, circles or polygons and
SDL_rotozoom which implemented a interpolating rotozoomer for SDL
surfaces. The current components of the SDL_gfx library are:
surfaces.
- Graphic Primitives (SDL_gfxPrimitives.h)
- Rotozoomer (SDL_rotozoom.h)
- Framerate control (SDL_framerate.h)
- MMX image filters (SDL_imageFilter.h)
The library is backwards compatible to the above mentioned code. It is
written in plain C and can be used in C++ code.
%package -n libSDL_gfx13
%package -n %lname
Summary: SDL Graphics Routines for Primitives and Other Support Functions
Group: System/Libraries
Provides: SDL_gfx = %{version}
Obsoletes: SDL_gfx < %{version}
%description -n libSDL_gfx13
%description -n %lname
The SDL_gfx library evolved out of the SDL_gfxPrimitives code which
provided basic drawing routines such as lines, circles or polygons and
SDL_rotozoom which implemented a interpolating rotozoomer for SDL
surfaces. The current components of the SDL_gfx library are:
- Graphic Primitives (SDL_gfxPrimitives.h)
- Rotozoomer (SDL_rotozoom.h)
- Framerate control (SDL_framerate.h)
- MMX image filters (SDL_imageFilter.h)
The library is backwards compatible to the above mentioned code. It is
written in plain C and can be used in C++ code.
surfaces.
%package -n libSDL_gfx-devel
Summary: Libraries, includes and more to develop SDL_gfx applications
Group: Development/Libraries/C and C++
Requires: libSDL_gfx13 = %{version} libSDL-devel pkgconfig
Group: Development/Libraries/X11
Requires: %lname = %version
Requires: libSDL-devel
Requires: pkgconfig
Provides: SDL_gfx-devel = %{version}
Obsoletes: SDL_gfx-devel < %{version}
@ -88,7 +70,7 @@ surfaces. The current components of the SDL_gfx library are:
- Framerate control (SDL_framerate.h)
- MMX image filters (SDL_imageFilter.h)
- MMX image filters (SDL_imageFilter.h)
The library is backwards compatible to the above mentioned code. It is
written in plain C and can be used in C++ code.
@ -104,18 +86,17 @@ make %{?_smp_mflags}
make install DESTDIR=$RPM_BUILD_ROOT
%{__rm} -f %{buildroot}%{_libdir}/*.la
%post -n libSDL_gfx13 -p /sbin/ldconfig
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%postun -n libSDL_gfx13 -p /sbin/ldconfig
%files -n libSDL_gfx13
%files -n %lname
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog LICENSE NEWS README
%{_libdir}/lib*.so.*
%_libdir/libSDL_gfx.so.15*
%files -n libSDL_gfx-devel
%defattr(-,root,root)
%{_includedir}/SDL/*
%{_includedir}/SDL/
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/SDL_gfx.pc

View File

@ -1,6 +1,6 @@
libSDL_gfx13
libSDL_gfx15
provides "SDL_gfx-<targettype> = <version>"
obsoletes "SDL_gfx-<targettype> <= <version>"
libSDL_gfx-devel
requires -libSDL_gfx-<targettype>
requires "libSDL_gfx13-<targettype> = <version>"
requires "libSDL_gfx15-<targettype> = <version>"