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