Removed support for Darwin, due to build problems on ps2linux
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401805
This commit is contained in:
parent
2b266d55f9
commit
3c5d934204
1 changed files with 8 additions and 14 deletions
22
SDL.spec.in
22
SDL.spec.in
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue