📄 sdl_gfx.spec
字号:
%define prefix %{_prefix}%define version 2.0.12%define release 1%define _unpackaged_files_terminate_build 0Summary: SDL graphics drawing primitives and other support functionsName: SDL_gfxVersion: %{version}Release: %{release}License: LGPLGroup: System Environment/LibrariesPrefix: %{prefix}Source: http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/SDL_gfx-2.0.12.tar.gzPackager: Danny Sung <dannys at mail.com>Vendor: Andreas Schiffler <aschiffler at appwares.com>BuildRoot: /tmp/%{name}-root-%{version}%descriptionThe SDL_gfx library evolved out of the SDL_gfxPrimitives code whichprovided basic drawing routines such as lines, circles or polygons andSDL_rotozoom which implemented a interpolating rotozoomer for SDLsurfaces.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. Itsis written in plain C and can be used in C++ code.%package develSummary: Libraries and includes to develop SDL_gfx programsGroup: Development/LibrariesRequires: %{name} = %{version}%description develThe SDL_gfx library evolved out of the SDL_gfxPrimitives code whichprovided basic drawing routines such as lines, circles or polygons andSDL_rotozoom which implemented a interpolating rotozoomer for SDLsurfaces.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. Itsis written in plain C and can be used in C++ code.%package demosSummary: SDL_gfx demo programsGroup: Applications/MultimediaRequires: %{name} = %{version}%description demosSDL_gfx demo applications and source code.%prep%setup -q%build./autogen.sh# aclocal%define _includedir /usr/include%configureCFLAGS=$RPM_OPT_FLAGS makecd Test CFLAGS="-I../" LDFLAGS="-L../.libs/" ./configure --libdir=../.libs/ --includedir=../makecd ..%install%makeinstallinstall -m755 -d $RPM_BUILD_ROOT%{_datadir}/SDL_gfx-demoscp Test/* $RPM_BUILD_ROOT%{_datadir}/SDL_gfx-demos%cleanrm -rf $RPM_BUILD_ROOT%files%defattr(-,root,root)%{_libdir}/libSDL_gfx.so*%files devel%defattr(-,root,root)%doc AUTHORS COPYING ChangeLog INSTALL LICENSE NEWS README%doc Docs/%{_libdir}/libSDL_gfx.a%{_libdir}/libSDL_gfx.la%{_includedir}/SDL/SDL_framerate.h%{_includedir}/SDL/SDL_gfxPrimitives_font.h%{_includedir}/SDL/SDL_gfxPrimitives.h%{_includedir}/SDL/SDL_imageFilter.h%{_includedir}/SDL/SDL_rotozoom.h%files demos%defattr(-,root,root)%{_datadir}/SDL_gfx-demos%changelog
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -