]> git.pld-linux.org Git - packages/SDL.git/blame - SDL.spec
- removed TODO from %doc.
[packages/SDL.git] / SDL.spec
CommitLineData
cee13441 1Summary: SDL (Simple DirectMedia Layer) - Game/Multimedia Library
2Name: SDL
b71f3de6 3Version: 1.0.2
cee13441 4Release: 1
5Group: X11/Libraries
6Copyright: LGPL
3975d0d9 7Source: http://www.devolution.com/~slouken/SDL/release/%{name}-%{version}.tar.gz
8URL: http://www.devolution.com/~slouken/SDL/
00dd326a 9BuildRequires: XFree86-devel
6211bdd4 10BuildRequires: esound-devel
11BuildRequires: gtk+-devel >= 1.2.1
cee13441 12BuildRoot: /tmp/%{name}-%{version}-root
5249f883 13
14%description
cee13441 15SDL (Simple DirectMedia Layer) is a library that allows you portable, low
16level access to a video framebuffer, audio output, mouse, and keyboard. It
17can support both windowed and DGA modes of XFree86, and it is designed to be
18portable - applications linked with SDL can also be built on Win32 and BeOS.
19
20%package devel
b1002eee 21Summary: SDL - Header files
c1a764ca 22Group: X11/Libraries
23Requires: %{name} = %{version}
5249f883 24
25%description devel
b1002eee 26SDL - Header files.
27
28%package static
b1002eee 29Summary: SDL - static libraries
c1a764ca 30Group: X11/Libraries
31Requires: %{name} = %{version}
b1002eee 32
33%description static
34SDL - static libraries.
5249f883 35
5249f883 36%prep
5249f883 37%setup -q
b1002eee 38%build
8ae8ff19 39LDFLAGS="-s"; export LDFLAGS
40%configure \
41 --enable-nasm \
42 --enable-pthreads \
43 --with-x \
44 --enable-video-x11-dga \
45 --enable-video-x11-mtrr \
46 --enable-esd \
47 --disable-video-svga
cee13441 48
5249f883 49%install
cee13441 50rm -rf $RPM_BUILD_ROOT
c1a764ca 51
8ae8ff19 52make install DESTDIR=$RPM_BUILD_ROOT
c1a764ca 53
54strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
5249f883 55
28126eee 56gzip -9nf BUGS README WhatsNew
8ae8ff19 57
cee13441 58%post -p /sbin/ldconfig
59%postun -p /sbin/ldconfig
60
5249f883 61%clean
62rm -rf $RPM_BUILD_ROOT
63
5249f883 64%files
cee13441 65%defattr(644,root,root,755)
c1a764ca 66%attr(755,root,root) %{_libdir}/lib*.so.*.*
5249f883 67
68%files devel
cee13441 69%defattr(644,root,root,755)
6b8cc907 70%doc *gz docs.html docs
8ae8ff19 71%attr(755,root,root) %{_bindir}/sdl-config
c1a764ca 72%attr(755,root,root) %{_libdir}/lib*.so
8ae8ff19 73%attr(755,root,root) %{_libdir}/lib*.la
3975d0d9 74%{_libdir}/libSDLmain.a
9dac0b07 75%{_includedir}/SDL
8ae8ff19 76%{_datadir}/aclocal/*
5249f883 77
cee13441 78%files static
8ae8ff19 79%attr(644,root,root) %{_libdir}/lib*.a
This page took 0.122137 seconds and 4 git commands to generate.