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