OBS User unknown 2009-05-28 22:36:19 +00:00 committed by Git OBS Bridge
parent 01b5814f92
commit b8bcb23350
3 changed files with 50 additions and 10 deletions

View File

@ -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

View File

@ -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 <aschiffler@appwares.com>
%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 <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: 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

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libSDL_gfx13