2 # TODO: recompile sources instead of redistributing binaries?
3 # NOTE: when we distribute binaries made from GPL sources, we MUST provide sources too
5 Summary: GNU Toolchain for ARM Processors
6 Summary(pl.UTF-8): Zestaw narzędzi GNU dla procesorów ARM
7 Name: symbian-gcc-codesourcery
11 Group: Developement/Tools
12 # http://www.codesourcery.com/gnu_toolchains/arm/download.html
13 Source0: http://www.codesourcery.com/public/gnu_toolchain/arm-none-symbianelf/gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2
14 # Source0-md5: 622e4db70cfae6a9eec26892a9932633
15 URL: http://www.codesourcery.com/gnu_toolchains/arm
16 ExclusiveArch: %{ix86}
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define no_install_post_strip 1
22 CodeSourcery, in partnership with ARM, Ltd., develops improvements to
23 the GNU Toolchain for ARM processors and provides regular, validated
24 releases of the GNU Toolchain. Sourcery G++ Lite Edition supports ARM,
25 Thumb, and Thumb-2 compilation for all architectures in active use,
26 including Version 7 of the ARM Architecture.
28 %description -l pl.UTF-8
29 CodeSourcery we współpracy z ARM, Ltd. tworzy udoskonalenia do zestawu
30 narzędzi programistycznych (toolchainu) GNU dla procesorów ARM i
31 zapewnia ich regularne, sprawdzone wydania. Sourcery G++ Lite Edition
32 obsługuje kompilacje ARM, Thumb i Thumb-2 dla wszystkich architektur
33 będących w aktywnym użyciu, wraz z wersją 7 architektury ARM.
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}}
42 cp -r arm-none-symbianelf $RPM_BUILD_ROOT%{_prefix}
43 cp -r bin/* $RPM_BUILD_ROOT%{_bindir}
44 cp -r lib/gcc $RPM_BUILD_ROOT%{_libdir}
45 cp libexec/gcc/arm-none-symbianelf/3.4.3/c* $RPM_BUILD_ROOT%{_prefix}/arm-none-symbianelf/bin
48 rm -rf $RPM_BUILD_ROOT
51 %defattr(644,root,root,755)
52 %attr(755,root,root) %{_bindir}/*
53 %{_libdir}/gcc/arm-none-symbianelf
54 %dir %{_prefix}/arm-none-symbianelf
55 %dir %{_prefix}/arm-none-symbianelf/bin
56 %attr(755,root,root) %{_prefix}/arm-none-symbianelf/bin/*
57 %{_prefix}/arm-none-symbianelf/lib