]> git.pld-linux.org Git - packages/SDL_gfx.git/blob - SDL_gfx.spec
- massive attack s/pld.org.pl/pld-linux.org/
[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.3
5 Release:        3
6 License:        LGPL
7 Group:          Libraries
8 Source0:        http://www.ferzkopp.net/Software/%{name}-2.0/%{name}-%{version}.tar.gz
9 URL:            http://www.ferzkopp.net/Software/%{name}-2.0/index.html
10 BuildRequires:  SDL-devel >= 1.2.0
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libjpeg-devel
14 BuildRequires:  libpng >= 1.0.8
15 BuildRequires:  libtiff-devel
16 BuildRequires:  libtool
17 BuildRequires:  zlib-devel
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %define         _includedir     /usr/include/SDL
21
22 %description
23 The SDL_gfx library evolved out of the SDL_gfxPrimitives code.
24
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)
30
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.
33
34 %description -l pl
35 Biblioteka SDL_gfx wyewoluowa³a z kodu SDL_gfxPrimitives.
36
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).
42
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++.
45
46 %package devel
47 Summary:        Header files and more to develop SDL_gfx applications
48 Summary(pl):    Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_gfx
49 Group:          Development/Libraries
50 Requires:       %{name} = %{version}
51 Requires:       SDL-devel
52
53 %description devel
54 Header files and more to develop SDL_gfx applications.
55
56 %description devel -l pl
57 Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_gfx.
58
59 %package static
60 Summary:        Static SDL_gfx libraries
61 Summary(pl):    Statyczne biblioteki SDL_gfx
62 Group:          Development/Libraries
63 Requires:       %{name}-devel = %{version}
64
65 %description static
66 Statis SDL_gfx libraries.
67
68 %description static -l pl
69 Statyczne biblioteki SDL_gfx.
70
71 %prep
72 %setup -q
73
74 %build
75 rm -f missing acinclude.m4
76 %{__libtoolize}
77 %{__aclocal}
78 %{__autoconf}
79 %{__automake}
80
81 %ifarch %{ix86}
82 %configure
83 %else
84 %configure --disable-mmx
85 %endif
86
87 %{__make}
88
89 %install
90 rm -rf $RPM_BUILD_ROOT
91
92 %{__make} install DESTDIR=$RPM_BUILD_ROOT
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files
101 %defattr(644,root,root,755)
102 %doc README AUTHORS ChangeLog
103 %attr(755,root,root) %{_libdir}/lib*.so.*.*
104
105 %files devel
106 %defattr(644,root,root,755)
107 %doc Docs/*
108 %attr(755,root,root) %{_libdir}/lib*.so
109 %{_libdir}/lib*.la
110 %{_includedir}/*
111
112 %files static
113 %defattr(644,root,root,755)
114 %{_libdir}/lib*.a
This page took 0.095535 seconds and 3 git commands to generate.