1 Summary: SDL graphics drawing primitives and other support functions
2 Summary(pl.UTF-8): Funkcje rysowania grafiki i inne dla SDL
8 Source0: http://www.ferzkopp.net/Software/SDL_gfx-2.0/%{name}-%{version}.tar.gz
9 # Source0-md5: b107fd478d3d1269d7a6ff42906f0482
10 Patch0: %{name}-local-labels.patch
11 URL: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
12 BuildRequires: SDL-devel >= 1.2.0
13 BuildRequires: autoconf >= 2.59-9
14 BuildRequires: automake
15 BuildRequires: libjpeg-devel
16 BuildRequires: libpng >= 1.0.8
17 BuildRequires: libtiff-devel
18 BuildRequires: libtool
19 BuildRequires: zlib-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 The SDL_gfx library evolved out of the SDL_gfxPrimitives code.
25 The current components of the SDL_gfx library are:
26 - Graphic Primitives (SDL_gfxPrimitves.h)
27 - Rotozoomer (SDL_rotozoom.h)
28 - Framerate control (SDL_framerate.h)
29 - MMX image filters (SDL_imageFilter.h)
31 The library is backwards compatible to the above mentioned code. It's
32 is written in plain C and can be used in C++ code.
34 %description -l pl.UTF-8
35 Biblioteka SDL_gfx wyewoluowała z kodu SDL_gfxPrimitives.
37 Aktualnie SDL_gfx zawiera następujące komponenty:
38 - prymitywy graficzne (SDL_gfxPrimitives.h)
39 - Rotozoomer (SDL_rotozoom.h)
40 - kontrola szybkości rysowania obrazu (SDL_framerate.h)
41 - filtry obrazów używające MMX (SDL_imageFilter.h).
43 Biblioteka jest wstecznie kompatybilna z wyżej wspomnianym kodem. Jest
44 napisana w czystym C, może też być używana w kodzie C++.
47 Summary: Header files and more to develop SDL_gfx applications
48 Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx
49 Group: Development/Libraries
50 Requires: %{name} = %{version}-%{release}
54 Header files and more to develop SDL_gfx applications.
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx.
60 Summary: Static SDL_gfx libraries
61 Summary(pl.UTF-8): Statyczne biblioteki SDL_gfx
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
66 Static SDL_gfx libraries.
68 %description static -l pl.UTF-8
69 Statyczne biblioteki SDL_gfx.
90 rm -rf $RPM_BUILD_ROOT
93 DESTDIR=$RPM_BUILD_ROOT
96 rm -rf $RPM_BUILD_ROOT
98 %post -p /sbin/ldconfig
99 %postun -p /sbin/ldconfig
102 %defattr(644,root,root,755)
103 %doc README AUTHORS ChangeLog
104 %attr(755,root,root) %{_libdir}/libSDL_gfx.so.*.*.*
105 %attr(755,root,root) %ghost %{_libdir}/libSDL_gfx.so.0
108 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libSDL_gfx.so
111 %{_libdir}/libSDL_gfx.la
112 %{_includedir}/SDL/SDL_framerate.h
113 %{_includedir}/SDL/SDL_gfx*.h
114 %{_includedir}/SDL/SDL_imageFilter.h
115 %{_includedir}/SDL/SDL_rotozoom.h
118 %defattr(644,root,root,755)
119 %{_libdir}/libSDL_gfx.a