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