]> git.pld-linux.org Git - packages/SDL_gfx.git/blob - SDL_gfx.spec
- Let me shoot the 'two lines with define guy'... please please please please
[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
21 %description
22 The SDL_gfx library evolved out of the SDL_gfxPrimitives code.
23
24 The current components of the SDL_gfx library are:
25 - Graphic Primitives (SDL_gfxPrimitves.h)
26 - Rotozoomer (SDL_rotozoom.h)
27 - Framerate control (SDL_framerate.h)
28 - MMX image filters (SDL_imageFilter.h)
29
30 The library is backwards compatible to the above mentioned code. It's
31 is written in plain C and can be used in C++ code.
32
33 %description -l pl
34 Biblioteka SDL_gfx wyewoluowa³a z kodu SDL_gfxPrimitives.
35
36 Aktualnie SDL_gfx zawiera nastêpuj±ce komponenty:
37 - prymitywy graficzne (SDL_gfxPrimitives.h)
38 - Rotozoomer (SDL_rotozoom.h)
39 - kontrola szybko¶ci rysowania obrazu (SDL_framerate.h)
40 - filtry obrazów u¿ywaj±ce MMX (SDL_imageFilter.h).
41
42 Biblioteka jest wstecznie kompatybilna z wy¿ej wspomnianym kodem. Jest
43 napisana w czystym C, mo¿e te¿ byæ u¿ywana w kodzie C++.
44
45 %package devel
46 Summary:        Header files and more to develop SDL_gfx applications
47 Summary(pl):    Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_gfx
48 Group:          Development/Libraries
49 Requires:       %{name} = %{version}
50 Requires:       SDL-devel
51
52 %description devel
53 Header files and more to develop SDL_gfx applications.
54
55 %description devel -l pl
56 Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_gfx.
57
58 %package static
59 Summary:        Static SDL_gfx libraries
60 Summary(pl):    Statyczne biblioteki SDL_gfx
61 Group:          Development/Libraries
62 Requires:       %{name}-devel = %{version}
63
64 %description static
65 Statis SDL_gfx libraries.
66
67 %description static -l pl
68 Statyczne biblioteki SDL_gfx.
69
70 %prep
71 %setup -q
72
73 %build
74 rm -f missing acinclude.m4
75 %{__libtoolize}
76 %{__aclocal}
77 %{__autoconf}
78 %{__automake}
79
80 %ifarch %{ix86}
81 %configure
82 %else
83 %configure --disable-mmx
84 %endif
85
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install DESTDIR=$RPM_BUILD_ROOT
92
93 gzip -9nf README AUTHORS ChangeLog
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 %attr(755,root,root) %{_libdir}/lib*.so.*.*
104
105 %files devel
106 %defattr(644,root,root,755)
107 %doc *.gz Docs
108 %attr(755,root,root) %{_libdir}/lib*.so
109 %{_includedir}/*
110
111 %files static
112 %defattr(644,root,root,755)
113 %{_libdir}/lib*.a
This page took 0.045995 seconds and 4 git commands to generate.