summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Aillon <caillon@fedoraproject.org>2006-02-10 22:45:22 +0000
committerChristopher Aillon <caillon@fedoraproject.org>2006-02-10 22:45:22 +0000
commita903d1df81fafc89886c180b1c6b83a673a11a35 (patch)
treead39ee3e57b07afa1e37101f28f04c67585491e0
parentbump for new gcc/glibc (diff)
downloadlibrewolf-fedora-ff-a903d1df81fafc89886c180b1c6b83a673a11a35.tar.gz
librewolf-fedora-ff-a903d1df81fafc89886c180b1c6b83a673a11a35.tar.bz2
librewolf-fedora-ff-a903d1df81fafc89886c180b1c6b83a673a11a35.zip
- Improve the langpack install stuff
- Fix up dumpstack.patch to match the finalized change
-rw-r--r--firefox.spec22
1 files changed, 15 insertions, 7 deletions
diff --git a/firefox.spec b/firefox.spec
index 23b7264..9947bef 100644
--- a/firefox.spec
+++ b/firefox.spec
@@ -9,7 +9,7 @@
Summary: Mozilla Firefox Web browser.
Name: firefox
Version: 1.5.0.1
-Release: 2.1
+Release: 3
URL: http://www.mozilla.org/projects/firefox/
License: MPL/LGPL
Group: Applications/Internet
@@ -105,7 +105,7 @@ compliance, performance and portability.
%ifnarch i386
%patch5 -p0
%endif
-%patch6 -p1
+%patch6 -p0
%patch20 -p0
%patch21 -p1
@@ -206,15 +206,19 @@ for langpack in `ls firefox-langpacks/*.xpi`; do
extensiondir=$RPM_BUILD_ROOT%{ffdir}/extensions/langpack-$language@firefox.mozilla.org
%{__mkdir_p} $extensiondir
unzip $langpack -d $extensiondir
+ find $extensiondir -type f | xargs chmod 644
- %{__rm} -rf locale
+ langtmp=%{_tmpdir}/%{name}/langpack-$language
+ %{__mkdir_p} $langtmp
jarfile=$extensiondir/chrome/$language.jar
- unzip $jarfile
- sed -i -e "s|browser.startup.homepage.*$|browser.startup.homepage=%{indexhtml}|g;" locale/browser-region/region.properties
+ unzip $jarfile -d $langtmp
+ sed -i -e "s|browser.startup.homepage.*$|browser.startup.homepage=%{indexhtml}|g;" $langtmp/locale/browser-region/region.properties
+ find $langtmp -type f | xargs chmod 644
%{__rm} -rf $jarfile
+ cd $langtmp
zip -r -D $jarfile locale
%{__rm} -rf locale
-
+ cd -
done
%{__rm} -rf firefox-langpacks
@@ -258,7 +262,11 @@ fi
#---------------------------------------------------------------------
%changelog
-* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.5.0.1-2.1
+* Fri Feb 10 2006 Christopher Aillon <caillon@redhat.com> - 1.5.0.1-3
+- Improve the langpack install stuff
+- Fix up dumpstack.patch to match the finalized change
+
+* Tue Feb 7 2006 Jesse Keating <jkeating@redhat.com> - 1.5.0.1-2.1
- rebuilt for new gcc4.1 snapshot and glibc changes
* Wed Feb 1 2006 Christopher Aillon <caillon@redhat.com> - 1.5.0.1-2
bgstack15