--- a/SDL.spec.in Mon May 01 06:58:33 2006 +0000
+++ b/SDL.spec.in Wed May 17 08:18:28 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