|
|
@ -28,6 +28,7 @@ URL: https://waf.io/
|
|
|
|
# - docs/book, licensed CC BY-NC-ND
|
|
|
|
# - docs/book, licensed CC BY-NC-ND
|
|
|
|
# - Waf logos, licensed CC BY-NC
|
|
|
|
# - Waf logos, licensed CC BY-NC
|
|
|
|
Source: waf-%{version}.stripped.tar.bz2
|
|
|
|
Source: waf-%{version}.stripped.tar.bz2
|
|
|
|
|
|
|
|
Source1: unpack_wafdir.py
|
|
|
|
Patch0: waf-1.8.11-libdir.patch
|
|
|
|
Patch0: waf-1.8.11-libdir.patch
|
|
|
|
Patch1: waf-1.6.9-logo.patch
|
|
|
|
Patch1: waf-1.6.9-logo.patch
|
|
|
|
Patch2: waf-1.8.11-sphinx-no-W.patch
|
|
|
|
Patch2: waf-1.8.11-sphinx-no-W.patch
|
|
|
@ -139,23 +140,18 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
# use waf so it unpacks itself
|
|
|
|
%{__python2} %{S:1} _temp
|
|
|
|
mkdir _temp ; pushd _temp
|
|
|
|
pushd _temp
|
|
|
|
cp -av ../waf .
|
|
|
|
|
|
|
|
%{__python2} ./waf >/dev/null 2>&1
|
|
|
|
|
|
|
|
pushd .waf-%{version}-*
|
|
|
|
|
|
|
|
find . -name '*.py' -printf '%%P\0' |
|
|
|
|
find . -name '*.py' -printf '%%P\0' |
|
|
|
|
xargs -0 -I{} install -m 0644 -p -D {} %{buildroot}%{_datadir}/waf/{}
|
|
|
|
xargs -0 -I{} install -m 0644 -p -D {} %{buildroot}%{_datadir}/waf/{}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
# use waf so it unpacks itself
|
|
|
|
%{__python3} %{S:1} _temp3
|
|
|
|
%{__python3} ./waf >/dev/null 2>&1
|
|
|
|
pushd _temp3
|
|
|
|
pushd .waf3-%{version}-*
|
|
|
|
|
|
|
|
find . -name '*.py' -printf '%%P\0' |
|
|
|
|
find . -name '*.py' -printf '%%P\0' |
|
|
|
|
xargs -0 -I{} install -m 0644 -p -D {} %{buildroot}%{_datadir}/waf3/{}
|
|
|
|
xargs -0 -I{} install -m 0644 -p -D {} %{buildroot}%{_datadir}/waf3/{}
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
%endif # with_python3
|
|
|
|
%endif # with_python3
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# install the frontend
|
|
|
|
# install the frontend
|
|
|
|
install -m 0755 -p -D waf-light %{buildroot}%{_bindir}/waf-%{python2_version}
|
|
|
|
install -m 0755 -p -D waf-light %{buildroot}%{_bindir}/waf-%{python2_version}
|
|
|
@ -248,6 +244,8 @@ rm -f docs/sphinx/build/html/.buildinfo
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri Jul 20 2018 Thomas Moschny <thomas.moschny@gmx.de> - 1.9.14-2
|
|
|
|
* Fri Jul 20 2018 Thomas Moschny <thomas.moschny@gmx.de> - 1.9.14-2
|
|
|
|
- Spec file cleanups.
|
|
|
|
- Spec file cleanups.
|
|
|
|
|
|
|
|
- Add unpack_wafdir.py (rhbz#1509550).
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.14-1.3
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.14-1.3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|