summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Horak <xhorak@fedoraproject.org>2009-07-22 10:39:24 +0000
committerJan Horak <xhorak@fedoraproject.org>2009-07-22 10:39:24 +0000
commit8fa89a42dabc0a9b25486568a5e7cd347188a124 (patch)
treef5c0a97110ebc2ae7d6328e93809fcd2b06b8977
parent- Update to 3.5.1 (diff)
downloadlibrewolf-fedora-ff-8fa89a42dabc0a9b25486568a5e7cd347188a124.tar.gz
librewolf-fedora-ff-8fa89a42dabc0a9b25486568a5e7cd347188a124.tar.bz2
librewolf-fedora-ff-8fa89a42dabc0a9b25486568a5e7cd347188a124.zip
New icons fixed
-rw-r--r--firefox.pngbin25121 -> 0 bytes
-rw-r--r--firefox.spec38
2 files changed, 29 insertions, 9 deletions
diff --git a/firefox.png b/firefox.png
deleted file mode 100644
index f82ea67..0000000
--- a/firefox.png
+++ /dev/null
Binary files differ
diff --git a/firefox.spec b/firefox.spec
index b8c028a..f84c6c7 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -19,7 +19,7 @@
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 3.5.1
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://www.mozilla.org/projects/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Group: Applications/Internet
@@ -37,7 +37,6 @@ Source11: firefox-mozconfig-branded
Source12: firefox-redhat-default-prefs.js
Source20: firefox.desktop
Source21: firefox.sh.in
-Source22: firefox.png
Source23: firefox.1
Source100: find-external-requires
@@ -147,9 +146,7 @@ cd %{tarballdir}
DESTDIR=$RPM_BUILD_ROOT make install
-%{__mkdir_p} $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_datadir}/applications,%{_datadir}/pixmaps}
-
-%{__install} -p -D -m 644 %{SOURCE22} $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.png
+%{__mkdir_p} $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_datadir}/applications}
desktop-file-install --vendor mozilla \
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
@@ -198,11 +195,26 @@ ln -s %{default_bookmarks_file} $RPM_BUILD_ROOT/%{mozappdir}/defaults/profile/bo
#EOF
#%{__chmod} 644 $RPM_BUILD_ROOT/%{mozappdir}/defaults/pref/firefox-l10n.js
-%{__mkdir_p} $RPM_BUILD_ROOT/%{mozappdir}/chrome/icons/default/
-%{__cp} other-licenses/branding/%{name}/default16.png \
- $RPM_BUILD_ROOT/%{mozappdir}/chrome/icons/default/
%{__cp} other-licenses/branding/%{name}/default16.png \
$RPM_BUILD_ROOT/%{mozappdir}/icons/
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps
+%{__cp} other-licenses/branding/%{name}/default16.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/16x16/apps/firefox.png
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps
+%{__cp} other-licenses/branding/%{name}/default22.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/22x22/apps/firefox.png
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps
+%{__cp} other-licenses/branding/%{name}/default24.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/24x24/apps/firefox.png
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
+%{__cp} other-licenses/branding/%{name}/default32.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/firefox.png
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
+%{__cp} other-licenses/branding/%{name}/default48.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/firefox.png
+%{__mkdir_p} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps
+%{__cp} other-licenses/branding/%{name}/default256.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/256x256/apps/firefox.png
echo > ../%{name}.lang
%if %{build_langpacks}
@@ -290,7 +302,6 @@ fi
%dir %{_datadir}/mozilla/extensions/%{firefox_app_id}
%dir %{_libdir}/mozilla/extensions/%{firefox_app_id}
%{_datadir}/applications/mozilla-%{name}.desktop
-%{_datadir}/pixmaps/firefox.png
%dir %{mozappdir}
%doc %{mozappdir}/LICENSE
%doc %{mozappdir}/README.txt
@@ -317,10 +328,19 @@ fi
# XXX See if these are needed still
%{mozappdir}/updater*
%exclude %{mozappdir}/removed-files
+%{_datadir}/icons/hicolor/16x16/apps/firefox.png
+%{_datadir}/icons/hicolor/22x22/apps/firefox.png
+%{_datadir}/icons/hicolor/24x24/apps/firefox.png
+%{_datadir}/icons/hicolor/256x256/apps/firefox.png
+%{_datadir}/icons/hicolor/32x32/apps/firefox.png
+%{_datadir}/icons/hicolor/48x48/apps/firefox.png
#---------------------------------------------------------------------
%changelog
+* Wed Jul 22 2009 Jan Horak <jhorak@redhat.com> - 3.5.1-2
+- New icons fixed
+
* Fri Jul 17 2009 Christopher Aillon <caillon@redhat.com> - 3.5.1-1
- Update to 3.5.1
bgstack15