]> git.pld-linux.org Git - packages/SDL.git/blame - SDL.spec
- updated to 0.10.0,
[packages/SDL.git] / SDL.spec
CommitLineData
cee13441 1Summary: SDL (Simple DirectMedia Layer) - Game/Multimedia Library
2Name: SDL
6b8cc907 3Version: 0.10.0
cee13441 4Release: 1
5Group: X11/Libraries
6Copyright: LGPL
7Source: http://www.devolution.com/~slouken/projects/SDL/SDL-0.9/src/%{name}-%{version}.tar.gz
c1a764ca 8URL: http://www.devolution.com/~slouken/projects/SDL/
00dd326a 9BuildRequires: XFree86-devel
cee13441 10BuildRoot: /tmp/%{name}-%{version}-root
5249f883 11
12%description
cee13441 13SDL (Simple DirectMedia Layer) is a library that allows you portable, low
14level access to a video framebuffer, audio output, mouse, and keyboard. It
15can support both windowed and DGA modes of XFree86, and it is designed to be
16portable - applications linked with SDL can also be built on Win32 and BeOS.
17
18%package devel
b1002eee 19Summary: SDL - Header files
c1a764ca 20Group: X11/Libraries
21Requires: %{name} = %{version}
5249f883 22
23%description devel
b1002eee 24SDL - Header files.
25
26%package static
b1002eee 27Summary: SDL - static libraries
c1a764ca 28Group: X11/Libraries
29Requires: %{name} = %{version}
b1002eee 30
31%description static
32SDL - static libraries.
5249f883 33
5249f883 34%prep
5249f883 35%setup -q
b1002eee 36%build
5249f883 37make config <<EOF
38
39EOF
c1a764ca 40make DEBUG="$RPM_OPT_FLAGS -I/usr/X11R6/include"
cee13441 41
5249f883 42%install
cee13441 43rm -rf $RPM_BUILD_ROOT
c1a764ca 44install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/SDL}
45
46install lib/lib{*.a,*.so.*.*.*} $RPM_BUILD_ROOT%{_libdir}
47ln -sf libSDLx11.so.%{version} $RPM_BUILD_ROOT%{_libdir}/libSDLx11.so
48install include/* $RPM_BUILD_ROOT%{_includedir}/SDL
49
50strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.*
5249f883 51
6b8cc907 52gzip -9nf BUGS README TODO WhatsNew
cee13441 53%post -p /sbin/ldconfig
54%postun -p /sbin/ldconfig
55
5249f883 56%clean
57rm -rf $RPM_BUILD_ROOT
58
5249f883 59%files
cee13441 60%defattr(644,root,root,755)
c1a764ca 61%attr(755,root,root) %{_libdir}/lib*.so.*.*
5249f883 62
63%files devel
cee13441 64%defattr(644,root,root,755)
6b8cc907 65%doc *gz docs.html docs
c1a764ca 66%attr(755,root,root) %{_libdir}/lib*.so
9dac0b07 67%{_includedir}/SDL
5249f883 68
cee13441 69%files static
70%defattr(644,root,root,755)
e7eb4f6f 71%{_libdir}/lib*.a
This page took 0.072839 seconds and 4 git commands to generate.