summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Stransky <stransky@fedoraproject.org>2007-12-04 16:25:53 +0000
committerMartin Stransky <stransky@fedoraproject.org>2007-12-04 16:25:53 +0000
commitb7c5c4d3829fe56f5be37eceb5dc19e64bc0af34 (patch)
tree42cf13925e20c3c70bd361eb0111ad26934a1295
parent- removed gre.conf file (most of the gtkmozembed applications run with (diff)
downloadlibrewolf-fedora-ff-b7c5c4d3829fe56f5be37eceb5dc19e64bc0af34.tar.gz
librewolf-fedora-ff-b7c5c4d3829fe56f5be37eceb5dc19e64bc0af34.tar.bz2
librewolf-fedora-ff-b7c5c4d3829fe56f5be37eceb5dc19e64bc0af34.zip
- fixed an icon location
-rw-r--r--firefox.desktop2
-rw-r--r--firefox.spec19
2 files changed, 16 insertions, 5 deletions
diff --git a/firefox.desktop b/firefox.desktop
index 5e89853..b17697d 100644
--- a/firefox.desktop
+++ b/firefox.desktop
@@ -5,7 +5,7 @@ Name=Firefox Web Browser
GenericName=Web Browser
Comment=Browse the Web
Exec=firefox %u
-Icon=firefox.png
+Icon=firefox
Terminal=false
Type=Application
StartupWMClass=Firefox-bin
diff --git a/firefox.spec b/firefox.spec
index 3d2f24d..d38b836 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -12,7 +12,7 @@
Summary: Mozilla Firefox Web browser.
Name: firefox
Version: 2.0.0.10
-Release: 2%{?dist}
+Release: 3%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -220,9 +220,9 @@ make -f client.mk build
DESTDIR=$RPM_BUILD_ROOT make install
-%{__mkdir_p} $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_datadir}/applications}
+%{__mkdir_p} $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_datadir}/applications,%{_datadir}/icons/hicolor/48x48/apps},
-%{__install} -p -D -m 644 %{SOURCE22} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
+%{__install} -p -D -m 644 %{SOURCE22} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
desktop-file-install --vendor mozilla \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
@@ -361,9 +361,17 @@ touch $RPM_BUILD_ROOT%{mozappdir}/components/xpti.dat
%post
update-desktop-database %{_datadir}/applications
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
%postun
update-desktop-database %{_datadir}/applications
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
%preun
# is it a final removal?
@@ -379,7 +387,7 @@ fi
%exclude %{_bindir}/firefox-config
%{_mandir}/man1/*
%{_datadir}/applications/mozilla-%{name}.desktop
-%{_datadir}/pixmaps/firefox.png
+%{_datadir}/icons/hicolor/48x48/apps/firefox.png
%{_libdir}/mozilla
#%dir /etc/gre.d
#/etc/gre.d/%{gre_conf_file}
@@ -436,6 +444,9 @@ fi
#---------------------------------------------------------------------
%changelog
+* Tue Dec 4 2007 Martin Stransky <stransky@redhat.com> 2.0.0.10-3
+- fixed an icon location
+
* Mon Dec 3 2007 Martin Stransky <stransky@redhat.com> 2.0.0.10-2
- removed gre.conf file (most of the gtkmozembed applications
run with xulrunner now)
bgstack15