%define major 13 %define libname %mklibname %{name} %{major} %define develname %mklibname %{name} -d %define staticname %mklibname %{name} -d -s Summary: SDL graphics drawing primitives and other support functions Name: SDL_gfx Version: 2.0.20 Release: %mkrel 2 License: LGPLv2+ Group: System/Libraries URL: http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/index.html Source0: http://www.ferzkopp.net/Software/SDL_gfx-2.0/%{name}-%{version}.tar.gz BuildRequires: SDL-devel >= 1.2.0 BuildRequires: libpng-devel >= 1.0.8 BuildRequires: libtiff-devel BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot %description The SDL_gfx library evolved out of the SDL_gfxPrimitives code. 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's is written in plain C and can be used in C++ code. %package -n %{libname} Summary: SDL graphics drawing primitives and other support functions Group: System/Libraries %description -n %{libname} The SDL_gfx library evolved out of the SDL_gfxPrimitives code. 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's is written in plain C and can be used in C++ code. %package -n %{develname} Summary: Header files and more to develop SDL_gfx applications Group: Development/C Requires: %{libname} = %{version}-%{release} Requires: SDL-devel Provides: %{name}-devel = %{version}-%{release} Provides: lib%{name}-devel = %{version}-%{release} Obsoletes: %mklibname %{name} 0 -d %description -n %{develname} Header files and more to develop SDL_gfx applications. %package -n %{staticname} Summary: Static SDL_gfx libraries Group: Development/C Requires: %{develname} = %{version}-%{release} Obsoletes: %mklibname %{name} 0 -d -s %description -n %{staticname} Static SDL_gfx libraries. %prep %setup -q %build autoreconf -fi %configure2_5x --disable-mmx %make %install rm -rf %{buildroot} %makeinstall_std %clean rm -rf %{buildroot} %if %mdkversion < 200900 %post -n %{libname} -p /sbin/ldconfig %endif %if %mdkversion < 200900 %postun -n %{libname} -p /sbin/ldconfig %endif %files -n %{libname} %defattr(-,root,root) %{_libdir}/lib*.so.%{major}* %files -n %{develname} %defattr(-,root,root) %doc README ChangeLog AUTHORS Docs %{_libdir}/lib*.so %{_libdir}/lib*.la %{_libdir}/pkgconfig/*.pc %{_includedir}/* %files -n %{staticname} %defattr(-,root,root) %{_libdir}/lib*.a %changelog * Sun Nov 08 2009 Funda Wang <fundawang@mandriva.org> 2.0.20-2mdv2010.1 + Revision: 463102 - rebuild * Sun Sep 27 2009 Funda Wang <fundawang@mandriva.org> 2.0.20-1mdv2010.0 + Revision: 449952 - use autoreconf - fix file list + Götz Waschk <waschk@mandriva.org> - new version - new major - update source URL * Sun Aug 09 2009 Oden Eriksson <oeriksson@mandriva.com> 2.0.18-2mdv2010.0 + Revision: 413008 - rebuild * Sun Dec 21 2008 Götz Waschk <waschk@mandriva.org> 2.0.18-1mdv2009.1 + Revision: 317117 - update to new version 2.0.18 * Thu Aug 07 2008 Thierry Vignaud <tvignaud@mandriva.com> 2.0.17-2mdv2009.0 + Revision: 265681 - rebuild early 2009.0 package (before pixel changes) + Pixel <pixel@mandriva.com> - do not call ldconfig in %%post/%%postun, it is now handled by filetriggers * Sun Jun 08 2008 Funda Wang <fundawang@mandriva.org> 2.0.17-1mdv2009.0 + Revision: 216799 - New version 2.0.17 * Thu Jan 17 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 2.0.16-4mdv2008.1 + Revision: 153934 - rebuild due to wrong tag * Sun Jan 13 2008 Tomasz Pawel Gajc <tpg@mandriva.org> 2.0.16-3mdv + Revision: 150944 - new license policy - drop br on old automake-1.8 + Olivier Blin <oblin@mandriva.com> - restore BuildRoot + Thierry Vignaud <tvignaud@mandriva.com> - kill re-definition of %%buildroot on Pixel's request * Mon Nov 05 2007 Götz Waschk <waschk@mandriva.org> 2.0.16-2mdv2008.1 + Revision: 106109 - new devel name * Tue Feb 06 2007 Götz Waschk <waschk@mandriva.org> 2.0.16-1mdv2007.0 + Revision: 116601 - new version * Wed Dec 27 2006 Götz Waschk <waschk@mandriva.org> 2.0.15-2mdv2007.1 + Revision: 102136 - rebuild - new version * Wed Dec 20 2006 Götz Waschk <waschk@mandriva.org> 2.0.14-1mdv2007.1 + Revision: 100505 - Import SDL_gfx * Wed Dec 20 2006 Götz Waschk <waschk@mandriva.org> 2.0.14-1mdv2007.1 - new major - New version 2.0.14 * Tue Aug 01 2006 Götz Waschk <waschk@mandriva.org> 2.0.13-1mdv2007.0 - Rebuild * Thu Jul 20 2006 Per Ãyvind Karlsen <pkarlsen@mandriva.com> 2.0.13-5mdv2007.0 - fix provides * Tue May 16 2006 Stefan van der Eijk <stefan@eijk.nu> 2.0.13-4mdk - rebuild for sparc * Sun Jan 08 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 2.0.13-3mdk - Rebuild * Wed Dec 28 2005 Götz Waschk <waschk@mandriva.org> 2.0.13-2mdk - Rebuild - use mkrel * Wed Dec 22 2004 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 2.0.13-1mdk - 2.0.13 - major 13 * Tue Nov 09 2004 G?tz Waschk <waschk@linux-mandrake.com> 2.0.12-1mdk - drop patch - major 12 - New release 2.0.12 * Sat Jun 05 2004 Götz Waschk <waschk@linux-mandrake.com> 2.0.11-3mdk - auto* fix * Thu May 20 2004 Götz Waschk <waschk@linux-mandrake.com> 2.0.11-2mdk - fix typo breaking SDL-perl * Wed May 19 2004 Götz Waschk <waschk@linux-mandrake.com> 2.0.11-1mdk - fix source URL - new major - New release 2.0.11