Adapt to man page changes for Chromium 63

Starting from Chromium 63 the man page is not installed by default, but
it is generated from the template.
epel8
Tomas Popela 7 years ago
parent bc9e77bbac
commit 06c182be2e

@ -17,6 +17,7 @@
# %%{nil} for Stable; -beta for Beta; -dev for Devel # %%{nil} for Stable; -beta for Beta; -dev for Devel
# dash in -beta and -dev is intentional ! # dash in -beta and -dev is intentional !
%global chromium_channel %{nil} %global chromium_channel %{nil}
%global chromium_menu_name Chromium
%global chromium_browser_channel chromium-browser%{chromium_channel} %global chromium_browser_channel chromium-browser%{chromium_channel}
%global chromium_path %{_libdir}/chromium-browser%{chromium_channel} %global chromium_path %{_libdir}/chromium-browser%{chromium_channel}
%global crd_path %{_libdir}/chrome-remote-desktop %global crd_path %{_libdir}/chrome-remote-desktop
@ -1244,7 +1245,9 @@ chmod -x %{buildroot}%{chromium_path}/nacl_helper_bootstrap* *.nexe
cp -a protoc pyproto %{buildroot}%{chromium_path} cp -a protoc pyproto %{buildroot}%{chromium_path}
cp -a chrome %{buildroot}%{chromium_path}/%{chromium_browser_channel} cp -a chrome %{buildroot}%{chromium_path}/%{chromium_browser_channel}
cp -a chrome_sandbox %{buildroot}%{chromium_path}/chrome-sandbox cp -a chrome_sandbox %{buildroot}%{chromium_path}/chrome-sandbox
cp -a chrome.1 %{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1 cp -a ../../chrome/app/resources/manpage.1.in %{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
sed -i "s|@@PACKAGE@@|%{chromium_browser_channel}|g" %{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
sed -i "s|@@MENUNAME@@|%{chromium_menu_name}|g" %{buildroot}%{_mandir}/man1/%{chromium_browser_channel}.1
# V8 initial snapshots # V8 initial snapshots
# https://code.google.com/p/chromium/issues/detail?id=421063 # https://code.google.com/p/chromium/issues/detail?id=421063
cp -a natives_blob.bin %{buildroot}%{chromium_path} cp -a natives_blob.bin %{buildroot}%{chromium_path}

Loading…
Cancel
Save