From d3dd7cf03feefda49d5fcf83ab2eb5952d2d4373 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Tue, 3 May 2011 15:44:57 +0000 Subject: [PATCH] - up to 2011.03 - pl Changed files: uboot.spec -> 1.7 --- uboot.spec | 42 +++++++++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/uboot.spec b/uboot.spec index edf327a..900478a 100644 --- a/uboot.spec +++ b/uboot.spec @@ -1,11 +1,12 @@ Summary: Das U-Boot -- the Universal Boot Loader +Summary(pl.UTF-8): Das U-Boot - uniwersalny bootloader Name: uboot -Version: 2009.01 -Release: 2 -License: GPL +Version: 2011.03 +Release: 1 +License: GPL v2 Group: Applications/System Source0: ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2 -# Source0-md5: cb11d3d74eee4d31124523d90d8c31fa +# Source0-md5: 91d02124c94368557d0e9ac05fb8c33f URL: http://www.denx.de/wiki/U-Boot BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -14,14 +15,20 @@ Das U-Boot (Universal Bootloader, German for "the submarine") is a boot loader for a number of different computer architectures, including PPC, ARM, AVR32, MIPS, x86, 68k, Nios, and MicroBlaze. +%description -l pl.UTF-8 +Das U-Boot (Universal Bootloader lub "łódź podwodna" po niemiecku) to +bootloader dla wielu różnych architektur komputerów, w tym PPC, ARM, +AVR32, MIPS, x86, 68k, Nios i MicroBlaze + %package mkimage Summary: Generate kernel image for U-Boot +Summary(pl.UTF-8): Generowanie obrazu jądra dla U-Boota Group: Applications/System %description mkimage This package contains the mkimage utility, which encapsulates a -compressed "uImage" Linux kerel image with header information, CRC32 -checksum, etc, for use with the U-Boot bootloader. +compressed "uImage" Linux kernel image with header information, CRC32 +checksum, etc., for use with the U-Boot bootloader. mkimage can also be used to create ramdisk images for use with U-Boot, either separated from the Linux kernel image, or combined into one @@ -29,14 +36,28 @@ file. mkimage encapsulates the images with a 64 byte header containing information about target architecture, operating system, image type, compression method, entry points, time stamp, CRC32 checksums, etc. +%description mkimage -l pl.UTF-8 +Ten pakiet zawiera narzędzie mkimage, łączące skompresowany obraz +jądra Linuksa "uImage" w nagłówkiem, sumą kontrolną CRC32 itp. do +wykorzystania przez bootloader U-Boot. + +mkimage może być używane także do tworzenia obrazów ramdysków do +wykorzystania przez U-Boota - osobnych w stosunku do obrazu jądra +lub połączonych w jeden plik. mkimage obudowuje obrazy w 64-bajtowy +nagłówek zawierający informacje o architekturze docelowej, systemie +operacyjnym, rodzaju obrazu, metodzie kompresji, punktach wejściowych, +czasie utworzenia, sumach kontrolnych CRC32 itp. + %prep %setup -q -n u-boot-%{version} %build -touch include/config.mk include/config.h +# workaround: use some valid i386 machine config +%{__make} eNET_config %{__make} tools \ - HOSTSTRIP=echo \ + HOSTCC="%{__cc}" \ + HOSTSTRIP=: \ HOST_CFLAGS="%{rpmcflags}" \ HOST_LDFLAGS="%{rpmldflags}" \ BIN_FILES="bmp_logo gen_eth_addr img2srec mkimage" @@ -45,16 +66,15 @@ touch include/config.mk include/config.h rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_bindir} -install tools/mkimage $RPM_BUILD_ROOT%{_bindir} +install tools/mkimage $RPM_BUILD_ROOT%{_bindir} %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) -%doc CHANGELOG CHANGELOG-before-U-Boot-1.1.5 CREDITS MAINTAINERS README # COPYING contains some extra note -%doc COPYING +%doc COPYING CREDITS MAINTAINERS README %files mkimage %defattr(644,root,root,755) -- 2.44.0