pkg://SDL_gfx-2.0.13-1mdk.src.rpm:544458/SDL_gfx.spec
info downloads
%define name SDL_gfx
%define version 2.0.13
%define release 1mdk
%define major 13
%define libname %mklibname %{name} %{major}
Summary: SDL graphics drawing primitives and other support functions
Name: %{name}
Version: %{version}
Release: %{release}
License: LGPL
Group: System/Libraries
Source0: http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/%{name}-%{version}.tar.bz2
URL: http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/index.html
BuildRequires: SDL-devel >= 1.2.0
BuildRequires: libpng-devel >= 1.0.8
BuildRequires: libtiff-devel
BuildRequires: automake1.8
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
%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 %{libname}-devel
Summary: Header files and more to develop SDL_gfx applications
Group: Development/C
Requires: %{libname} = %{version}-%release
Requires: SDL-devel
Provides: lib%{name}-devel = %version-%release
%description -n %{libname}-devel
Header files and more to develop SDL_gfx applications.
%package -n %{libname}-static-devel
Summary: Static SDL_gfx libraries
Group: Development/C
Requires: %{libname}-devel = %{version}-%release
%description -n %{libname}-static-devel
Static SDL_gfx libraries.
%prep
%setup -q
%build
rm -f missing acinclude.m4 configure
libtoolize --force
aclocal-1.8
automake-1.8 -a
autoconf
%configure2_5x --disable-mmx
%make
%install
rm -rf $RPM_BUILD_ROOT
%{makeinstall_std}
%clean
rm -rf $RPM_BUILD_ROOT
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%defattr(-,root,root)
%{_libdir}/lib*.so.*
%files -n %{libname}-devel
%defattr(-,root,root)
%doc README ChangeLog AUTHORS Docs
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_includedir}/*
%files -n %{libname}-static-devel
%defattr(-,root,root)
%{_libdir}/lib*.a
%changelog
* Wed Dec 22 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 2.0.13-1mdk
- 2.0.13
- major 13
* Tue Nov 9 2004 Götz Waschk <waschk@linux-mandrake.com> 2.0.12-1mdk
- drop patch
- major 12
- New release 2.0.12
* Fri Jun 4 2004 Götz Waschk <waschk@linux-mandrake.com> 2.0.11-3mdk
- auto* fix
* Wed May 19 2004 Götz Waschk <waschk@linux-mandrake.com> 2.0.11-2mdk
- fix typo breaking SDL-perl
* Tue May 18 2004 Götz Waschk <waschk@linux-mandrake.com> 2.0.11-1mdk
- fix source URL
- new major
- New release 2.0.11
* Fri Dec 12 2003 Götz Waschk <waschk@linux-mandrake.com> 2.0.10-1mdk
- new version
* Tue Nov 4 2003 Götz Waschk <waschk@linux-mandrake.com> 2.0.9-1mdk
- new major
- new version
* Thu Jul 17 2003 Götz Waschk <waschk@linux-mandrake.com> 2.0.8-1mdk
- new major
- new version
* Tue Jul 15 2003 Götz Waschk <waschk@linux-mandrake.com> 2.0.7-2mdk
- rebuild for new rpm
* Sun Jun 8 2003 Götz Waschk <waschk@linux-mandrake.com> 2.0.7-1mdk
- fix build
- fix buildrequires
- new major
- new version
* Sat May 31 2003 Austin Acton <aacton@yorku.ca> 2.0.3-4mdk
- rebuild for rpm-4.2
* Tue Mar 11 2003 Götz Waschk <waschk@linux-mandrake.com> 2.0.3-3mdk
- mklibname macro
* Fri Dec 27 2002 Götz Waschk <waschk@linux-mandrake.com> 2.0.3-2mdk
- add missing file
* Mon Aug 5 2002 Götz Waschk <waschk@linux-mandrake.com> 2.0.3-1mdk
- initial MDK package based on PLD work