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