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