Update to 3.6
This commit is contained in:
parent
4a41608186
commit
75e33f00cd
@ -10,3 +10,5 @@ firefox-3.5.4-source.tar.bz2
|
|||||||
firefox-langpacks-3.5.4-20091026.tar.bz2
|
firefox-langpacks-3.5.4-20091026.tar.bz2
|
||||||
firefox-3.5.5-source.tar.bz2
|
firefox-3.5.5-source.tar.bz2
|
||||||
firefox-langpacks-3.5.5-20091105.tar.bz2
|
firefox-langpacks-3.5.5-20091105.tar.bz2
|
||||||
|
firefox-langpacks-3.6.1-20091118.tar.bz2
|
||||||
|
firefox-3.6b2.source.tar.bz2
|
||||||
|
39
firefox.spec
39
firefox.spec
@ -3,34 +3,30 @@
|
|||||||
%define firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
%define firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\}
|
||||||
|
|
||||||
%define mozappdir %{_libdir}/%{name}-%{internal_version}
|
%define mozappdir %{_libdir}/%{name}-%{internal_version}
|
||||||
%define tarballdir mozilla-1.9.1
|
%define tarballdir mozilla-1.9.2
|
||||||
|
|
||||||
%define xulrunner_version 1.9.1.5-1
|
%define xulrunner_version 1.9.2.1
|
||||||
%define internal_version %{version}
|
%define internal_version 3.6
|
||||||
|
|
||||||
%define official_branding 1
|
%define official_branding 0
|
||||||
%define build_langpacks 1
|
%define build_langpacks 1
|
||||||
|
|
||||||
%if ! %{official_branding}
|
%if ! %{official_branding}
|
||||||
%define cvsdate 20080327
|
%define cvsdate 20080327
|
||||||
%define nightly .cvs%{cvsdate}
|
%define nightly .cvs%{cvsdate}
|
||||||
|
%define prever b2
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Summary: Mozilla Firefox Web browser
|
Summary: Mozilla Firefox Web browser
|
||||||
Name: firefox
|
Name: firefox
|
||||||
Version: 3.5.5
|
Version: 3.6.1
|
||||||
Release: 1%{?dist}
|
Release: 0.1.%{?prever}%{?dist}
|
||||||
URL: http://www.mozilla.org/projects/firefox/
|
URL: http://www.mozilla.org/projects/firefox/
|
||||||
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
License: MPLv1.1 or GPLv2+ or LGPLv2+
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
%if %{official_branding}
|
Source0: firefox-%{internal_version}%{?prever}.source.tar.bz2
|
||||||
%define tarball firefox-%{internal_version}-source.tar.bz2
|
|
||||||
%else
|
|
||||||
%define tarball firefox-3.1b4-source.tar.bz2
|
|
||||||
%endif
|
|
||||||
Source0: %{tarball}
|
|
||||||
%if %{build_langpacks}
|
%if %{build_langpacks}
|
||||||
Source2: firefox-langpacks-%{version}-20091105.tar.bz2
|
Source2: firefox-langpacks-%{version}-20091118.tar.bz2
|
||||||
%endif
|
%endif
|
||||||
Source10: firefox-mozconfig
|
Source10: firefox-mozconfig
|
||||||
Source11: firefox-mozconfig-branded
|
Source11: firefox-mozconfig-branded
|
||||||
@ -41,6 +37,8 @@ Source23: firefox.1
|
|||||||
Source100: find-external-requires
|
Source100: find-external-requires
|
||||||
|
|
||||||
|
|
||||||
|
#Build patches
|
||||||
|
Patch0: firefox-version.patch
|
||||||
|
|
||||||
# Upstream patches
|
# Upstream patches
|
||||||
|
|
||||||
@ -59,7 +57,7 @@ Source100: find-external-requires
|
|||||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||||
BuildRequires: desktop-file-utils
|
BuildRequires: desktop-file-utils
|
||||||
BuildRequires: system-bookmarks
|
BuildRequires: system-bookmarks
|
||||||
BuildRequires: xulrunner-devel-unstable >= %{xulrunner_version}
|
BuildRequires: xulrunner-devel >= %{xulrunner_version}
|
||||||
|
|
||||||
Requires: xulrunner >= %{xulrunner_version}
|
Requires: xulrunner >= %{xulrunner_version}
|
||||||
Requires: system-bookmarks
|
Requires: system-bookmarks
|
||||||
@ -80,6 +78,11 @@ compliance, performance and portability.
|
|||||||
%setup -q -c
|
%setup -q -c
|
||||||
cd %{tarballdir}
|
cd %{tarballdir}
|
||||||
|
|
||||||
|
sed -e 's/__RPM_VERSION_INTERNAL__/%{internal_version}/' %{P:%%PATCH0} \
|
||||||
|
> version.patch
|
||||||
|
%{__patch} -p1 -b --suffix .version --fuzz=0 < version.patch
|
||||||
|
|
||||||
|
|
||||||
# For branding specific patches.
|
# For branding specific patches.
|
||||||
|
|
||||||
%if %{official_branding}
|
%if %{official_branding}
|
||||||
@ -133,6 +136,11 @@ make -f client.mk build STRIP="/bin/true" MOZ_MAKE_FLAGS="$MOZ_SMP_FLAGS"
|
|||||||
%{__rm} -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
cd %{tarballdir}
|
cd %{tarballdir}
|
||||||
|
|
||||||
|
INTERNAL_GECKO=%{internal_version}
|
||||||
|
|
||||||
|
INTERNAL_APP_NAME=%{name}-${INTERNAL_GECKO}
|
||||||
|
MOZ_APP_DIR=%{_libdir}/${INTERNAL_APP_NAME}
|
||||||
|
|
||||||
DESTDIR=$RPM_BUILD_ROOT make install
|
DESTDIR=$RPM_BUILD_ROOT make install
|
||||||
|
|
||||||
%{__mkdir_p} $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_datadir}/applications}
|
%{__mkdir_p} $RPM_BUILD_ROOT{%{_libdir},%{_bindir},%{_datadir}/applications}
|
||||||
@ -330,6 +338,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|||||||
#---------------------------------------------------------------------
|
#---------------------------------------------------------------------
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Nov 13 2009 Martin Stransky <stransky@redhat.com> - 3.6.1-0.1.b2
|
||||||
|
- Rebase to 3.6.1 Beta 2
|
||||||
|
|
||||||
* Thu Nov 5 2009 Jan Horak <jhorak@redhat.com> - 3.5.5-1
|
* Thu Nov 5 2009 Jan Horak <jhorak@redhat.com> - 3.5.5-1
|
||||||
- Update to 3.5.5
|
- Update to 3.5.5
|
||||||
|
|
||||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
|||||||
b3d92dfb40584141dc1068efc9bdfccc firefox-3.5.5-source.tar.bz2
|
29da539ba954deea6c678d4d5e0fb85a firefox-langpacks-3.6.1-20091118.tar.bz2
|
||||||
d3e23da5bac91f377db7f9b46866a665 firefox-langpacks-3.5.5-20091105.tar.bz2
|
639cb790cecae3bde47ec650ab03c9a1 firefox-3.6b2.source.tar.bz2
|
||||||
|
Loading…
Reference in New Issue
Block a user