]> git.pld-linux.org Git - packages/SDL_gfx.git/blob - SDL_gfx.spec
- new spec
[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
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. Its
34 is written in plain C and can be used in C++ code.
35
36
37 %package devel
38 Summary:        Header files and more to develop SDL_gfx applications.
39 Summary(pl):    Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_gfx.
40 Group:          Development/Libraries
41 Requires:       %{name} = %{version}
42 Requires:       SDL-devel
43
44 %description devel
45 Header files and more to develop SDL_gfx applications.
46
47 %description devel -l pl
48 Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_gfx.
49
50 %package static
51 Summary:        Static SDL_gfx libraries
52 Summary(pl):    Statyczne biblioteki SDL_gfx
53 Group:          Development/Libraries
54 Requires:       %{name}-devel = %{version}
55
56 %description static
57 Statis SDL_gfx libraries.
58
59 %description static -l pl
60 Statyczne biblioteki SDL_gfx.
61
62 %prep
63 %setup -q
64
65 %build
66 rm -f missing acinclude.m4
67 libtoolize --copy --force
68 aclocal
69 autoconf
70 automake -a -c -f
71 %configure
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install DESTDIR=$RPM_BUILD_ROOT
78
79 gzip -9nf README AUTHORS ChangeLog
80
81 %post   -p /sbin/ldconfig
82 %postun -p /sbin/ldconfig
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %files
88 %defattr(644,root,root,755)
89 %attr(755,root,root) %{_libdir}/lib*.so.*.*
90
91 %files devel
92 %defattr(644,root,root,755)
93 %doc *.gz Docs
94 %attr(755,root,root) %{_libdir}/lib*.so
95 %{_includedir}/*
96
97 %files static
98 %defattr(644,root,root,755)
99 %{_libdir}/lib*.a
This page took 0.088408 seconds and 4 git commands to generate.