]>
Commit | Line | Data |
---|---|---|
1821f023 | 1 | Summary: BitBake build tool |
2dc24e59 | 2 | Summary(pl.UTF-8): BitBake - narzędzie do budowania |
1821f023 | 3 | Name: bitbake |
08318cd0 | 4 | Version: 1.6.6 |
1821f023 | 5 | Release: 1 |
6 | License: GPL | |
7 | Group: Development | |
8 | Source0: http://download.berlios.de/bitbake/%{name}-%{version}.tar.gz | |
08318cd0 | 9 | # Source0-md5: 1e6a4026500ea8844b61645bd947f8b4 |
1821f023 | 10 | URL: http://developer.berlios.de/projects/bitbake/ |
9320e062 | 11 | BuildRequires: python-devel >= 1:2.5 |
1821f023 | 12 | %pyrequires_eq python |
13 | Requires: python-modules | |
14 | BuildArch: noarch | |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | BitBake is a simple tool for the execution of tasks. It is derived | |
19 | from Portage, which is the package management system used by the | |
20 | Gentoo Linux distribution. It is most commonly used to build packages, | |
55385a53 | 21 | as it can easily use its rudimentary inheritance to abstract common |
1821f023 | 22 | operations, such as fetching sources, unpacking them, patching them, |
23 | compiling them, and so on. It is the basis of the OpenEmbedded | |
24 | project, which is being used for OpenZaurus, Familiar, and a number of | |
25 | other Linux distributions. | |
26 | ||
1a31fe40 JR |
27 | %description -l pl.UTF-8 |
28 | BitBake to proste narzędzie do wykonywania zadań. Wywodzi się z | |
29 | Portage, które jest systemem zarządzania pakietami używanym w | |
30 | dystrybucji Linuksa Gentoo. Najczęściej jest używane do budowania | |
31 | pakietów, jako że może łatwo używać swojej elementarnej dziedziczności | |
32 | do abstrahowania wspólnych operacji, takich jak pobieranie źródeł, | |
33 | rozpakowywanie ich, łatanie, kompilowanie i tak dalej. Jest podstawą | |
34 | projektu OpenEmbedded, używanego przez projekty OpenZaurus, Familiar i | |
55385a53 JB |
35 | wiele innych dystrybucji Linuksa. |
36 | ||
1821f023 | 37 | %prep |
38 | %setup -q | |
39 | ||
40 | %build | |
41 | python setup.py build | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
a9ff8806 | 45 | install -d $RPM_BUILD_ROOT%{_sysconfdir} |
08318cd0 | 46 | |
1821f023 | 47 | python setup.py install \ |
48 | --prefix=%{_prefix} \ | |
a9ff8806 | 49 | --root=$RPM_BUILD_ROOT |
1821f023 | 50 | |
08318cd0 AM |
51 | mv $RPM_BUILD_ROOT%{_datadir}/%{name}/conf $RPM_BUILD_ROOT%{_sysconfdir}/%{name} |
52 | ln -s %{_sysconfdir}/%{name} $RPM_BUILD_ROOT%{_datadir}/%{name}/conf | |
1821f023 | 53 | |
54 | %clean | |
55 | rm -rf ${RPM_BUILD_ROOT} | |
56 | ||
57 | %files | |
58 | %defattr(644,root,root,755) | |
59 | %attr(755,root,root) %{_bindir}/* | |
60 | %{_sysconfdir}/%{name} | |
08318cd0 AM |
61 | %{_datadir}/%{name} |
62 | %{py_sitescriptdir}/*.egg-info | |
1821f023 | 63 | %dir %{py_sitescriptdir}/bb |
64 | %{py_sitescriptdir}/bb/*py[co] | |
c6dc7b0a | 65 | %dir %{py_sitescriptdir}/bb/fetch |
66 | %{py_sitescriptdir}/bb/fetch/*py[co] | |
1821f023 | 67 | %dir %{py_sitescriptdir}/bb/parse |
68 | %{py_sitescriptdir}/bb/parse/*py[co] | |
c6dc7b0a | 69 | %dir %{py_sitescriptdir}/bb/parse/parse_py |
70 | %{py_sitescriptdir}/bb/parse/parse_py/*py[co] |