From 46907ae2118cec01dd0a8edbbefdc459520debc7 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 03:38:20 +0100 Subject: [PATCH] automatic version update by autodist [release 2.0.24-1mamba;Sat Dec 01 2012] --- README.md | 10 +++++ libSDL_gfx.spec | 107 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 117 insertions(+) create mode 100644 libSDL_gfx.spec diff --git a/README.md b/README.md index 5f00ee3..39cb4d8 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,12 @@ # libSDL_gfx +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. +Its is written in plain C and can be used in C++ code. + diff --git a/libSDL_gfx.spec b/libSDL_gfx.spec new file mode 100644 index 0000000..8f35b9a --- /dev/null +++ b/libSDL_gfx.spec @@ -0,0 +1,107 @@ +Name: libSDL_gfx +Version: 2.0.24 +Release: 1mamba +Summary: SDL graphics drawing primitives and other support functions +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.ferzkopp.net/joomla/content/view/19/14/ +Source: http://downloads.sourceforge.net/project/sdlgfx/SDL_gfx-%{version}.tar.gz +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libSDL-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%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_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. +Its is written in plain C and can be used in C++ code. + +%package devel +Group: Development/Libraries +Summary: Static libraries and headers for %{name} +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description 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. +Its is written in plain C and can be used in C++ code. + +This package contains static libraries and header files need for development. + +%prep +%setup -q -n SDL_gfx-%{version} + +%build +%configure \ +%ifnarch %{ix86} x86_64 + --disable-mmx +%endif + +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_libdir}/libSDL_gfx.so.* +%doc AUTHORS COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/SDL/*.h +%{_libdir}/*.a +%{_libdir}/*.la +%{_libdir}/*.so +%{_libdir}/pkgconfig/SDL_gfx.pc +%doc ChangeLog LICENSE NEWS README +%doc Docs/* + +%changelog +* Sat Dec 01 2012 Automatic Build System 2.0.24-1mamba +- automatic version update by autodist + +* Fri Dec 16 2011 Silvan Calarco 2.0.23-1mamba +- update to 2.0.23 + +* Mon Nov 01 2010 Davide Madrisan 2.0.22-1mamba +- update to 2.0.22 + +* Wed Jul 09 2008 gil 2.0.17-1mamba +- update to 2.0.17 + +* Wed Oct 25 2006 Silvan Calarco 2.0.13-2qilnx +- rebuilt + +* Fri Jun 10 2005 Alessandro Ramazzina 2.0.13-1qilnx +- update to version 2.0.13 by autospec + +* Thu Aug 06 2004 Davide Madrisan 2.0.11-2qilnx +- added missing calls to /sbin/ldconfig + +* Thu Aug 05 2004 Davide Madrisan 2.0.11-1qilnx +- package creation