fixed filelist
authorWolfgang Rosenauer <wr@rosenauer.org>
Sun, 11 Feb 2018 09:26:36 +0100
changeset 1034 c88f42fc1f36
parent 1033 51bfdd19b9e9
child 1035 452af5d124ad
fixed filelist
fixed icons
fixed languagepack build
MozillaFirefox/MozillaFirefox.spec
--- a/MozillaFirefox/MozillaFirefox.spec	Sun Feb 11 09:25:30 2018 +0100
+++ b/MozillaFirefox/MozillaFirefox.spec	Sun Feb 11 09:26:36 2018 +0100
@@ -397,7 +397,7 @@
 %if %localize
 rm -f %{_tmppath}/translations.*
 touch %{_tmppath}/translations.{common,other}
-for locale in $(awk '{ print $1; }' %{SOURCE17}); do
+for locale in $(cat $RPM_BUILD_DIR/mozilla/browser/locales/shipped-locales) ; do
   case $locale in
    ja-JP-mac|en-US|'')
 	;;
@@ -468,10 +468,10 @@
 mkdir -p %{buildroot}%{_datadir}/mozilla/extensions/%{firefox_appid}
 mkdir -p %{buildroot}%{_libdir}/mozilla/extensions/%{firefox_appid}
 mkdir -p %{buildroot}/usr/share/pixmaps/
-ln -sf %{progdir}/browser/icons/mozicon128.png %{buildroot}/usr/share/pixmaps/%{progname}.png
-ln -sf %{progdir}/browser/icons/mozicon128.png %{buildroot}/usr/share/pixmaps/%{progname}-gnome.png
+ln -sf %{progdir}/browser/chrome/icons/default/default128.png %{buildroot}/usr/share/pixmaps/%{progname}.png
+ln -sf %{progdir}/browser/chrome/icons/default/default128.png %{buildroot}/usr/share/pixmaps/%{progname}-gnome.png
 %if %branding
-for size in 16 22 24 32 48 256; do
+for size in 16 22 24 32 48 64 128 256; do
 %else
 for size in 16 32 48; do
 %endif
@@ -559,7 +559,6 @@
 %dir %{progdir}/browser/extensions/
 %{progdir}/browser/defaults
 %{progdir}/browser/features/
-%{progdir}/browser/icons/
 %{progdir}/browser/chrome/icons
 %{progdir}/browser/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}.xpi
 %{progdir}/browser/blocklist.xml
@@ -578,7 +577,7 @@
 %{progdir}/application.ini
 %{progdir}/chrome.manifest
 %{progdir}/dependentlibs.list
-%{progdir}/icudt59l.dat
+%{progdir}/icudt*.dat
 %{progdir}/*.so
 %{progdir}/omni.ja
 %{progdir}/fonts/