SDL2.spec.in
changeset 6265 01bf72bcad1e
parent 6255 25bfc0f21c56
child 7222 2435b221d77d
equal deleted inserted replaced
6264:a388f8fd2388 6265:01bf72bcad1e
     7 License: zlib
     7 License: zlib
     8 Group: System Environment/Libraries
     8 Group: System Environment/Libraries
     9 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
     9 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
    10 Prefix: %{_prefix}
    10 Prefix: %{_prefix}
    11 %ifos linux
    11 %ifos linux
    12 Provides: libSDL-1.2.so.0
    12 Provides: libSDL2-2.0.so.0
    13 %endif
    13 %endif
    14 
    14 
    15 %define __defattr %defattr(-,root,root)
    15 %define __defattr %defattr(-,root,root)
    16 %define __soext so
    16 %define __soext so
    17 
    17 
    52              bindir=$RPM_BUILD_ROOT%{_bindir} \
    52              bindir=$RPM_BUILD_ROOT%{_bindir} \
    53              libdir=$RPM_BUILD_ROOT%{_libdir} \
    53              libdir=$RPM_BUILD_ROOT%{_libdir} \
    54              includedir=$RPM_BUILD_ROOT%{_includedir} \
    54              includedir=$RPM_BUILD_ROOT%{_includedir} \
    55              datadir=$RPM_BUILD_ROOT%{_datadir} \
    55              datadir=$RPM_BUILD_ROOT%{_datadir} \
    56              mandir=$RPM_BUILD_ROOT%{_mandir}
    56              mandir=$RPM_BUILD_ROOT%{_mandir}
    57 ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{_libdir}/libSDL-1.1.so.0
       
    58 %else
    57 %else
    59 %makeinstall
    58 %makeinstall
    60 %endif
    59 %endif
    61 
    60 
    62 %clean
    61 %clean
    68 %{_libdir}/lib*.%{__soext}.*
    67 %{_libdir}/lib*.%{__soext}.*
    69 
    68 
    70 %files devel
    69 %files devel
    71 %{__defattr}
    70 %{__defattr}
    72 %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew
    71 %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew
    73 %doc docs/index.html docs/html
       
    74 %{_bindir}/*-config
    72 %{_bindir}/*-config
    75 %{_libdir}/lib*.a
    73 %{_libdir}/lib*.a
    76 %{_libdir}/lib*.la
    74 %{_libdir}/lib*.la
    77 %{_libdir}/lib*.%{__soext}
    75 %{_libdir}/lib*.%{__soext}
    78 %dir %{_includedir}/SDL
    76 %{_includedir}/*/*.h
    79 %{_includedir}/SDL/*.h
    77 %{_libdir}/pkgconfig/*
    80 %{_libdir}/pkgconfig/sdl.pc
       
    81 %{_datadir}/aclocal/*
    78 %{_datadir}/aclocal/*
    82 %{_mandir}/man3/*
       
    83 
    79 
    84 %changelog
    80 %changelog
       
    81 * Sun Jan 22 2012 Sam Lantinga <slouken@libsdl.org>
       
    82 - Updated for SDL 2.0
       
    83 
    85 * Tue May 16 2006 Sam Lantinga <slouken@libsdl.org>
    84 * Tue May 16 2006 Sam Lantinga <slouken@libsdl.org>
    86 - Removed support for Darwin, due to build problems on ps2linux
    85 - Removed support for Darwin, due to build problems on ps2linux
    87 
    86 
    88 * Mon Jan 03 2004 Anders Bjorklund <afb@algonet.se>
    87 * Mon Jan 03 2004 Anders Bjorklund <afb@algonet.se>
    89 - Added support for Darwin, updated spec file
    88 - Added support for Darwin, updated spec file