diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2015-01-03 17:27:39 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2015-01-03 17:27:39 +0800 |
commit | 67e6d408f984229067463df9969a05148270bd2a (patch) | |
tree | f5713086c766a776a1dcc8f9255c0e8b60091156 /chromium | |
parent | 745e148f7e3fc83c9b23edc2991491ddafccae7f (diff) | |
download | copr-rpm-spec-67e6d408f984229067463df9969a05148270bd2a.tar copr-rpm-spec-67e6d408f984229067463df9969a05148270bd2a.tar.gz copr-rpm-spec-67e6d408f984229067463df9969a05148270bd2a.tar.bz2 copr-rpm-spec-67e6d408f984229067463df9969a05148270bd2a.tar.lz copr-rpm-spec-67e6d408f984229067463df9969a05148270bd2a.tar.xz copr-rpm-spec-67e6d408f984229067463df9969a05148270bd2a.tar.zst copr-rpm-spec-67e6d408f984229067463df9969a05148270bd2a.zip |
chromium: Fix incorrect application name in GNOME shell
Diffstat (limited to 'chromium')
-rwxr-xr-x | chromium/chromium/chromium-browser.sh | 4 | ||||
-rw-r--r-- | chromium/chromium/chromium.spec | 10 |
2 files changed, 9 insertions, 5 deletions
diff --git a/chromium/chromium/chromium-browser.sh b/chromium/chromium/chromium-browser.sh index fbbb4df..69dbd9d 100755 --- a/chromium/chromium/chromium-browser.sh +++ b/chromium/chromium/chromium-browser.sh @@ -10,12 +10,12 @@ # and modified by Ting-Wei Lan <lantw44@gmail.com>. All modifications are also # licensed under GPLv2 or later. -APPNAME=chrome +APPNAME=chromium-browser LIBDIR=@@CHROMIUMDIR@@ GDB=/usr/bin/gdb usage () { - echo "chromium-browser [-h|--help] [-g|--debug] [options] [URL]" + echo "$APPNAME [-h|--help] [-g|--debug] [options] [URL]" echo echo " -g or --debug Start within $GDB" echo " -h or --help This help screen" diff --git a/chromium/chromium/chromium.spec b/chromium/chromium/chromium.spec index 9b6da4b..84f020f 100644 --- a/chromium/chromium/chromium.spec +++ b/chromium/chromium/chromium.spec @@ -8,7 +8,7 @@ Name: chromium Version: 39.0.2171.95 -Release: 1%{?dist} +Release: 2%{?dist} Summary: An open-source project that aims to build a safer, faster, and more stable browser Group: Applications/Internet @@ -136,7 +136,7 @@ sed -e "s|@@CHROMIUMDIR@@|%{chromiumdir}|" -e "s|@@BUILDTARGET@@|`cat /etc/redha install -m 755 chromium-browser.sh %{buildroot}%{_bindir}/chromium-browser desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE2} install -m 644 out/Release/chrome.1 %{buildroot}%{_mandir}/man1/chromium-browser.1 -install -m 755 out/Release/chrome %{buildroot}%{chromiumdir}/ +install -m 755 out/Release/chrome %{buildroot}%{chromiumdir}/chromium-browser install -m 4755 out/Release/chrome_sandbox %{buildroot}%{chromiumdir}/chrome-sandbox install -m 755 out/Release/chromedriver %{buildroot}%{chromiumdir}/ install -m 755 out/Release/libffmpegsumo.so %{buildroot}%{chromiumdir}/ @@ -180,7 +180,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{_datadir}/icons/hicolor/128x128/apps/chromium-browser.png %{_datadir}/icons/hicolor/256x256/apps/chromium-browser.png %{_mandir}/man1/chromium-browser.1.gz -%{chromiumdir}/chrome +%{chromiumdir}/chromium-browser %{chromiumdir}/chrome-sandbox %{chromiumdir}/chromedriver %{chromiumdir}/libffmpegsumo.so @@ -195,5 +195,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Sat Jan 03 2015 - Ting-Wei Lan <lantw44@gmail.com> - 39.0.2171.95-2 +- Make sure that GNOME shell obtains correct application name from the + chromium-browser.desktop file. + * Fri Jan 02 2015 - Ting-Wei Lan <lantw44@gmail.com> - 39.0.2171.95-1 - Initial packaging |