]>
Commit | Line | Data |
---|---|---|
1821f023 | 1 | Summary: BitBake build tool |
2dc24e59 | 2 | Summary(pl.UTF-8): BitBake - narzędzie do budowania |
1821f023 | 3 | Name: bitbake |
89b0da8b ER |
4 | Version: 1.17.0 |
5 | Release: 1 | |
6 | License: GPL v2 | |
1821f023 | 7 | Group: Development |
89b0da8b ER |
8 | Source0: http://git.openembedded.org/bitbake/snapshot/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 6ff19a24fdd20623b792225d84017506 | |
10 | URL: https://www.yoctoproject.org/tools-resources/projects/bitbake | |
1e2d310c ER |
11 | BuildRequires: docbook-dtd42-xml |
12 | BuildRequires: docbook-style-xsl | |
13 | BuildRequires: libxml2-progs | |
89b0da8b | 14 | BuildRequires: libxslt |
1e2d310c | 15 | BuildRequires: libxslt-progs |
9320e062 | 16 | BuildRequires: python-devel >= 1:2.5 |
9870929d | 17 | BuildRequires: python-sqlite |
d3f3375e | 18 | BuildRequires: rpm-pythonprov |
8c59fc9e | 19 | BuildRequires: sed >= 4.0 |
bec48cc3 | 20 | BuildConflicts: bitbake |
8c59fc9e | 21 | Requires: bash |
8d0c2bc0 | 22 | Requires: python |
1821f023 | 23 | Requires: python-modules |
89b0da8b ER |
24 | Requires: python-ply |
25 | Requires: python-progressbar | |
1821f023 | 26 | BuildArch: noarch |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
89b0da8b ER |
30 | BitBake is a make-like build tool with the special focus of |
31 | distributions and packages for embedded Linux cross compilation | |
32 | although it is not limited to that. It is inspired by Portage, which | |
33 | is the package management system used by the Gentoo Linux | |
34 | distribution. BitBake existed for some time in the OpenEmbedded | |
35 | project until it was separated out into a standalone, maintained, | |
36 | distribution-independent tool. BitBake is co-maintained by the Yocto | |
37 | Project and the OpenEmbedded project. | |
1821f023 | 38 | |
1a31fe40 JR |
39 | %description -l pl.UTF-8 |
40 | BitBake to proste narzędzie do wykonywania zadań. Wywodzi się z | |
41 | Portage, które jest systemem zarządzania pakietami używanym w | |
42 | dystrybucji Linuksa Gentoo. Najczęściej jest używane do budowania | |
43 | pakietów, jako że może łatwo używać swojej elementarnej dziedziczności | |
44 | do abstrahowania wspólnych operacji, takich jak pobieranie źródeł, | |
45 | rozpakowywanie ich, łatanie, kompilowanie i tak dalej. Jest podstawą | |
46 | projektu OpenEmbedded, używanego przez projekty OpenZaurus, Familiar i | |
55385a53 JB |
47 | wiele innych dystrybucji Linuksa. |
48 | ||
1c0ea505 ER |
49 | %package manual |
50 | Summary: Manual for %{name} | |
51 | Summary(fr.UTF-8): Documentation pour %{name} | |
52 | Summary(it.UTF-8): Documentazione di %{name} | |
53 | Summary(pl.UTF-8): Podręcznik dla %{name} | |
54 | Group: Documentation | |
55 | ||
56 | %description manual | |
57 | Documentation for %{name}. | |
58 | ||
59 | %description manual -l fr.UTF-8 | |
60 | Documentation pour %{name}. | |
61 | ||
62 | %description manual -l it.UTF-8 | |
63 | Documentazione di %{name}. | |
64 | ||
65 | %description manual -l pl.UTF-8 | |
66 | Dokumentacja do %{name}. | |
67 | ||
1821f023 | 68 | %prep |
69 | %setup -q | |
67711d65 | 70 | sed -i -e 's@#!/bin/sh[[:space:]]@#!/bin/bash @' lib/bb/build.py |
1821f023 | 71 | |
72 | %build | |
57c0ce13 | 73 | %py_build |
1821f023 | 74 | |
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
57c0ce13 | 77 | %py_install \ |
1821f023 | 78 | --prefix=%{_prefix} \ |
a9ff8806 | 79 | --root=$RPM_BUILD_ROOT |
1821f023 | 80 | |
bec48cc3 | 81 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} |
89b0da8b ER |
82 | |
83 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name} | |
84 | mv $RPM_BUILD_ROOT%{_datadir}/%{name}/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name} | |
85 | ln -s %{_sysconfdir}/%{name}/%{name}.conf $RPM_BUILD_ROOT%{_datadir}/%{name} | |
1821f023 | 86 | |
87 | %clean | |
9d4bf985 | 88 | rm -rf $RPM_BUILD_ROOT |
1821f023 | 89 | |
90 | %files | |
91 | %defattr(644,root,root,755) | |
89b0da8b ER |
92 | %dir %{_sysconfdir}/%{name} |
93 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/%{name}.conf | |
8d0c2bc0 | 94 | %attr(755,root,root) %{_bindir}/bitbake |
89b0da8b ER |
95 | %attr(755,root,root) %{_bindir}/bitbake-diffsigs |
96 | %attr(755,root,root) %{_bindir}/bitbake-layers | |
97 | %attr(755,root,root) %{_bindir}/bitbake-prserv | |
98 | %attr(755,root,root) %{_bindir}/bitbake-selftest | |
99 | %attr(755,root,root) %{_bindir}/image-writer | |
08318cd0 | 100 | %{_datadir}/%{name} |
89b0da8b | 101 | %{py_sitescriptdir}/bb |
bec48cc3 | 102 | %{py_sitescriptdir}/bitbake-%{version}-py*.egg-info |
89b0da8b ER |
103 | %{py_sitescriptdir}/codegen.py[co] |
104 | %{py_sitescriptdir}/prserv | |
1c0ea505 ER |
105 | |
106 | %files manual | |
107 | %defattr(644,root,root,755) | |
108 | %doc doc/manual/html/* |