SDL.spec.in
branchSDL-1.3
changeset 1659 14717b52abc0
parent 1588 e20dcef5647c
child 1717 e3637569ab86
     1.1 --- a/SDL.spec.in	Mon May 01 06:58:33 2006 +0000
     1.2 +++ b/SDL.spec.in	Wed May 17 08:18:28 2006 +0000
     1.3 @@ -9,9 +9,12 @@
     1.4  BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
     1.5  Prefix: %{_prefix}
     1.6  %ifos linux
     1.7 -Provides: libSDL-1.1.so.0
     1.8 +Provides: libSDL-1.2.so.0
     1.9  %endif
    1.10  
    1.11 +%define __defattr %defattr(-,root,root)
    1.12 +%define __soext so
    1.13 +
    1.14  %description
    1.15  This is the Simple DirectMedia Layer, a generic API that provides low
    1.16  level access to audio, keyboard, mouse, and display framebuffer across
    1.17 @@ -59,25 +62,13 @@
    1.18  %clean
    1.19  rm -rf $RPM_BUILD_ROOT
    1.20  
    1.21 -%ifnos darwin
    1.22 -%define __defattr %defattr(-,root,root)
    1.23 -%define __soext so
    1.24 -%else
    1.25 -%define __defattr %defattr(-,root,wheel)
    1.26 -%define __soext dylib
    1.27 -%endif
    1.28 -
    1.29  %files
    1.30  %{__defattr}
    1.31  %doc README-SDL.txt COPYING CREDITS BUGS
    1.32 -%ifnos darwin
    1.33  %{_libdir}/lib*.%{__soext}.*
    1.34 -%else
    1.35 -%{_libdir}/lib*.*.%{__soext}
    1.36 -%endif
    1.37  
    1.38  %files devel
    1.39 -%defattr(-,root,root)
    1.40 +%{__defattr}
    1.41  %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html
    1.42  %doc docs/index.html docs/html
    1.43  %{_bindir}/*-config
    1.44 @@ -90,6 +81,9 @@
    1.45  %{_mandir}/man3/*
    1.46  
    1.47  %changelog
    1.48 +* Tue May 16 2006 Sam Lantinga <slouken@libsdl.org>
    1.49 +- Removed support for Darwin, due to build problems on ps2linux
    1.50 +
    1.51  * Mon Jan 03 2004 Anders Bjorklund <afb@algonet.se>
    1.52  - Added support for Darwin, updated spec file
    1.53