MozillaFirefox/MozillaFirefox.spec
branchfirefox6
changeset 301 9672e7276009
parent 298 8adc6a9b5141
child 305 b7a8ba6b1043
equal deleted inserted replaced
298:8adc6a9b5141 301:9672e7276009
    16 # Please submit bugfixes or comments via http://bugs.opensuse.org/
    16 # Please submit bugfixes or comments via http://bugs.opensuse.org/
    17 #
    17 #
    18 
    18 
    19 # norootforbuild
    19 # norootforbuild
    20 
    20 
    21 %define major 5
    21 %define major 6
    22 %define mainver %major.99
    22 %define mainver %major.0
    23 
    23 
    24 Name:           MozillaFirefox
    24 Name:           MozillaFirefox
    25 BuildRequires:  autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python startup-notification-devel unzip update-desktop-files zip fdupes Mesa-devel yasm
    25 BuildRequires:  autoconf213 gcc-c++ libcurl-devel libgnomeui-devel libidl-devel libnotify-devel python startup-notification-devel unzip update-desktop-files zip fdupes Mesa-devel yasm
    26 %if %suse_version > 1110
    26 %if %suse_version > 1110
    27 BuildRequires:  libiw-devel
    27 BuildRequires:  libiw-devel
    33 BuildRequires:  mozilla-nss-devel >= 3.12.8
    33 BuildRequires:  mozilla-nss-devel >= 3.12.8
    34 BuildRequires:  nss-shared-helper-devel
    34 BuildRequires:  nss-shared-helper-devel
    35 License:        MPLv1.1 or GPLv2+ or LGPLv2+
    35 License:        MPLv1.1 or GPLv2+ or LGPLv2+
    36 Version:        %{mainver}
    36 Version:        %{mainver}
    37 Release:        1
    37 Release:        1
    38 %define         releasedate 2011080400
    38 %define         releasedate 2011081200
    39 Provides:       web_browser
    39 Provides:       web_browser
    40 Provides:       firefox = %{version}-%{release}
    40 Provides:       firefox = %{version}-%{release}
    41 Provides:       firefox = %{mainver}
    41 Provides:       firefox = %{mainver}
    42 # this is needed to match this package with the kde4 helper package without the main package
    42 # this is needed to match this package with the kde4 helper package without the main package
    43 # having a hard requirement on the kde4 package
    43 # having a hard requirement on the kde4 package
   268 ac_add_options --disable-updater
   268 ac_add_options --disable-updater
   269 ac_add_options --disable-tests
   269 ac_add_options --disable-tests
   270 ac_add_options --disable-debug
   270 ac_add_options --disable-debug
   271 ac_add_options --enable-startup-notification
   271 ac_add_options --enable-startup-notification
   272 #ac_add_options --enable-chrome-format=jar
   272 #ac_add_options --enable-chrome-format=jar
   273 ac_add_options --enable-update-channel=beta
   273 ac_add_options --enable-update-channel=default
   274 EOF
   274 EOF
   275 %if %suse_version > 1130
   275 %if %suse_version > 1130
   276 cat << EOF >> $MOZCONFIG
   276 cat << EOF >> $MOZCONFIG
   277 ac_add_options --disable-gnomevfs
   277 ac_add_options --disable-gnomevfs
   278 ac_add_options --enable-gio
   278 ac_add_options --enable-gio