From b8bcb2335009bbb3d6b011e934dc42d323b7de81017399e195ea417e444f22bd Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Thu, 28 May 2009 22:36:19 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/SDL_gfx?expand=0&rev=8 --- SDL_gfx.changes | 5 +++++ SDL_gfx.spec | 54 ++++++++++++++++++++++++++++++++++++++++--------- baselibs.conf | 1 + 3 files changed, 50 insertions(+), 10 deletions(-) create mode 100644 baselibs.conf diff --git a/SDL_gfx.changes b/SDL_gfx.changes index dc614a2..58d1e83 100644 --- a/SDL_gfx.changes +++ b/SDL_gfx.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed May 20 15:55:09 CEST 2009 - prusnak@suse.cz + +- follow Shared Library Policy + ------------------------------------------------------------------- Tue May 19 13:29:53 CEST 2009 - prusnak@suse.cz diff --git a/SDL_gfx.spec b/SDL_gfx.spec index 6ea6d16..21996db 100644 --- a/SDL_gfx.spec +++ b/SDL_gfx.spec @@ -19,11 +19,11 @@ Name: SDL_gfx -BuildRequires: SDL-devel +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: 1 +Release: 2 Source0: %{name}-%{version}.tar.bz2 License: LGPL v2.1 or later Group: System/Libraries @@ -52,13 +52,45 @@ Authors: -------- Andreas Schiffler -%package devel +%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 + +%package -n libSDL_gfx-devel License: LGPL v2.1 or later Summary: Libraries, includes and more to develop SDL_gfx applications -Group: System/Libraries -Requires: %{name} = %{version} SDL-devel pkgconfig +Group: Development/Libraries/C and C++ +Requires: libSDL_gfx13 = %{version} libSDL-devel pkgconfig +Provides: SDL_gfx-devel = %{version} +Obsoletes: SDL_gfx-devel < %{version} -%description devel +%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 @@ -92,25 +124,27 @@ Authors: make install DESTDIR=$RPM_BUILD_ROOT %{__rm} -f %{buildroot}%{_libdir}/*.la -%post -p /sbin/ldconfig +%post -n libSDL_gfx13 -p /sbin/ldconfig -%postun -p /sbin/ldconfig +%postun -n libSDL_gfx13 -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT -%files +%files -n libSDL_gfx13 %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog LICENSE NEWS README %{_libdir}/lib*.so.* -%files devel +%files -n libSDL_gfx-devel %defattr(-,root,root) %{_includedir}/SDL/* %{_libdir}/lib*.so %{_libdir}/pkgconfig/SDL_gfx.pc %changelog +* Wed May 20 2009 prusnak@suse.cz +- follow Shared Library Policy * Tue May 19 2009 prusnak@suse.cz - updated to 2.0.19 * gcc43 compiler patch for asm code in image filters diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..eb2fe40 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +libSDL_gfx13