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