1 Summary: Graphics primitives and surface functions for SDL2
2 Summary(pl.UTF-8): Funkcje do figur graficznych i powierzchni dla SDL2
6 License: ZLib (BSD-like)
8 #Source0Download: https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
9 Source0: https://www.ferzkopp.net/Software/SDL2_gfx/%{name}-%{version}.tar.gz
10 # Source0-md5: 15f9866c6464ca298f28f62fe5b36d9f
11 Patch0: %{name}-local-labels.patch
12 URL: https://www.ferzkopp.net/wordpress/2016/01/02/sdl_gfx-sdl2_gfx/
13 BuildRequires: SDL2-devel >= 2.0.0
14 BuildRequires: autoconf >= 2.59-9
15 BuildRequires: automake
16 BuildRequires: libtool >= 2:2
17 BuildRequires: pkgconfig
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 The SDL2_gfx library provides the basic drawing functions such as
22 lines, circles or polygons provided by SDL_gfx on SDL2 against
25 The current components of the SDL_gfx2 library are:
26 - Graphic Primitives (SDL2_gfxPrimitves.h)
27 - Surface Rotozoomer (SDL2_rotozoom.h)
28 - Framerate control (SDL2_framerate.h)
29 - MMX image filters (SDL2_imageFilter.h).
31 %description -l pl.UTF-8
32 Biblioteka SDL2_gfx udostępnia użytkownikom biblioteki SDL2 podstawowe
33 funkcje do rysowania figur takich jak linie, okręgi czy wielokąty,
34 udostępniane wcześniej przez SDL_gfx.
36 Aktualnie SDL2_gfx zawiera następujące komponenty:
37 - prymitywy graficzne (SDL2_gfxPrimitives.h)
38 - Rotozoomer (SDL2_rotozoom.h)
39 - kontrola szybkości rysowania obrazu (SDL2_framerate.h)
40 - filtry obrazów używające MMX (SDL2_imageFilter.h).
43 Summary: Header files and more to develop SDL2_gfx applications
44 Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL2_gfx
45 Group: Development/Libraries
46 Requires: %{name} = %{version}-%{release}
47 Requires: SDL2-devel >= 2.0.0
50 Header files and more to develop SDL2_gfx applications.
52 %description devel -l pl.UTF-8
53 Pliki nagłówkowe do rozwijania aplikacji używających SDL2_gfx.
56 Summary: Static SDL2_gfx library
57 Summary(pl.UTF-8): Statyczna biblioteka SDL2_gfx
58 Group: Development/Libraries
59 Requires: %{name}-devel = %{version}-%{release}
62 Static SDL2_gfx library.
64 %description static -l pl.UTF-8
65 Statyczna biblioteka SDL2_gfx.
68 Summary: API documentation for SDL2_gfx library
69 Summary(pl.UTF-8): Dokumentacja API biblioteki SDL2_gfx
73 API documentation for SDL2_gfx library.
75 %description apidocs -l pl.UTF-8
76 Dokumentacja API biblioteki SDL2_gfx.
95 rm -rf $RPM_BUILD_ROOT
98 DESTDIR=$RPM_BUILD_ROOT
100 # obsoleted by pkg-config
101 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libSDL2_gfx.la
104 rm -rf $RPM_BUILD_ROOT
106 %post -p /sbin/ldconfig
107 %postun -p /sbin/ldconfig
110 %defattr(644,root,root,755)
111 %doc AUTHORS COPYING ChangeLog README
112 %attr(755,root,root) %{_libdir}/libSDL2_gfx-1.0.so.*.*.*
113 %attr(755,root,root) %ghost %{_libdir}/libSDL2_gfx-1.0.so.0
116 %defattr(644,root,root,755)
117 %attr(755,root,root) %{_libdir}/libSDL2_gfx.so
118 %{_includedir}/SDL2/SDL2_framerate.h
119 %{_includedir}/SDL2/SDL2_gfxPrimitives.h
120 %{_includedir}/SDL2/SDL2_imageFilter.h
121 %{_includedir}/SDL2/SDL2_rotozoom.h
122 %{_pkgconfigdir}/SDL2_gfx.pc
125 %defattr(644,root,root,755)
126 %{_libdir}/libSDL2_gfx.a
129 %defattr(644,root,root,755)