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: f3794d809ed6a415fb20dcc4c8ab9f5e
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: pkgconfig
20 BuildRequires: rpmbuild(macros) >= 1.566
21 BuildRequires: sed >= 4.0
22 BuildRequires: zlib-devel
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 The SDL_gfx library evolved out of the SDL_gfxPrimitives code.
28 The current components of the SDL_gfx library are:
29 - Graphic Primitives (SDL_gfxPrimitves.h)
30 - Rotozoomer (SDL_rotozoom.h)
31 - Framerate control (SDL_framerate.h)
32 - MMX image filters (SDL_imageFilter.h)
34 The library is backwards compatible to the above mentioned code. It's
35 is written in plain C and can be used in C++ code.
37 %description -l pl.UTF-8
38 Biblioteka SDL_gfx wyewoluowała z kodu SDL_gfxPrimitives.
40 Aktualnie SDL_gfx zawiera następujące komponenty:
41 - prymitywy graficzne (SDL_gfxPrimitives.h)
42 - Rotozoomer (SDL_rotozoom.h)
43 - kontrola szybkości rysowania obrazu (SDL_framerate.h)
44 - filtry obrazów używające MMX (SDL_imageFilter.h).
46 Biblioteka jest wstecznie kompatybilna z wyżej wspomnianym kodem. Jest
47 napisana w czystym C, może też być używana w kodzie C++.
50 Summary: Header files and more to develop SDL_gfx applications
51 Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx
52 Group: Development/Libraries
53 Requires: %{name} = %{version}-%{release}
57 Header files and more to develop SDL_gfx applications.
59 %description devel -l pl.UTF-8
60 Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx.
63 Summary: Static SDL_gfx libraries
64 Summary(pl.UTF-8): Statyczne biblioteki SDL_gfx
65 Group: Development/Libraries
66 Requires: %{name}-devel = %{version}-%{release}
69 Static SDL_gfx libraries.
71 %description static -l pl.UTF-8
72 Statyczne biblioteki SDL_gfx.
76 %undos SDL_imageFilter.c
94 rm -rf $RPM_BUILD_ROOT
97 DESTDIR=$RPM_BUILD_ROOT
100 rm -rf $RPM_BUILD_ROOT
102 %post -p /sbin/ldconfig
103 %postun -p /sbin/ldconfig
106 %defattr(644,root,root,755)
107 %doc README AUTHORS ChangeLog
108 %attr(755,root,root) %{_libdir}/libSDL_gfx.so.*.*.*
109 %attr(755,root,root) %ghost %{_libdir}/libSDL_gfx.so.13
112 %defattr(644,root,root,755)
114 %attr(755,root,root) %{_libdir}/libSDL_gfx.so
115 %{_libdir}/libSDL_gfx.la
116 %{_includedir}/SDL/SDL_framerate.h
117 %{_includedir}/SDL/SDL_gfx*.h
118 %{_includedir}/SDL/SDL_imageFilter.h
119 %{_includedir}/SDL/SDL_rotozoom.h
120 %{_pkgconfigdir}/SDL_gfx.pc
123 %defattr(644,root,root,755)
124 %{_libdir}/libSDL_gfx.a