Skip to content

Commit

Permalink
Removed support for Darwin, due to build problems on ps2linux
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 17, 2006
1 parent b099dba commit 5c33620
Showing 1 changed file with 8 additions and 14 deletions.
22 changes: 8 additions & 14 deletions SDL.spec.in
Expand Up @@ -9,9 +9,12 @@ Group: System Environment/Libraries
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
Expand Down Expand Up @@ -59,25 +62,13 @@ ln -s libSDL-1.2.so.0 $RPM_BUILD_ROOT%{prefix}/lib/libSDL-1.1.so.0
%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
Expand All @@ -90,6 +81,9 @@ rm -rf $RPM_BUILD_ROOT
%{_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

Expand Down

0 comments on commit 5c33620

Please sign in to comment.