xulrunner/xulrunner-esr.spec
branchesr17
changeset 665 efc8a8a62a09
parent 655 f812ab6b56ac
child 677 ef3b8d075242
equal deleted inserted replaced
655:f812ab6b56ac 665:efc8a8a62a09
    42 %else
    42 %else
    43 BuildRequires:  wireless-tools
    43 BuildRequires:  wireless-tools
    44 %endif
    44 %endif
    45 BuildRequires:  mozilla-nspr-devel >= 4.9.5
    45 BuildRequires:  mozilla-nspr-devel >= 4.9.5
    46 BuildRequires:  mozilla-nss-devel >= 3.14.3
    46 BuildRequires:  mozilla-nss-devel >= 3.14.3
    47 Version:        17.0.7
    47 Version:        17.0.9
    48 Release:        0
    48 Release:        0
    49 %define         releasedate 2013062000
    49 %define         releasedate 2013091000
    50 %define         version_internal 17.0.7
    50 %define         version_internal 17.0.9
    51 %define         apiversion 17
    51 %define         apiversion 17
    52 %define         uaweight 1700007
    52 %define         uaweight 1700009
    53 Summary:        Mozilla Runtime Environment
    53 Summary:        Mozilla Runtime Environment
    54 License:        MPL-2.0
    54 License:        MPL-2.0
    55 Group:          Productivity/Other
    55 Group:          Productivity/Other
    56 Url:            http://www.mozilla.org/
    56 Url:            http://www.mozilla.org/
    57 Provides:       gecko
    57 Provides:       gecko
    81 Patch14:        mozilla-ppc.patch
    81 Patch14:        mozilla-ppc.patch
    82 # SLE11 patches
    82 # SLE11 patches
    83 Patch20:        mozilla-gcc43-enums.patch
    83 Patch20:        mozilla-gcc43-enums.patch
    84 Patch21:        mozilla-gcc43-template_hacks.patch
    84 Patch21:        mozilla-gcc43-template_hacks.patch
    85 Patch22:        mozilla-gcc43-templates_instantiation.patch
    85 Patch22:        mozilla-gcc43-templates_instantiation.patch
       
    86 Patch23:        ppc-xpcshell.patch
    86 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    87 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    87 Requires:       mozilla-js = %{version}
    88 Requires:       mozilla-js = %{version}
    88 Requires(post):  update-alternatives coreutils
    89 Requires(post):  update-alternatives coreutils
    89 Requires(preun): update-alternatives coreutils
    90 Requires(preun): update-alternatives coreutils
    90 ### build configuration ###
    91 ### build configuration ###
   201 %if %suse_version <= 1110
   202 %if %suse_version <= 1110
   202 %patch20 -p1
   203 %patch20 -p1
   203 %patch21 -p1
   204 %patch21 -p1
   204 %patch22 -p1
   205 %patch22 -p1
   205 %endif
   206 %endif
       
   207 %patch23 -p1
   206 
   208 
   207 %build
   209 %build
   208 # no need to add build time to binaries
   210 # no need to add build time to binaries
   209 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
   211 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
   210 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
   212 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""