xulrunner/xulrunner.spec
changeset 585 5a44d417c9b5
parent 556 a30fcfcd2e53
child 595 31f273919032
equal deleted inserted replaced
575:d28dbaf20075 585:5a44d417c9b5
    41 BuildRequires:  libproxy-devel
    41 BuildRequires:  libproxy-devel
    42 %else
    42 %else
    43 BuildRequires:  wireless-tools
    43 BuildRequires:  wireless-tools
    44 %endif
    44 %endif
    45 BuildRequires:  mozilla-nspr-devel >= 4.9.2
    45 BuildRequires:  mozilla-nspr-devel >= 4.9.2
    46 BuildRequires:  mozilla-nss-devel >= 3.13.6
    46 BuildRequires:  mozilla-nss-devel >= 3.14
    47 Version:        16.98
    47 Version:        18.0
    48 Release:        0
    48 Release:        0
    49 %define         releasedate 2012091000
    49 %define         releasedate 2012112100
    50 %define         version_internal 17.0
    50 %define         version_internal 18.0
    51 %define         apiversion 17
    51 %define         apiversion 18
    52 %define         uaweight 1700000
    52 %define         uaweight 1800000
    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
   154 
   154 
   155 %package translations-other
   155 %package translations-other
   156 Summary:        Extra translations for XULRunner
   156 Summary:        Extra translations for XULRunner
   157 Group:          System/Localization
   157 Group:          System/Localization
   158 Requires:       %{name} = %{version}
   158 Requires:       %{name} = %{version}
   159 Provides:       locale(%{name}:af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;cy;el;en_ZA;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;kn;ku;lg;lij;lt;lv;mai;mk;ml;mn;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;sw;ta;ta_LK;te;th;tr;uk;vi;zu)
   159 Provides:       locale(%{name}:ach;af;ak;as;ast;be;bg;bn_BD;bn_IN;br;bs;csb;cy;el;en_ZA;eo;es_MX;et;eu;fa;ff;fy_NL;ga_IE;gd;gl;gu_IN;he;hi_IN;hr;hy_AM;id;is;kk;km;kn;ku;lg;lij;lt;lv;mai;mk;ml;mr;nn_NO;nso;or;pa_IN;rm;ro;si;sk;sl;son;sq;sr;ta;ta_LK;te;th;tr;uk;vi;zu)
   160 Obsoletes:      %{name}-translations < %{version}-%{release}
   160 Obsoletes:      %{name}-translations < %{version}-%{release}
   161 
   161 
   162 %description translations-other
   162 %description translations-other
   163 XULRunner is a single installable package that can be used to bootstrap
   163 XULRunner is a single installable package that can be used to bootstrap
   164 multiple XUL+XPCOM applications that are as rich as Firefox and
   164 multiple XUL+XPCOM applications that are as rich as Firefox and
   241 ac_add_options --disable-updater
   241 ac_add_options --disable-updater
   242 ac_add_options --disable-javaxpcom
   242 ac_add_options --disable-javaxpcom
   243 ac_add_options --enable-system-hunspell
   243 ac_add_options --enable-system-hunspell
   244 ac_add_options --enable-startup-notification
   244 ac_add_options --enable-startup-notification
   245 ac_add_options --enable-shared-js
   245 ac_add_options --enable-shared-js
       
   246 ac_add_options --disable-webrtc   # does not build with system NSPR
   246 #ac_add_options --enable-debug
   247 #ac_add_options --enable-debug
   247 EOF
   248 EOF
   248 %if %suse_version > 1130
   249 %if %suse_version > 1130
   249 cat << EOF >> $MOZCONFIG
   250 cat << EOF >> $MOZCONFIG
   250 ac_add_options --disable-gnomevfs
   251 ac_add_options --disable-gnomevfs
   311 # remove some executable permissions
   312 # remove some executable permissions
   312 find $RPM_BUILD_ROOT%{_includedir}/xulrunner-%{version_internal} \
   313 find $RPM_BUILD_ROOT%{_includedir}/xulrunner-%{version_internal} \
   313      -type f -perm -111 -exec chmod a-x {} \;
   314      -type f -perm -111 -exec chmod a-x {} \;
   314 find $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/ \
   315 find $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/ \
   315      -name "*.js" -o -name "*.xpm" -o -name "*.png" | xargs chmod a-x
   316      -name "*.js" -o -name "*.xpm" -o -name "*.png" | xargs chmod a-x
       
   317 # remove mkdir.done files from installed base
       
   318 find $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal} -name ".mkdir.done" | xargs rm
   316 mkdir -p $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/extensions
   319 mkdir -p $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/extensions
   317 # fixing SDK dynamic libs (symlink instead of copy)
   320 # fixing SDK dynamic libs (symlink instead of copy)
   318 rm $RPM_BUILD_ROOT%{_libdir}/xulrunner-devel-%{version_internal}/sdk/lib/*.so
   321 rm $RPM_BUILD_ROOT%{_libdir}/xulrunner-devel-%{version_internal}/sdk/lib/*.so
   319 ln -sf ../../../xulrunner-%{version_internal}/libmozjs.so \
   322 ln -sf ../../../xulrunner-%{version_internal}/libmozjs.so \
   320        $RPM_BUILD_ROOT%{_libdir}/xulrunner-devel-%{version_internal}/sdk/lib/
   323        $RPM_BUILD_ROOT%{_libdir}/xulrunner-devel-%{version_internal}/sdk/lib/