Blob Blame History Raw
%define target arm-gp2x-linux

Name:           %{target}-kernel-headers
Version:        2.6.12.0
Release:        1%{?dist}
Summary:        Kernel headers for Cross Compiling to %{target}
Group:          Development/Languages
License:        GPL
URL:            http://ep09.pld-linux.org/~mmazur/linux-libc-headers/
Source0:        http://ep09.pld-linux.org/~mmazur/linux-libc-headers/linux-libc-headers-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
BuildArch:      noarch

%description
Kernel headers for Cross Compiling to %{target}.


%prep
%setup -q -n linux-libc-headers-%{version}


%build
# nothing to build, headers only


%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{target}/include/asm
mkdir -p $RPM_BUILD_ROOT%{_prefix}/%{target}/include/linux
cp -RHp include/asm-arm/*.h $RPM_BUILD_ROOT%{_prefix}/%{target}/include/asm
cp -RHp include/linux/*.h   $RPM_BUILD_ROOT%{_prefix}/%{target}/include/linux


%clean
rm -rf $RPM_BUILD_ROOT


%files
%doc doc/*
%{_prefix}/%{target}


%changelog
* Thu Apr 20 2007 Koos Termeulen koostermeulen@gmail.com 2.6.12.0-1
- Initial release