4 Summary: Darwin (Mac OS X) header files
7 Group: Development/Libraries
9 URL: http://www.opensource.apple.com/darwinsource/
11 # XXX Where is the upstream tarball located?
12 Source0: headers-10.3.tar.bz2
13 Source1: headers-10.4.tar.bz2
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
18 BuildRequires: darwinx-filesystem >= 2
20 Requires: darwinx-filesystem >= 2
24 This package contains system headers for cross-compiling to Darwin
29 %setup -q -c -n %{name}
30 %setup -q -c -n %{name} -b 1
38 rm -rf $RPM_BUILD_ROOT
40 mkdir -p $RPM_BUILD_ROOT%{_prefix}/powerpc-apple-darwin7
41 cp -a headers-10.3 $RPM_BUILD_ROOT%{_prefix}/powerpc-apple-darwin7/include
42 ln -sf include $RPM_BUILD_ROOT%{_prefix}/powerpc-apple-darwin7/sys-include
44 for arch in powerpc i386; do
45 mkdir -p $RPM_BUILD_ROOT%{_prefix}/$arch-apple-darwin8
46 cp -a headers-10.4 $RPM_BUILD_ROOT%{_prefix}/$arch-apple-darwin8/include
47 ln -sf include $RPM_BUILD_ROOT%{_prefix}/$arch-apple-darwin8/sys-include
52 rm -rf $RPM_BUILD_ROOT
57 %{_prefix}/powerpc-apple-darwin7/include/*
58 %{_prefix}/powerpc-apple-darwin7/sys-include
59 %{_prefix}/powerpc-apple-darwin8/include/*
60 %{_prefix}/powerpc-apple-darwin8/sys-include
61 %{_prefix}/i386-apple-darwin8/include/*
62 %{_prefix}/i386-apple-darwin8/sys-include
66 * Sun Feb 8 2009 Richard W.M. Jones <rjones@redhat.com> - 1.2-1
67 - Initial RPM release for Fedora.
69 * Tue Mar 28 2006 Benjamin Reed <rangerrick@befunk.com> - 1.1-1
70 - added 10.3 headers, rearranged things a bit
72 * Sun Feb 26 2006 Benjamin Reed <rangerrick@befunk.com> - 1.0-1