]> git.pld-linux.org Git - packages/uboot.git/blobdiff - uboot.spec
- up to 2011.03
[packages/uboot.git] / uboot.spec
index dd62bbf44bab8bc5c9907668c5d26a72677e7131..900478a6bb718ce71af072c8bf97f798fc45e395 100644 (file)
@@ -1,11 +1,12 @@
 Summary:       Das U-Boot -- the Universal Boot Loader
+Summary(pl.UTF-8):     Das U-Boot - uniwersalny bootloader
 Name:          uboot
-Version:       1.3.3
+Version:       2011.03
 Release:       1
-License:       GPL
+License:       GPL v2
 Group:         Applications/System
 Source0:       ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
-# Source0-md5: 6ee26954bb548ad90392cd329ab5cc4c
+# 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,30 +36,45 @@ 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"
 
 %install
 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)
This page took 0.176652 seconds and 4 git commands to generate.