MozillaFirefox/MozillaFirefox.spec
changeset 220 2538fd6a51be
parent 219 b20cf866bb49
child 221 488440b896fe
equal deleted inserted replaced
219:b20cf866bb49 220:2538fd6a51be
     1 #
     1 #
     2 # spec file for package MozillaFirefox (Version 4.0b9)
     2 # spec file for package MozillaFirefox (Version 4.0b10)
     3 #
     3 #
     4 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
     4 # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
     5 #               2006-2011 Wolfgang Rosenauer
     5 #               2006-2011 Wolfgang Rosenauer
     6 #
     6 #
     7 # All modifications and additions to the file contributed by third parties
     7 # All modifications and additions to the file contributed by third parties
    27 BuildRequires:  libiw-devel
    27 BuildRequires:  libiw-devel
    28 %else
    28 %else
    29 BuildRequires:  wireless-tools
    29 BuildRequires:  wireless-tools
    30 %endif
    30 %endif
    31 %if 0%{?use_xulrunner}
    31 %if 0%{?use_xulrunner}
    32 BuildRequires:  %{xulrunner}-devel = 2.0b9
    32 BuildRequires:  %{xulrunner}-devel = 2.0b10
    33 %endif
    33 %endif
    34 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
    34 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
    35 Version:        4.0b9
    35 Version:        4.0b10
    36 Provides:       web_browser
    36 Provides:       web_browser
    37 Provides:       firefox = %{version}
    37 Provides:       firefox = %{version}
    38 Release:        1
    38 Release:        1
    39 %define         releasedate 2011011000
    39 %define         releasedate 2011012100
    40 Summary:        Mozilla Firefox Web Browser
    40 Summary:        Mozilla Firefox Web Browser
    41 Url:            http://www.mozilla.org/
    41 Url:            http://www.mozilla.org/
    42 Group:          Productivity/Networking/Web/Browsers
    42 Group:          Productivity/Networking/Web/Browsers
    43 Source:         firefox-%{version}-source.tar.bz2
    43 Source:         firefox-%{version}-source.tar.bz2
    44 Source1:        MozillaFirefox.desktop
    44 Source1:        MozillaFirefox.desktop
    58 Patch4:         firefox-cross-desktop.patch
    58 Patch4:         firefox-cross-desktop.patch
    59 Patch5:         firefox-kde.patch
    59 Patch5:         firefox-kde.patch
    60 Patch6:         firefox-ui-lockdown.patch
    60 Patch6:         firefox-ui-lockdown.patch
    61 Patch7:         firefox-no-sync-l10n.patch
    61 Patch7:         firefox-no-sync-l10n.patch
    62 Patch8:         firefox-libxulsdk-locales.patch
    62 Patch8:         firefox-libxulsdk-locales.patch
    63 Patch9:        firefox-no-default-ualocale.patch
    63 Patch9:         firefox-no-default-ualocale.patch
    64 Patch10:        firefox-multilocale-chrome.patch
    64 Patch10:        firefox-multilocale-chrome.patch
    65 Patch11:        firefox-shell-bmo624267.patch
    65 Patch11:        firefox-shellservice.patch
    66 Patch12:        firefox-shellservice.patch
       
    67 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    66 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    68 Requires(post):   coreutils shared-mime-info desktop-file-utils
    67 Requires(post):   coreutils shared-mime-info desktop-file-utils
    69 Requires(postun): shared-mime-info desktop-file-utils
    68 Requires(postun): shared-mime-info desktop-file-utils
    70 %if 0%{?use_xulrunner}
    69 %if 0%{?use_xulrunner}
    71 Requires:       %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner})
    70 Requires:       %{xulrunner} >= %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' %{xulrunner})
   170 %patch7 -p1
   169 %patch7 -p1
   171 %patch8 -p1
   170 %patch8 -p1
   172 %patch9 -p1
   171 %patch9 -p1
   173 %patch10 -p1
   172 %patch10 -p1
   174 %patch11 -p1
   173 %patch11 -p1
   175 %patch12 -p1
       
   176 
   174 
   177 %build
   175 %build
   178 export MOZ_BUILD_DATE=%{releasedate}
   176 export MOZ_BUILD_DATE=%{releasedate}
   179 export MOZILLA_OFFICIAL=1
   177 export MOZILLA_OFFICIAL=1
   180 export BUILD_OFFICIAL=1
   178 export BUILD_OFFICIAL=1
   201 ac_add_options --with-system-zlib
   199 ac_add_options --with-system-zlib
   202 ac_add_options --disable-installer
   200 ac_add_options --disable-installer
   203 ac_add_options --disable-updater
   201 ac_add_options --disable-updater
   204 ac_add_options --disable-tests
   202 ac_add_options --disable-tests
   205 ac_add_options --disable-debug
   203 ac_add_options --disable-debug
   206 ac_add_options --enable-update-channel=beta
   204 #ac_add_options --enable-update-channel=beta
   207 EOF
   205 EOF
   208 %if 0%{?use_xulrunner}
   206 %if 0%{?use_xulrunner}
   209 cat << EOF >> $MOZCONFIG
   207 cat << EOF >> $MOZCONFIG
   210 ac_add_options --with-libxul-sdk=$SDKDIR
   208 ac_add_options --with-libxul-sdk=$SDKDIR
   211 ac_add_options --enable-chrome-format=jar
   209 ac_add_options --enable-chrome-format=jar