Author: wolf Date: Tue Dec 11 00:15:10 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - new
---- Files affected: SPECS: symbian-gcc-codesourcery.spec (NONE -> 1.1) (NEW), symbian-gnupoc.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/symbian-gcc-codesourcery.spec diff -u /dev/null SPECS/symbian-gcc-codesourcery.spec:1.1 --- /dev/null Tue Dec 11 01:15:10 2007 +++ SPECS/symbian-gcc-codesourcery.spec Tue Dec 11 01:15:05 2007 @@ -0,0 +1,60 @@ +# $Revision$, $Date$ +# +# TODO: recompile sources instead of redistributing binaries? +# +Summary: GNU Toolchain for ARM Processors +Summary(pl.UTF-8): Zestaw narzędzi GNU dla procesorów ARM +Name: symbian-gcc-codesourcery +Version: 2005Q1C +Release: 1 +License: GPL +Group: Developement +# http://www.codesourcery.com/gnu_toolchains/arm/download.html +Source0: http://www.codesourcery.com/public/gnu_toolchain/arm-none-symbianelf/gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2 +# Source0-md5: 622e4db70cfae6a9eec26892a9932633 +URL: http://www.codesourcery.com/gnu_toolchains/arm +ExclusiveArch: %{ix86} +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +CodeSourcery, in partnership with ARM, Ltd., develops improvements to +the GNU Toolchain for ARM processors and provides regular, validated +releases of the GNU Toolchain. Sourcery G++ Lite Edition supports ARM, +Thumb, and Thumb-2 compilation for all architectures in active use, +including Version 7 of the ARM Architecture. + +%prep +%setup -c + +%build + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir}} + +cp -r arm-none-symbianelf $RPM_BUILD_ROOT%{_prefix}/ +cp -r bin/* $RPM_BUILD_ROOT%{_bindir} +cp -r lib/gcc $RPM_BUILD_ROOT%{_libdir} +cp libexec/gcc/arm-none-symbianelf/3.4.3/c* $RPM_BUILD_ROOT%{_prefix}/arm-none-symbianelf/bin + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%{_libdir}/gcc/arm-none-symbianelf +%dir %{_prefix}/arm-none-symbianelf +%dir %{_prefix}/arm-none-symbianelf/bin +%attr(755,root,root) %{_prefix}/arm-none-symbianelf/bin/* +%{_prefix}/arm-none-symbianelf/lib + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007-12-11 00:15:05 wolf +- new + ================================================================ Index: SPECS/symbian-gnupoc.spec diff -u /dev/null SPECS/symbian-gnupoc.spec:1.1 --- /dev/null Tue Dec 11 01:15:10 2007 +++ SPECS/symbian-gnupoc.spec Tue Dec 11 01:15:05 2007 @@ -0,0 +1,84 @@ +# $Revision$, $Date$ +Summary: Symbian development on Linux +Summary(pl.UTF-8): Programowanie na Symbiana na Linuksie +Name: symbian-gnupoc +Version: 1.07 +Release: 1 +License: GPL/distributable +Group: Developement +Source0: http://www.martin.st/symbian/gnupoc-package-%{version}.tar.gz +# Source0-md5: 4d3f903c3952b028b54e3ff5c657e527 +URL: http://www.martin.st/symbian/ +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +This is a collection of patched tools and scripts for compiling them, +for building Symbian applications. + +%description -l pl +Kolekcja poprawionych narzędzi i skryptów do ich kompilacji, +umożliwiających budowanie Symbianowych aplikacji. + +%prep +%setup -n gnupoc-package-%{version} + +%build +cd tools + +cd petran-1.1.0 +%{__make} +cd .. + +cd bmconv-1.1.0-2 +%{__make} +cd .. + +cd rcomp-7.0.1 +%{__make} +cd .. + +cd makesis-4 +%{__make} +cd .. + +cd make-3.81 +%configure +%{__make} +cd .. + +cd elf2e32 +%{__make} -j1 -f Makefile.local-libelf libelf.a elf2e32 +cd .. + +%{__cxx} mifconv.cpp -o mifconv + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} + +cp tools/petran-1.1.0/e32uid/uidcrc $RPM_BUILD_ROOT%{_bindir} +cp tools/bmconv-1.1.0-2/src/bmconv $RPM_BUILD_ROOT%{_bindir} +cp tools/rcomp-7.0.1/src/rcomp $RPM_BUILD_ROOT%{_bindir} +cp tools/makesis-4/src/{makesis,signsis,makekeys} $RPM_BUILD_ROOT%{_bindir} +cp tools/make-3.81/make $RPM_BUILD_ROOT%{_bindir}/extmake +cp tools/elf2e32/elf2e32 $RPM_BUILD_ROOT%{_bindir} +cp tools/mifconv $RPM_BUILD_ROOT%{_bindir} +ln -s /bin/true $RPM_BUILD_ROOT%{_bindir}/rem +cp tools/del $RPM_BUILD_ROOT%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007-12-11 00:15:05 wolf +- new + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
