dd9ff5d
Name:          buildstream
dd9ff5d
Summary:       Build/integrate software stacks
dd9ff5d
License:       LGPLv2+
dd9ff5d
URL:           https://buildstream.gitlab.io/buildstream/
dd9ff5d
5c8d9c6
Version:       1.4.1
5b482ef
Release:       2%{?dist}
e11059b
Source0:       https://gitlab.com/BuildStream/buildstream/-/archive/%{version}/buildstream-%{version}.tar.bz2
dd9ff5d
a71704a
BuildRequires: bubblewrap >= 0.1.2
a71704a
BuildRequires: python3-devel >= 3.5
535203a
BuildRequires: python3-pep8
535203a
BuildRequires: python3-pylint
535203a
BuildRequires: python3-pytest >= 3.7
535203a
BuildRequires: python3-pytest-pep8
dd9ff5d
BuildRequires: python3-pytest-runner
535203a
BuildRequires: python3-pytest-timeout
535203a
BuildRequires: python3-pytest-xdist
dd9ff5d
BuildRequires: python3-setuptools
dd9ff5d
BuildRequires: python3-sphinx
dd9ff5d
BuildRequires: python3-sphinx-click
5f979fd
BuildRequires: python3-sphinx_rtd_theme
dd9ff5d
535203a
# These aren't in Fedora yet, preventing us from running the tests
535203a
#BuildRequires: python3-pytest-datafiles
535203a
#BuildRequires: python3-pytest-env
535203a
#BuildRequires: python3-pytest-pylint
535203a
dd9ff5d
# Runtime deps, required to build the docs and run the tests
dd9ff5d
BuildRequires: fuse-libs
dd9ff5d
BuildRequires: ostree-libs
dd9ff5d
BuildRequires: python3-arpy
dd9ff5d
BuildRequires: python3-click
dd9ff5d
BuildRequires: python3-gobject
dd9ff5d
BuildRequires: python3-grpcio >= 1.10
dd9ff5d
BuildRequires: python3-jinja2 >= 2.10
dd9ff5d
BuildRequires: python3-pluginbase
dd9ff5d
BuildRequires: python3-protobuf >= 3.5
dd9ff5d
BuildRequires: python3-psutil
5c8d9c6
BuildRequires: python3-ruamel-yaml
5c8d9c6
BuildRequires: python3-ujson
dd9ff5d
dd9ff5d
Requires:      bubblewrap
dd9ff5d
Requires:      fuse-libs
fe7ea62
Requires:      git
fe7ea62
Requires:      lzip
dd9ff5d
Requires:      ostree-libs
fe7ea62
Requires:      patch
dd9ff5d
Requires:      python3-arpy
dd9ff5d
Requires:      python3-click
dd9ff5d
Requires:      python3-gobject
dd9ff5d
Requires:      python3-grpcio >= 1.10
dd9ff5d
Requires:      python3-jinja2 >= 2.10
dd9ff5d
Requires:      python3-pluginbase
dd9ff5d
Requires:      python3-protobuf >= 3.5
dd9ff5d
Requires:      python3-psutil
5c8d9c6
Requires:      python3-ruamel-yaml
dd9ff5d
Requires:      python3-setuptools
5c8d9c6
Requires:      python3-ujson
fe7ea62
Requires:      tar
dd9ff5d
dd9ff5d
BuildArch:     noarch
dd9ff5d
5b482ef
# Disable the automatic Python dependency generator
5b482ef
#
5b482ef
# BuildStream >= 1.4.1 asks for ruamel.yaml >= 0.16 which is unfortunately not
5b482ef
# in Fedora < 32. As a result, the automatic dependency generator leads to an
5b482ef
# installable package.
5b482ef
#
5b482ef
# However, BuildStream works fine with ruamel.yaml < 0.16, as confirmed with
5b482ef
# upstream.
5b482ef
%{?python_disable_dependency_generator}
5b482ef
dd9ff5d
%description
dd9ff5d
BuildStream is a Free Software tool for building/integrating software stacks.
dd9ff5d
It takes inspiration, lessons and use-cases from various projects including
dd9ff5d
OBS, Reproducible Builds, Yocto, Baserock, Buildroot, Aboriginal, GNOME
dd9ff5d
Continuous, JHBuild, Flatpak Builder and Android repo.
dd9ff5d
dd9ff5d
BuildStream supports multiple build-systems (e.g. autotools, cmake, cpan,
dd9ff5d
distutils, make, meson, qmake), and can create outputs in a range of formats
dd9ff5d
(e.g. debian packages, flatpak runtimes, sysroots, system images) for multiple
dd9ff5d
platforms and chipsets.
dd9ff5d
dd9ff5d
dd9ff5d
%package docs
dd9ff5d
Summary:       BuildStream documentation
dd9ff5d
dd9ff5d
%description docs
dd9ff5d
BuildStream is a Free Software tool for building/integrating software stacks.
dd9ff5d
It takes inspiration, lessons and use-cases from various projects including
dd9ff5d
OBS, Reproducible Builds, Yocto, Baserock, Buildroot, Aboriginal, GNOME
dd9ff5d
Continuous, JHBuild, Flatpak Builder and Android repo.
dd9ff5d
dd9ff5d
BuildStream supports multiple build-systems (e.g. autotools, cmake, cpan,
dd9ff5d
distutils, make, meson, qmake), and can create outputs in a range of formats
dd9ff5d
(e.g. debian packages, flatpak runtimes, sysroots, system images) for multiple
dd9ff5d
platforms and chipsets.
dd9ff5d
dd9ff5d
This package provides the documentation for BuildStream.
dd9ff5d
dd9ff5d
dd9ff5d
%prep
dd9ff5d
%autosetup -n %{name}-%{version} -p1
dd9ff5d
dd9ff5d
dd9ff5d
%build
6a05666
%py3_build
dd9ff5d
dd9ff5d
pushd doc
dd9ff5d
make devhelp
dd9ff5d
popd
dd9ff5d
dd9ff5d
dd9ff5d
%install
6a05666
%py3_install
dd9ff5d
dd9ff5d
mkdir -p %{buildroot}%{_datadir}/gtk-doc/html/
dd9ff5d
cp -pr doc/build/devhelp %{buildroot}%{_datadir}/gtk-doc/html/BuildStream
dd9ff5d
dd9ff5d
dd9ff5d
# Disable the tests for now, too many unavailable dependencies
dd9ff5d
%check
535203a
#%%{__python3} setup.py test
dd9ff5d
dd9ff5d
dd9ff5d
%files
dd9ff5d
%doc NEWS README.rst
dd9ff5d
%license COPYING
dd9ff5d
%{_bindir}/bst*
dd9ff5d
%{python3_sitelib}/BuildStream-%{version}*.egg-info
dd9ff5d
%{python3_sitelib}/buildstream
dd9ff5d
%{_datadir}/bash-completion/completions/bst
dd9ff5d
%{_mandir}/man1/bst*
dd9ff5d
dd9ff5d
dd9ff5d
%files docs
dd9ff5d
%{_datadir}/gtk-doc
dd9ff5d
dd9ff5d
dd9ff5d
%changelog
5b482ef
* Fri Sep 06 2019 Mathieu Bridon <bochecha@daitauha.fr> - 1.4.1-2
5b482ef
- Disable the automatic Python requirements.
5b482ef
5c8d9c6
* Tue Sep 03 2019 Mathieu Bridon <bochecha@daitauha.fr> - 1.4.1-1
5c8d9c6
- Update to the latest upstream release.
5c8d9c6
854640f
* Tue Jul 16 2019 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.8-1
854640f
- Update to the latest upstream release.
854640f
a2ddb4a
* Tue May 21 2019 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.7-1
a2ddb4a
- Update to the latest upstream release.
a2ddb4a
b383304
* Thu May 02 2019 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.6-1
b383304
- Update to the latest upstream release.
b383304
5f979fd
* Mon Apr 22 2019 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.5-1
5f979fd
- Update to the latest upstream release.
5f979fd
a71704a
* Thu Feb 14 2019 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.4-1
a71704a
- Update to the latest upstream release.
a71704a
f00af96
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-4
f00af96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
f00af96
6a05666
* Mon Dec 17 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.3-3
6a05666
- Rebuild with the new release tarball
6a05666
  https://gitlab.com/BuildStream/buildstream/issues/820
6a05666
- Remove brackets around command macros, to avoid future annoyance if I add
6a05666
  arguments to them.
6a05666
4226cda
* Mon Dec 17 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.3-2
4226cda
- Make buildstream work with click 7.
4226cda
20244aa
* Fri Oct 05 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.3-1
20244aa
- Update to the latest upstream release.
20244aa
2580cf5
* Mon Sep 24 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.2-1
2580cf5
- Update to the latest upstream release.
2580cf5
9f82390
* Sun Sep 23 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.1-2
9f82390
- Add back the blessings dependency.
9f82390
  https://gitlab.com/BuildStream/buildstream/merge_requests/821
9f82390
3ea7fa7
* Fri Sep 21 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.1-1
3ea7fa7
- Update to the latest upstream release.
3ea7fa7
6ddcfd5
* Mon Sep 03 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.2.0-1
6ddcfd5
- Update to the latest upstream release.
6ddcfd5
b5308ba
* Fri Aug 24 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.1.7.1
b5308ba
- Update to the latest upstream release.
b5308ba
bc00d61
* Tue Aug 14 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.1.6-2
bc00d61
- Set the minimum required version of python3-blessings.
bc00d61
  https://gitlab.com/BuildStream/buildstream/merge_requests/663
bc00d61
68e5c56
* Tue Aug 14 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.1.6-1
68e5c56
- Update to the latest upstream release.
68e5c56
64aba0d
* Mon Aug 06 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.1.5-1
64aba0d
- Update to the latest upstream release.
64aba0d
- Add some optional dependencies.
64aba0d
dd9ff5d
* Sat Aug 04 2018 Mathieu Bridon <bochecha@daitauha.fr> - 1.1.4-1
097ef60
- Initial package for fedora.