libSDL_gfx/libSDL_gfx.spec

114 lines
3.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: libSDL_gfx
Version: 2.0.27
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: https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
Source: http://www.ferzkopp.net/Software/SDL_gfx-2.0/SDL_gfx-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libSDL-devel
## AUTOBUILDREQ-END
%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 needed for development.
%debug_package
%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}/libSDL_gfx.a
%{_libdir}/libSDL_gfx.so
%{_libdir}/pkgconfig/SDL_gfx.pc
%doc ChangeLog LICENSE NEWS README
%doc Docs/*
%changelog
* Thu Dec 14 2023 Automatic Build System <autodist@mambasoft.it> 2.0.27-1mamba
- automatic version update by autodist
* Fri Jun 18 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.26-1mamba
- update to 2.0.26
* 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
* Fri 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