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