Successfully built an SDL 2.0 RPM
authorSam Lantinga <slouken@libsdl.org>
Sun, 22 Jan 2012 23:36:59 -0500
changeset 626501bf72bcad1e
parent 6264 a388f8fd2388
child 6266 a4be1e781020
Successfully built an SDL 2.0 RPM
SDL2.spec.in
     1.1 --- a/SDL2.spec.in	Sun Jan 22 22:30:27 2012 -0500
     1.2 +++ b/SDL2.spec.in	Sun Jan 22 23:36:59 2012 -0500
     1.3 @@ -9,7 +9,7 @@
     1.4  BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
     1.5  Prefix: %{_prefix}
     1.6  %ifos linux
     1.7 -Provides: libSDL-1.2.so.0
     1.8 +Provides: libSDL2-2.0.so.0
     1.9  %endif
    1.10  
    1.11  %define __defattr %defattr(-,root,root)
    1.12 @@ -54,7 +54,6 @@
    1.13               includedir=$RPM_BUILD_ROOT%{_includedir} \
    1.14               datadir=$RPM_BUILD_ROOT%{_datadir} \
    1.15               mandir=$RPM_BUILD_ROOT%{_mandir}
    1.16 -ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{_libdir}/libSDL-1.1.so.0
    1.17  %else
    1.18  %makeinstall
    1.19  %endif
    1.20 @@ -70,18 +69,18 @@
    1.21  %files devel
    1.22  %{__defattr}
    1.23  %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew
    1.24 -%doc docs/index.html docs/html
    1.25  %{_bindir}/*-config
    1.26  %{_libdir}/lib*.a
    1.27  %{_libdir}/lib*.la
    1.28  %{_libdir}/lib*.%{__soext}
    1.29 -%dir %{_includedir}/SDL
    1.30 -%{_includedir}/SDL/*.h
    1.31 -%{_libdir}/pkgconfig/sdl.pc
    1.32 +%{_includedir}/*/*.h
    1.33 +%{_libdir}/pkgconfig/*
    1.34  %{_datadir}/aclocal/*
    1.35 -%{_mandir}/man3/*
    1.36  
    1.37  %changelog
    1.38 +* Sun Jan 22 2012 Sam Lantinga <slouken@libsdl.org>
    1.39 +- Updated for SDL 2.0
    1.40 +
    1.41  * Tue May 16 2006 Sam Lantinga <slouken@libsdl.org>
    1.42  - Removed support for Darwin, due to build problems on ps2linux
    1.43