]> git.pld-linux.org Git - packages/SDL_gfx.git/blob - SDL_gfx.spec
- rel 2
[packages/SDL_gfx.git] / SDL_gfx.spec
1 Summary:        SDL graphics drawing primitives and other support functions
2 Summary(pl.UTF-8):      Funkcje rysowania grafiki i inne dla SDL
3 Name:           SDL_gfx
4 Version:        2.0.20
5 Release:        2
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://www.ferzkopp.net/Software/SDL_gfx-2.0/%{name}-%{version}.tar.gz
9 # Source0-md5:  8a787e538a8e4d80d4927535be5af083
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:  zlib-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 The SDL_gfx library evolved out of the SDL_gfxPrimitives code.
25
26 The current components of the SDL_gfx library are:
27 - Graphic Primitives (SDL_gfxPrimitves.h)
28 - Rotozoomer (SDL_rotozoom.h)
29 - Framerate control (SDL_framerate.h)
30 - MMX image filters (SDL_imageFilter.h)
31
32 The library is backwards compatible to the above mentioned code. It's
33 is written in plain C and can be used in C++ code.
34
35 %description -l pl.UTF-8
36 Biblioteka SDL_gfx wyewoluowała z kodu SDL_gfxPrimitives.
37
38 Aktualnie SDL_gfx zawiera następujące komponenty:
39 - prymitywy graficzne (SDL_gfxPrimitives.h)
40 - Rotozoomer (SDL_rotozoom.h)
41 - kontrola szybkości rysowania obrazu (SDL_framerate.h)
42 - filtry obrazów używające MMX (SDL_imageFilter.h).
43
44 Biblioteka jest wstecznie kompatybilna z wyżej wspomnianym kodem. Jest
45 napisana w czystym C, może też być używana w kodzie C++.
46
47 %package devel
48 Summary:        Header files and more to develop SDL_gfx applications
49 Summary(pl.UTF-8):      Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx
50 Group:          Development/Libraries
51 Requires:       %{name} = %{version}-%{release}
52 Requires:       SDL-devel
53
54 %description devel
55 Header files and more to develop SDL_gfx applications.
56
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx.
59
60 %package static
61 Summary:        Static SDL_gfx libraries
62 Summary(pl.UTF-8):      Statyczne biblioteki SDL_gfx
63 Group:          Development/Libraries
64 Requires:       %{name}-devel = %{version}-%{release}
65
66 %description static
67 Static SDL_gfx libraries.
68
69 %description static -l pl.UTF-8
70 Statyczne biblioteki SDL_gfx.
71
72 %prep
73 %setup -q
74 %patch0 -p1
75
76 %build
77 rm -f acinclude.m4
78 %{__libtoolize}
79 %{__aclocal}
80 %{__autoconf}
81 %{__automake}
82
83 %configure \
84 %ifnarch %{ix86}
85         --disable-mmx
86 %endif
87
88 %{__make}
89
90 %install
91 rm -rf $RPM_BUILD_ROOT
92
93 %{__make} install \
94         DESTDIR=$RPM_BUILD_ROOT
95
96 %clean
97 rm -rf $RPM_BUILD_ROOT
98
99 %post   -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
101
102 %files
103 %defattr(644,root,root,755)
104 %doc README AUTHORS ChangeLog
105 %attr(755,root,root) %{_libdir}/libSDL_gfx.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libSDL_gfx.so.13
107
108 %files devel
109 %defattr(644,root,root,755)
110 %doc Docs/*
111 %attr(755,root,root) %{_libdir}/libSDL_gfx.so
112 %{_libdir}/libSDL_gfx.la
113 %{_includedir}/SDL/SDL_framerate.h
114 %{_includedir}/SDL/SDL_gfx*.h
115 %{_includedir}/SDL/SDL_imageFilter.h
116 %{_includedir}/SDL/SDL_rotozoom.h
117 %{_pkgconfigdir}/SDL_gfx.pc
118
119 %files static
120 %defattr(644,root,root,755)
121 %{_libdir}/libSDL_gfx.a
This page took 0.043538 seconds and 4 git commands to generate.