]> git.pld-linux.org Git - packages/uboot.git/blob - uboot.spec
-updated to 2014.01
[packages/uboot.git] / uboot.spec
1 Summary:        Das U-Boot -- the Universal Boot Loader
2 Summary(pl.UTF-8):      Das U-Boot - uniwersalny bootloader
3 Name:           uboot
4 Version:        2014.01
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/System
8 Source0:        ftp://ftp.denx.de/pub/u-boot/u-boot-%{version}.tar.bz2
9 # Source0-md5:  e531307578f6d32a7ccb1d04f1e08cbc
10 URL:            http://www.denx.de/wiki/U-Boot
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Das U-Boot (Universal Bootloader, German for "the submarine") is a
15 boot loader for a number of different computer architectures,
16 including PPC, ARM, AVR32, MIPS, x86, 68k, Nios, and MicroBlaze.
17
18 %description -l pl.UTF-8
19 Das U-Boot (Universal Bootloader lub "łódź podwodna" po niemiecku) to
20 bootloader dla wielu różnych architektur komputerów, w tym PPC, ARM,
21 AVR32, MIPS, x86, 68k, Nios i MicroBlaze.
22
23 %package mkimage
24 Summary:        Generate kernel image for U-Boot
25 Summary(pl.UTF-8):      Generowanie obrazu jądra dla U-Boota
26 Group:          Applications/System
27
28 %description mkimage
29 This package contains the mkimage utility, which encapsulates a
30 compressed "uImage" Linux kernel image with header information, CRC32
31 checksum, etc., for use with the U-Boot bootloader.
32
33 mkimage can also be used to create ramdisk images for use with U-Boot,
34 either separated from the Linux kernel image, or combined into one
35 file. mkimage encapsulates the images with a 64 byte header containing
36 information about target architecture, operating system, image type,
37 compression method, entry points, time stamp, CRC32 checksums, etc.
38
39 %description mkimage -l pl.UTF-8
40 Ten pakiet zawiera narzędzie mkimage, łączące skompresowany obraz
41 jądra Linuksa "uImage" w nagłówkiem, sumą kontrolną CRC32 itp. do
42 wykorzystania przez bootloader U-Boot.
43
44 mkimage może być używane także do tworzenia obrazów ramdysków do
45 wykorzystania przez U-Boota - osobnych w stosunku do obrazu jądra
46 lub połączonych w jeden plik. mkimage obudowuje obrazy w 64-bajtowy
47 nagłówek zawierający informacje o architekturze docelowej, systemie
48 operacyjnym, rodzaju obrazu, metodzie kompresji, punktach wejściowych,
49 czasie utworzenia, sumach kontrolnych CRC32 itp.
50
51 %prep
52 %setup -q -n u-boot-%{version}
53
54 %build
55 %{__make} tools \
56         HOSTCC="%{__cc}" \
57         HOSTSTRIP=: \
58         HOST_CFLAGS="%{rpmcflags}" \
59         HOST_LDFLAGS="%{rpmldflags}" \
60         BIN_FILES="bmp_logo gen_eth_addr img2srec mkimage"
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{_bindir}
65
66 install tools/mkimage $RPM_BUILD_ROOT%{_bindir}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %doc CREDITS README
74
75 %files mkimage
76 %defattr(644,root,root,755)
77 %attr(755,root,root) %{_bindir}/mkimage
This page took 0.027979 seconds and 3 git commands to generate.