]>
Commit | Line | Data |
---|---|---|
1 | Summary: BitBake build tool | |
2 | Summary(pl.UTF-8): BitBake - narzędzie do budowania | |
3 | Name: bitbake | |
4 | Version: 1.17.0 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Development | |
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: docbook-dtd42-xml | |
12 | BuildRequires: docbook-style-xsl | |
13 | BuildRequires: libxml2-progs | |
14 | BuildRequires: libxslt | |
15 | BuildRequires: libxslt-progs | |
16 | BuildRequires: python-devel >= 1:2.5 | |
17 | BuildRequires: python-sqlite | |
18 | BuildRequires: rpm-pythonprov | |
19 | BuildRequires: sed >= 4.0 | |
20 | BuildConflicts: bitbake | |
21 | Requires: bash | |
22 | Requires: python | |
23 | Requires: python-modules | |
24 | Requires: python-ply | |
25 | Requires: python-progressbar | |
26 | BuildArch: noarch | |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
28 | ||
29 | %description | |
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. | |
38 | ||
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 | |
47 | wiele innych dystrybucji Linuksa. | |
48 | ||
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 | ||
68 | %prep | |
69 | %setup -q | |
70 | sed -i -e 's@#!/bin/sh[[:space:]]@#!/bin/bash @' lib/bb/build.py | |
71 | ||
72 | %build | |
73 | %py_build | |
74 | ||
75 | %install | |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | %py_install \ | |
78 | --prefix=%{_prefix} \ | |
79 | --root=$RPM_BUILD_ROOT | |
80 | ||
81 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} | |
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} | |
86 | ||
87 | %clean | |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %files | |
91 | %defattr(644,root,root,755) | |
92 | %dir %{_sysconfdir}/%{name} | |
93 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/%{name}.conf | |
94 | %attr(755,root,root) %{_bindir}/bitbake | |
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 | |
100 | %{_datadir}/%{name} | |
101 | %{py_sitescriptdir}/bb | |
102 | %{py_sitescriptdir}/bitbake-%{version}-py*.egg-info | |
103 | %{py_sitescriptdir}/codegen.py[co] | |
104 | %{py_sitescriptdir}/prserv | |
105 | ||
106 | %files manual | |
107 | %defattr(644,root,root,755) | |
108 | %doc doc/manual/html/* |