Removed support for Darwin, due to build problems on ps2linux
authorSam Lantinga <slouken@libsdl.org>
Wed, 17 May 2006 04:21:33 +0000
changeset 1844 ed2f5e31b357
parent 1843 c2c327e8e781
child 1845 548445edaf9f
Removed support for Darwin, due to build problems on ps2linux
SDL.spec.in
--- a/SDL.spec.in	Wed May 17 04:11:33 2006 +0000
+++ b/SDL.spec.in	Wed May 17 04:21:33 2006 +0000
@@ -9,9 +9,12 @@
 BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
 Prefix: %{_prefix}
 %ifos linux
-Provides: libSDL-1.1.so.0
+Provides: libSDL-1.2.so.0
 %endif
 
+%define __defattr %defattr(-,root,root)
+%define __soext so
+
 %description
 This is the Simple DirectMedia Layer, a generic API that provides low
 level access to audio, keyboard, mouse, and display framebuffer across
@@ -59,25 +62,13 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%ifnos darwin
-%define __defattr %defattr(-,root,root)
-%define __soext so
-%else
-%define __defattr %defattr(-,root,wheel)
-%define __soext dylib
-%endif
-
 %files
 %{__defattr}
 %doc README-SDL.txt COPYING CREDITS BUGS
-%ifnos darwin
 %{_libdir}/lib*.%{__soext}.*
-%else
-%{_libdir}/lib*.*.%{__soext}
-%endif
 
 %files devel
-%defattr(-,root,root)
+%{__defattr}
 %doc README README-SDL.txt COPYING CREDITS BUGS WhatsNew docs.html
 %doc docs/index.html docs/html
 %{_bindir}/*-config
@@ -90,6 +81,9 @@
 %{_mandir}/man3/*
 
 %changelog
+* Tue May 16 2006 Sam Lantinga <slouken@libsdl.org>
+- Removed support for Darwin, due to build problems on ps2linux
+
 * Mon Jan 03 2004 Anders Bjorklund <afb@algonet.se>
 - Added support for Darwin, updated spec file