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