BuildRequires: python
==== Setup stage ====
%prep
%setup -q
./configure # Unpack scons-mini
CXXFLAGS="%{optflags}" \
./scons configure \
%if %{_lib} == lib64
libsuffix=64 \
%endif
prefix="%{_prefix}"
==== Build stage ====
%build
./scons
==== Installation stage ====
%install
%{__rm} -rf "%{buildroot}"
DESTDIR="%{buildroot}" ./scons install