2006-12-20 20:33:08 +01:00
|
|
|
#
|
2011-03-14 10:54:38 +01:00
|
|
|
# spec file for package SDL_gfx
|
2006-12-20 20:33:08 +01:00
|
|
|
#
|
2013-11-11 04:53:34 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-20 20:33:08 +01:00
|
|
|
#
|
2009-03-02 01:35:43 +01:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2006-12-20 20:33:08 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: SDL_gfx
|
2013-11-11 04:53:34 +01:00
|
|
|
Version: 2.0.25
|
|
|
|
Release: 0
|
2006-12-20 20:33:08 +01:00
|
|
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
2012-02-23 14:53:41 +01:00
|
|
|
License: Zlib
|
2013-11-11 04:53:34 +01:00
|
|
|
Group: Development/Libraries/X11
|
2013-11-11 04:59:50 +01:00
|
|
|
Url: http://www.ferzkopp.net/joomla/content/view/19/14/
|
2013-11-11 04:53:34 +01:00
|
|
|
|
|
|
|
Source: %name-%version.tar.xz
|
|
|
|
Source2: baselibs.conf
|
|
|
|
BuildRequires: libSDL-devel
|
|
|
|
BuildRequires: xz
|
2006-12-20 20:33:08 +01:00
|
|
|
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
|
2013-11-11 04:53:34 +01:00
|
|
|
surfaces.
|
2006-12-20 20:33:08 +01:00
|
|
|
|
2009-05-29 00:36:19 +02:00
|
|
|
%package -n libSDL_gfx13
|
|
|
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
|
|
|
Group: System/Libraries
|
|
|
|
Provides: SDL_gfx = %{version}
|
2012-02-23 14:53:41 +01:00
|
|
|
Obsoletes: SDL_gfx < %{version}
|
2009-05-29 00:36:19 +02:00
|
|
|
|
|
|
|
%description -n libSDL_gfx13
|
|
|
|
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
|
2013-11-11 04:53:34 +01:00
|
|
|
surfaces.
|
2009-05-29 00:36:19 +02:00
|
|
|
|
|
|
|
%package -n libSDL_gfx-devel
|
2006-12-20 20:33:08 +01:00
|
|
|
Summary: Libraries, includes and more to develop SDL_gfx applications
|
2013-11-11 04:53:34 +01:00
|
|
|
Group: Development/Libraries/X11
|
|
|
|
Requires: libSDL-devel
|
|
|
|
Requires: libSDL_gfx13 = %{version}
|
|
|
|
Requires: pkgconfig
|
2009-05-29 00:36:19 +02:00
|
|
|
Provides: SDL_gfx-devel = %{version}
|
2012-02-23 14:53:41 +01:00
|
|
|
Obsoletes: SDL_gfx-devel < %{version}
|
2006-12-20 20:33:08 +01:00
|
|
|
|
2009-05-29 00:36:19 +02:00
|
|
|
%description -n libSDL_gfx-devel
|
2006-12-20 20:33:08 +01:00
|
|
|
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_gfxPrimitves.h)
|
|
|
|
|
|
|
|
- Rotozoomer (SDL_rotozoom.h)
|
|
|
|
|
|
|
|
- Framerate control (SDL_framerate.h)
|
|
|
|
|
2013-11-11 04:53:34 +01:00
|
|
|
- MMX image filters (SDL_imageFilter.h)
|
2006-12-20 20:33:08 +01:00
|
|
|
|
|
|
|
The library is backwards compatible to the above mentioned code. It is
|
|
|
|
written in plain C and can be used in C++ code.
|
|
|
|
|
|
|
|
%prep
|
2009-05-20 02:06:23 +02:00
|
|
|
%setup -q
|
2006-12-20 20:33:08 +01:00
|
|
|
|
|
|
|
%build
|
2009-03-02 01:35:43 +01:00
|
|
|
%configure --disable-static --with-pic --disable-mmx
|
2011-07-05 02:47:36 +02:00
|
|
|
make %{?_smp_mflags}
|
2006-12-20 20:33:08 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
2009-03-02 01:35:43 +01:00
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
2006-12-20 20:33:08 +01:00
|
|
|
|
2009-05-29 00:36:19 +02:00
|
|
|
%post -n libSDL_gfx13 -p /sbin/ldconfig
|
2006-12-20 20:33:08 +01:00
|
|
|
|
2009-05-29 00:36:19 +02:00
|
|
|
%postun -n libSDL_gfx13 -p /sbin/ldconfig
|
2006-12-20 20:33:08 +01:00
|
|
|
|
2009-05-29 00:36:19 +02:00
|
|
|
%files -n libSDL_gfx13
|
2006-12-20 20:33:08 +01:00
|
|
|
%defattr(-,root,root)
|
2009-05-20 02:06:23 +02:00
|
|
|
%doc AUTHORS COPYING ChangeLog LICENSE NEWS README
|
|
|
|
%{_libdir}/lib*.so.*
|
2006-12-20 20:33:08 +01:00
|
|
|
|
2009-05-29 00:36:19 +02:00
|
|
|
%files -n libSDL_gfx-devel
|
2006-12-20 20:33:08 +01:00
|
|
|
%defattr(-,root,root)
|
2013-11-11 04:53:34 +01:00
|
|
|
%{_includedir}/SDL/
|
2009-05-20 02:06:23 +02:00
|
|
|
%{_libdir}/lib*.so
|
|
|
|
%{_libdir}/pkgconfig/SDL_gfx.pc
|
2008-06-26 00:30:23 +02:00
|
|
|
|
2007-11-19 10:26:58 +01:00
|
|
|
%changelog
|