b437c0a943
Copy from home:jengelh:branches:games/SDL_gfx via accept of submit request 30534 revision 2. Request was accepted with message: thxX OBS-URL: https://build.opensuse.org/request/show/30534 OBS-URL: https://build.opensuse.org/package/show/games/SDL_gfx?expand=0&rev=4
147 lines
4.1 KiB
RPMSpec
147 lines
4.1 KiB
RPMSpec
#
|
|
# spec file for package SDL_gfx (Version 2.0.19)
|
|
#
|
|
# Copyright (c) 2009 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
|
|
# 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.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: SDL_gfx
|
|
BuildRequires: libSDL-devel
|
|
Url: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
|
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
|
Version: 2.0.19
|
|
Release: 3
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Source1: baselibs.conf
|
|
License: LGPL v2.1 or later
|
|
Group: System/Libraries
|
|
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:
|
|
|
|
- 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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Andreas Schiffler <aschiffler@appwares.com>
|
|
|
|
%package -n libSDL_gfx13
|
|
Summary: SDL Graphics Routines for Primitives and Other Support Functions
|
|
Group: System/Libraries
|
|
License: LGPL v2.1 or later
|
|
Provides: SDL_gfx = %{version}
|
|
Obsoletes: SDL_gfx <= %{version}
|
|
|
|
%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
|
|
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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Andreas Schiffler <aschiffler@appwares.com>
|
|
|
|
%package -n libSDL_gfx-devel
|
|
License: LGPL v2.1 or later
|
|
Summary: Libraries, includes and more to develop SDL_gfx applications
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libSDL_gfx13 = %{version} libSDL-devel pkgconfig
|
|
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
|
|
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)
|
|
|
|
- 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.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Andreas Schiffler <aschiffler@appwares.com>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
%configure --disable-static --with-pic --disable-mmx
|
|
%{__make} %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
|
|
|
%post -n libSDL_gfx13 -p /sbin/ldconfig
|
|
|
|
%postun -n libSDL_gfx13 -p /sbin/ldconfig
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files -n libSDL_gfx13
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING ChangeLog LICENSE NEWS README
|
|
%{_libdir}/lib*.so.*
|
|
|
|
%files -n libSDL_gfx-devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/SDL/*
|
|
%{_libdir}/lib*.so
|
|
%{_libdir}/pkgconfig/SDL_gfx.pc
|
|
|
|
%changelog
|