File boost-build.spec of Package boost-build
#
# spec file for package boost-build
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: boost-build
Version: 4.2.0
Release: 0
Summary: Tool for building C++ projects
# recheck this one
License: BSL-1.0
URL: https://boostorg.github.io/build
Source0: https://github.com/boostorg/build/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
###
BuildRequires: python3-pytest
###
###Requires:
%description
Boost.Build makes it easy to build C++ projects, everywhere.
%prep
%autosetup -n build-%{version}
%build
export CFLAGS="%{optflags}"
export CXXFLAGS="%{optflags}"
./bootstrap.sh
%install
./b2 install --prefix=%{buildroot}%{_prefix}
#%%check
# don't leave out tests if possible
%files
%license LICENSE.txt
%doc README.adoc
%{_bindir}/b2
%dir %{_datadir}/%{name}
%dir %{_datadir}/%{name}/src
%dir %{_datadir}/%{name}/src/build
%dir %{_datadir}/%{name}/src/contrib
%dir %{_datadir}/%{name}/src/kernel
%dir %{_datadir}/%{name}/src/options
%dir %{_datadir}/%{name}/src/tools
%dir %{_datadir}/%{name}/src/tools/doxygen
%dir %{_datadir}/%{name}/src/tools/features
%dir %{_datadir}/%{name}/src/tools/generators
%dir %{_datadir}/%{name}/src/tools/types
%dir %{_datadir}/%{name}/src/tools/xsltproc
%dir %{_datadir}/%{name}/src/util
%{_datadir}/%{name}/boost-build.jam
%{_datadir}/%{name}/src/build-system.jam
%{_datadir}/%{name}/src/build/*.jam
%{_datadir}/%{name}/src/contrib/*jam
%{_datadir}/%{name}/src/kernel/*.jam
%{_datadir}/%{name}/src/options/*.jam
%{_datadir}/%{name}/src/tools/doxproc.py
%{_datadir}/%{name}/src/tools/*.jam
%{_datadir}/%{name}/src/tools/doxygen/windows-paths-check.doxyfile
%{_datadir}/%{name}/src/tools/doxygen/windows-paths-check.hpp
%{_datadir}/%{name}/src/tools/features/*.jam
%{_datadir}/%{name}/src/tools/generators/*.jam
%{_datadir}/%{name}/src/tools/types/*.jam
%{_datadir}/%{name}/src/tools/xsltproc/included.xsl
%{_datadir}/%{name}/src/tools/xsltproc/test.xml
%{_datadir}/%{name}/src/tools/xsltproc/test.xsl
%{_datadir}/%{name}/src/util/*.jam
%changelog