108 lines
3.3 KiB
RPMSpec
108 lines
3.3 KiB
RPMSpec
|
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 <silvan.calarco@mambasoft.it>
|
||
|
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 <autodist@mambasoft.it> 2.0.24-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Fri Dec 16 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.23-1mamba
|
||
|
- update to 2.0.23
|
||
|
|
||
|
* Mon Nov 01 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.0.22-1mamba
|
||
|
- update to 2.0.22
|
||
|
|
||
|
* Wed Jul 09 2008 gil <puntogil@libero.it> 2.0.17-1mamba
|
||
|
- update to 2.0.17
|
||
|
|
||
|
* Wed Oct 25 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.13-2qilnx
|
||
|
- rebuilt
|
||
|
|
||
|
* Fri Jun 10 2005 Alessandro Ramazzina <alessandro.ramazzina@qilinux.it> 2.0.13-1qilnx
|
||
|
- update to version 2.0.13 by autospec
|
||
|
|
||
|
* Thu Aug 06 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.0.11-2qilnx
|
||
|
- added missing calls to /sbin/ldconfig
|
||
|
|
||
|
* Thu Aug 05 2004 Davide Madrisan <davide.madrisan@qilinux.it> 2.0.11-1qilnx
|
||
|
- package creation
|