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