xulrunner/xulrunner.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
    79 Patch14:        mozilla-ppc.patch
    79 Patch14:        mozilla-ppc.patch
    80 # SLE11 patches
    80 # SLE11 patches
    81 Patch20:        mozilla-gcc43-enums.patch
    81 Patch20:        mozilla-gcc43-enums.patch
    82 Patch21:        mozilla-gcc43-template_hacks.patch
    82 Patch21:        mozilla-gcc43-template_hacks.patch
    83 Patch22:        mozilla-gcc43-templates_instantiation.patch
    83 Patch22:        mozilla-gcc43-templates_instantiation.patch
       
    84 Patch23:        ppc-xpcshell.patch
    84 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    85 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    85 Requires:       mozilla-js = %{version}
    86 Requires:       mozilla-js = %{version}
    86 Requires(post):  update-alternatives coreutils
    87 Requires(post):  update-alternatives coreutils
    87 Requires(preun): update-alternatives coreutils
    88 Requires(preun): update-alternatives coreutils
    88 ### build configuration ###
    89 ### build configuration ###
   199 %if %suse_version <= 1110
   200 %if %suse_version <= 1110
   200 %patch20 -p1
   201 %patch20 -p1
   201 %patch21 -p1
   202 %patch21 -p1
   202 %patch22 -p1
   203 %patch22 -p1
   203 %endif
   204 %endif
       
   205 %patch23 -p1
   204 
   206 
   205 %build
   207 %build
   206 # no need to add build time to binaries
   208 # no need to add build time to binaries
   207 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
   209 modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")"
   208 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""
   210 DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\""