Successfully built an SDL 2.0 RPM
authorSam Lantinga <slouken@libsdl.org>
Sun, 22 Jan 2012 23:36:59 -0500
changeset 6265 01bf72bcad1e
parent 6264 a388f8fd2388
child 6266 a4be1e781020
Successfully built an SDL 2.0 RPM
SDL2.spec.in
--- a/SDL2.spec.in	Sun Jan 22 22:30:27 2012 -0500
+++ b/SDL2.spec.in	Sun Jan 22 23:36:59 2012 -0500
@@ -9,7 +9,7 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
 Prefix: %{_prefix}
 %ifos linux
-Provides: libSDL-1.2.so.0
+Provides: libSDL2-2.0.so.0
 %endif
 
 %define __defattr %defattr(-,root,root)
@@ -54,7 +54,6 @@
              includedir=$RPM_BUILD_ROOT%{_includedir} \
              datadir=$RPM_BUILD_ROOT%{_datadir} \
              mandir=$RPM_BUILD_ROOT%{_mandir}
-ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{_libdir}/libSDL-1.1.so.0
 %else
 %makeinstall
 %endif
@@ -70,18 +69,18 @@
 %files devel
 %{__defattr}
 %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew
-%doc docs/index.html docs/html
 %{_bindir}/*-config
 %{_libdir}/lib*.a
 %{_libdir}/lib*.la
 %{_libdir}/lib*.%{__soext}
-%dir %{_includedir}/SDL
-%{_includedir}/SDL/*.h
-%{_libdir}/pkgconfig/sdl.pc
+%{_includedir}/*/*.h
+%{_libdir}/pkgconfig/*
 %{_datadir}/aclocal/*
-%{_mandir}/man3/*
 
 %changelog
+* Sun Jan 22 2012 Sam Lantinga <slouken@libsdl.org>
+- Updated for SDL 2.0
+
 * Tue May 16 2006 Sam Lantinga <slouken@libsdl.org>
 - Removed support for Darwin, due to build problems on ps2linux