Blob Blame History Raw
Name:          buildstream
Summary:       Build/integrate software stacks
License:       LGPLv2+
URL:           https://buildstream.gitlab.io/buildstream/

Version:       1.1.4
Release:       1%{?dist}
Source0:       https://gitlab.com/BuildStream/buildstream/-/archive/1.1.4/buildstream-1.1.4.tar.bz2

# https://gitlab.com/BuildStream/buildstream/merge_requests/603
Patch0:        0001-doc-Build-the-docs-without-Buildstream-installed.patch

BuildRequires: bubblewrap
BuildRequires: python3-devel
BuildRequires: python3-pytest-runner
BuildRequires: python3-setuptools
BuildRequires: python3-sphinx
BuildRequires: python3-sphinx-click

# Runtime deps, required to build the docs and run the tests
BuildRequires: fuse-libs
BuildRequires: ostree-libs
BuildRequires: python3-arpy
BuildRequires: python3-blessings
BuildRequires: python3-click
BuildRequires: python3-gobject
BuildRequires: python3-grpcio >= 1.10
BuildRequires: python3-jinja2 >= 2.10
BuildRequires: python3-pluginbase
BuildRequires: python3-protobuf >= 3.5
BuildRequires: python3-psutil
BuildRequires: python3-ruamel-yaml

Requires:      bubblewrap
Requires:      fuse-libs
Requires:      ostree-libs
Requires:      python3-arpy
Requires:      python3-blessings
Requires:      python3-click
Requires:      python3-gobject
Requires:      python3-grpcio >= 1.10
Requires:      python3-jinja2 >= 2.10
Requires:      python3-pluginbase
Requires:      python3-protobuf >= 3.5
Requires:      python3-psutil
Requires:      python3-ruamel-yaml
Requires:      python3-setuptools

BuildArch:     noarch

%description
BuildStream is a Free Software tool for building/integrating software stacks.
It takes inspiration, lessons and use-cases from various projects including
OBS, Reproducible Builds, Yocto, Baserock, Buildroot, Aboriginal, GNOME
Continuous, JHBuild, Flatpak Builder and Android repo.

BuildStream supports multiple build-systems (e.g. autotools, cmake, cpan,
distutils, make, meson, qmake), and can create outputs in a range of formats
(e.g. debian packages, flatpak runtimes, sysroots, system images) for multiple
platforms and chipsets.


%package docs
Summary:       BuildStream documentation

%description docs
BuildStream is a Free Software tool for building/integrating software stacks.
It takes inspiration, lessons and use-cases from various projects including
OBS, Reproducible Builds, Yocto, Baserock, Buildroot, Aboriginal, GNOME
Continuous, JHBuild, Flatpak Builder and Android repo.

BuildStream supports multiple build-systems (e.g. autotools, cmake, cpan,
distutils, make, meson, qmake), and can create outputs in a range of formats
(e.g. debian packages, flatpak runtimes, sysroots, system images) for multiple
platforms and chipsets.

This package provides the documentation for BuildStream.


%prep
%autosetup -n %{name}-%{version} -p1


%build
%{py3_build}

pushd doc
make devhelp
popd


%install
%{py3_install}

mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/
cp -pr doc/build/devhelp %{buildroot}%{_datadir}/gtk-doc/html/BuildStream


# Disable the tests for now, too many unavailable dependencies
%check
#py.test-3 


%files
%doc NEWS README.rst
%license COPYING
%{_bindir}/bst*
%{python3_sitelib}/BuildStream-%{version}*.egg-info
%{python3_sitelib}/buildstream
%{_datadir}/bash-completion/completions/bst
%{_mandir}/man1/bst*


%files docs
%{_datadir}/gtk-doc


%changelog
* Sat Aug 04 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.1.4-1
- Initial package for fedora