SDL.spec.in
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1588 e20dcef5647c
child 1717 e3637569ab86
equal deleted inserted replaced
1658:e49147870aac 1659:14717b52abc0
     7 License: LGPL
     7 License: LGPL
     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.1.so.0
    12 Provides: libSDL-1.2.so.0
    13 %endif
    13 %endif
       
    14 
       
    15 %define __defattr %defattr(-,root,root)
       
    16 %define __soext so
    14 
    17 
    15 %description
    18 %description
    16 This is the Simple DirectMedia Layer, a generic API that provides low
    19 This is the Simple DirectMedia Layer, a generic API that provides low
    17 level access to audio, keyboard, mouse, and display framebuffer across
    20 level access to audio, keyboard, mouse, and display framebuffer across
    18 multiple platforms.
    21 multiple platforms.
    57 %endif
    60 %endif
    58 
    61 
    59 %clean
    62 %clean
    60 rm -rf $RPM_BUILD_ROOT
    63 rm -rf $RPM_BUILD_ROOT
    61 
    64 
    62 %ifnos darwin
       
    63 %define __defattr %defattr(-,root,root)
       
    64 %define __soext so
       
    65 %else
       
    66 %define __defattr %defattr(-,root,wheel)
       
    67 %define __soext dylib
       
    68 %endif
       
    69 
       
    70 %files
    65 %files
    71 %{__defattr}
    66 %{__defattr}
    72 %doc README-SDL.txt COPYING CREDITS BUGS
    67 %doc README-SDL.txt COPYING CREDITS BUGS
    73 %ifnos darwin
       
    74 %{_libdir}/lib*.%{__soext}.*
    68 %{_libdir}/lib*.%{__soext}.*
    75 %else
       
    76 %{_libdir}/lib*.*.%{__soext}
       
    77 %endif
       
    78 
    69 
    79 %files devel
    70 %files devel
    80 %defattr(-,root,root)
    71 %{__defattr}
    81 %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html
    72 %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html
    82 %doc docs/index.html docs/html
    73 %doc docs/index.html docs/html
    83 %{_bindir}/*-config
    74 %{_bindir}/*-config
    84 %{_libdir}/lib*.a
    75 %{_libdir}/lib*.a
    85 %{_libdir}/lib*.la
    76 %{_libdir}/lib*.la
    88 %{_includedir}/SDL/*.h
    79 %{_includedir}/SDL/*.h
    89 %{_datadir}/aclocal/*
    80 %{_datadir}/aclocal/*
    90 %{_mandir}/man3/*
    81 %{_mandir}/man3/*
    91 
    82 
    92 %changelog
    83 %changelog
       
    84 * Tue May 16 2006 Sam Lantinga <slouken@libsdl.org>
       
    85 - Removed support for Darwin, due to build problems on ps2linux
       
    86 
    93 * Mon Jan 03 2004 Anders Bjorklund <afb@algonet.se>
    87 * Mon Jan 03 2004 Anders Bjorklund <afb@algonet.se>
    94 - Added support for Darwin, updated spec file
    88 - Added support for Darwin, updated spec file
    95 
    89 
    96 * Wed Jan 19 2000 Sam Lantinga <slouken@libsdl.org>
    90 * Wed Jan 19 2000 Sam Lantinga <slouken@libsdl.org>
    97 - Re-integrated spec file into SDL distribution
    91 - Re-integrated spec file into SDL distribution