]> git.pld-linux.org Git - packages/SDL_gfx.git/blob - SDL_gfx.spec
- perl -pi -e "s/^libtoolize --copy --force/\%\{__libtoolize\}/"
[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:        1
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         _prefix         /usr/X11R6
21 %define         _includedir     /usr/X11R6/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 %configure
82 %{__make}
83
84 %install
85 rm -rf $RPM_BUILD_ROOT
86
87 %{__make} install DESTDIR=$RPM_BUILD_ROOT
88
89 gzip -9nf README AUTHORS ChangeLog
90
91 %clean
92 rm -rf $RPM_BUILD_ROOT
93
94 %post   -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
96
97 %files
98 %defattr(644,root,root,755)
99 %attr(755,root,root) %{_libdir}/lib*.so.*.*
100
101 %files devel
102 %defattr(644,root,root,755)
103 %doc *.gz Docs
104 %attr(755,root,root) %{_libdir}/lib*.so
105 %{_includedir}/*
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/lib*.a
This page took 0.078454 seconds and 3 git commands to generate.