]> git.pld-linux.org Git - packages/SDL.git/blob - SDL.spec
updated to 1.1.7; sent to builder
[packages/SDL.git] / SDL.spec
1 Summary:        SDL (Simple DirectMedia Layer) - Game/Multimedia Library
2 Name:           SDL
3 Version:        1.1.7
4 Release:        1
5 License:        LGPL
6 Group:          X11/Libraries
7 Group(de):      X11/Libraries
8 Group(pl):      X11/Biblioteki
9 Source0:        http://www.libsdl.org/release/%{name}-%{version}.tar.gz
10 URL:            http://www.libsdl.org/
11 BuildRequires:  alsa-lib-devel
12 BuildRequires:  esound-devel
13 BuildRequires:  gtk+-devel >= 1.2.1
14 BuildRequires:  XFree86-devel
15 BuildRequires:  XFree86-OpenGL-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _prefix         /usr/X11R6
19 %define         _mandir         %{_prefix}/man
20
21 %description
22 SDL (Simple DirectMedia Layer) is a library that allows you portable,
23 low level access to a video framebuffer, audio output, mouse, and
24 keyboard. It can support both windowed and DGA modes of XFree86, and
25 it is designed to be portable - applications linked with SDL can also
26 be built on Win32 and BeOS.
27
28 %description -l pl
29 SDL (Simple DirectMedia Layer) jest bibliotek± udostêpniaj±c±
30 przeno¶ny, niskopoziomowy dostep do bufora ramki video, wyj¶cia audio,
31 myszy oraz klawiatury, Moze obs³ugiwaæ zarówno okienkowy tryb XFree86
32 jak i DGA. Konstruuj±c j± miano na uwadze przeno¶no¶æ: aplikacje
33 konsolidowane z SDL mo¿na równie¿ budowac w systemach Win32 i BeOS.
34
35 %package devel
36 Summary:        SDL - Header files
37 Summary(pl):    SDL - Pliki nag³ówkowe
38 Group:          X11/Libraries
39 Group(de):      X11/Libraries
40 Group(pl):      X11/Biblioteki
41 Requires:       %{name} = %{version}
42
43 %description devel
44 SDL - Header files.
45
46 %description -l pl devel
47 SDL - Pliki nag³ówkowe.
48
49 %package static
50 Summary:        SDL - static libraries
51 Summary(pl):    SDL - biblioteki statyczne
52 Group:          X11/Libraries
53 Group(de):      X11/Libraries
54 Group(pl):      X11/Biblioteki
55 Requires:       %{name} = %{version}
56
57 %description static
58 SDL - static libraries.
59
60 %description -l pl static
61 SDL - biblioteki statyczne.
62
63 %prep
64 %setup -q
65 %build
66 %configure \
67         --enable-nasm \
68         --enable-pthreads \
69         --with-x \
70         --enable-video-x11-dga \
71         --enable-video-x11-mtrr \
72         --enable-video-x11-dgamouse \
73         --enable-esd \
74         --disable-video-svga \
75         --enable-alsa
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79
80 %{__make} install \
81         DESTDIR=$RPM_BUILD_ROOT \
82         m4datadir=%{_aclocaldir}
83
84 gzip -9nf BUGS README WhatsNew
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_libdir}/lib*.so.*.*
95
96 %files devel
97 %defattr(644,root,root,755)
98 %doc *gz docs.html docs
99 %attr(755,root,root) %{_bindir}/sdl-config
100 %attr(755,root,root) %{_libdir}/lib*.so
101 %attr(755,root,root) %{_libdir}/lib*.la
102 %{_libdir}/libSDLmain.a
103 %{_includedir}/SDL
104 %{_aclocaldir}/*
105 %{_mandir}/man3/*
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/lib*.a
This page took 0.040341 seconds and 4 git commands to generate.