MozillaFirefox/firefox-esr.spec
branchesr17
changeset 638 3a72bcb470fb
parent 632 b83636a26466
child 652 c3618c6a868d
equal deleted inserted replaced
632:b83636a26466 638:3a72bcb470fb
    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 
    19 
    20 %define major 17
    20 %define major 17
    21 %define mainver %major.0.4
    21 %define mainver %major.0.5
    22 %define update_channel release
    22 %define update_channel release
    23 
    23 
    24 Name:           firefox-esr
    24 Name:           firefox-esr
    25 BuildRequires:  Mesa-devel
    25 BuildRequires:  Mesa-devel
    26 BuildRequires:  autoconf213
    26 BuildRequires:  autoconf213
    42 BuildRequires:  libiw-devel
    42 BuildRequires:  libiw-devel
    43 BuildRequires:  libproxy-devel
    43 BuildRequires:  libproxy-devel
    44 %else
    44 %else
    45 BuildRequires:  wireless-tools
    45 BuildRequires:  wireless-tools
    46 %endif
    46 %endif
    47 BuildRequires:  mozilla-nspr-devel >= 4.9.4
    47 BuildRequires:  mozilla-nspr-devel >= 4.9.5
    48 BuildRequires:  mozilla-nss-devel >= 3.14.1
    48 BuildRequires:  mozilla-nss-devel >= 3.14.3
    49 BuildRequires:  nss-shared-helper-devel
    49 BuildRequires:  nss-shared-helper-devel
    50 %if %suse_version > 1140
    50 %if %suse_version > 1140
    51 BuildRequires:  pkgconfig(gstreamer-0.10)
    51 BuildRequires:  pkgconfig(gstreamer-0.10)
    52 BuildRequires:  pkgconfig(gstreamer-app-0.10)
    52 BuildRequires:  pkgconfig(gstreamer-app-0.10)
    53 BuildRequires:  pkgconfig(gstreamer-plugins-base-0.10)
    53 BuildRequires:  pkgconfig(gstreamer-plugins-base-0.10)
    54 %endif
    54 %endif
    55 Version:        %{mainver}
    55 Version:        %{mainver}
    56 Release:        0
    56 Release:        0
    57 %define         releasedate 2013030700
    57 %define         releasedate 2013032900
    58 Provides:       firefox-esr = %{mainver}
    58 Provides:       firefox-esr = %{mainver}
    59 Provides:       web_browser
    59 Provides:       web_browser
    60 Provides:       browser(npapi)
    60 Provides:       browser(npapi)
    61 # this is needed to match this package with the kde4 helper package without the main package
    61 # this is needed to match this package with the kde4 helper package without the main package
    62 # having a hard requirement on the kde4 package
    62 # having a hard requirement on the kde4 package
   247 %patch12 -p1
   247 %patch12 -p1
   248 %patch13 -p1
   248 %patch13 -p1
   249 %patch14 -p1
   249 %patch14 -p1
   250 %patch15 -p1
   250 %patch15 -p1
   251 %if %suse_version == 1120
   251 %if %suse_version == 1120
   252 %ifarch %x86
   252 %ifarch %ix86
   253 %patch16 -p1
   253 %patch16 -p1
   254 %endif
   254 %endif
   255 %endif
   255 %endif
   256 # SLE patches
   256 # SLE patches
   257 %if %suse_version <= 1120
   257 %if %suse_version <= 1120
   291 export MOZILLA_OFFICIAL=1
   291 export MOZILLA_OFFICIAL=1
   292 export BUILD_OFFICIAL=1
   292 export BUILD_OFFICIAL=1
   293 export MOZ_TELEMETRY_REPORTING=1
   293 export MOZ_TELEMETRY_REPORTING=1
   294 export CFLAGS="$RPM_OPT_FLAGS -Os -fno-strict-aliasing"
   294 export CFLAGS="$RPM_OPT_FLAGS -Os -fno-strict-aliasing"
   295 %if %suse_version == 1120
   295 %if %suse_version == 1120
   296 %ifarch %x86
   296 %ifarch %ix86
   297 export CFLAGS="$RPM_OPT_FLAGS -O1 -fno-strict-aliasing"
   297 export CFLAGS="$RPM_OPT_FLAGS -O1 -fno-strict-aliasing"
   298 %endif
   298 %endif
   299 %endif
   299 %endif
   300 %ifarch ppc64
   300 %ifarch ppc64
   301 export CFLAGS="$CFLAGS -mminimal-toc"
   301 export CFLAGS="$CFLAGS -mminimal-toc"