Name: android-prebuilt-toolchain Version: 20130916git Release: 1mamba Summary: Prebuilt arm-eabi toolchain needed to build kernels for Android-friendly platforms/bootloaders Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://android.googlesource.com/platform/prebuilt/ # Whole git clone too big, so we just package the arm-eabi toolchain # git clone https://android.googlesource.com/platform/prebuilt --depth 1 # cd prebuilt/linux-x86/toolchain # tar cJf /usr/src/RPM/SOURCES/android-prebuilt-toolchain-20130916git.tar.xz arm-eabi-4.4.3/ Source: https://android.googlesource.com/platform/prebuilt/android-prebuilt-toolchain-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Prebuilt arm-eabi toolchain needed to build kernels for Android-friendly platforms/bootloaders. %debug_package %prep %setup -q -c %define _use_internal_dependency_generator 0 %define __find_provides %{_builddir}/%{name}-%{version}/find_provides.sh cat > %{_builddir}/%{name}-%{version}/find_provides.sh <<_EOF #! /bin/sh exit 0 _EOF chmod +x %{_builddir}/%{name}-%{version}/find_provides.sh %define __find_requires %{_builddir}/%{name}-%{version}/find_requires.sh cat > %{_builddir}/%{name}-%{version}/find_requires.sh <<_EOF #! /bin/sh exit 0 _EOF chmod +x %{_builddir}/%{name}-%{version}/find_requires.sh %build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" install -d -m0755 %{buildroot}/opt/prebuilt/toolchain cp -a arm-eabi-4.4.3 %{buildroot}/opt/prebuilt/toolchain/ %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %dir /opt/prebuilt %dir /opt/prebuilt/toolchain/ %dir /opt/prebuilt/toolchain/arm-eabi-4.4.3 /opt/prebuilt/toolchain/arm-eabi-4.4.3/* %changelog * Mon Sep 16 2013 Silvan Calarco 20130916git-1mamba - package created by silvan using the webbuild interface