mozilla-xulrunner192/mozilla-xulrunner192.spec
changeset 45 f4afdb80c73c
parent 44 f8e8bc740b10
child 46 c743908ffe6f
equal deleted inserted replaced
44:f8e8bc740b10 45:f4afdb80c73c
    83 Patch13:        toolkit-ui-lockdown.patch
    83 Patch13:        toolkit-ui-lockdown.patch
    84 # ---
    84 # ---
    85 Patch14:        mozilla-breakpad.patch
    85 Patch14:        mozilla-breakpad.patch
    86 Patch15:        mozilla-breakpad-update.patch
    86 Patch15:        mozilla-breakpad-update.patch
    87 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    87 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
    88 PreReq:         update-alternatives coreutils
    88 Requires(post):  update-alternatives coreutils
       
    89 Requires(preun): update-alternatives coreutils
    89 ### build configuration ###
    90 ### build configuration ###
    90 %ifarch %ix86
    91 %ifarch %ix86
    91 %define crashreporter    1
    92 %define crashreporter    1
    92 %else
    93 %else
    93 %define crashreporter    0
    94 %define crashreporter    0
   132 Requires:       mozilla-nspr-devel >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr-devel) 
   133 Requires:       mozilla-nspr-devel >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr-devel) 
   133 %endif
   134 %endif
   134 %if %has_system_nss
   135 %if %has_system_nss
   135 Requires:       mozilla-nss-devel >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss-devel)
   136 Requires:       mozilla-nss-devel >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss-devel)
   136 %endif
   137 %endif
   137 PreReq:         %{name} = %{version}
   138 Requires:       %{name} = %{version}
   138 
   139 
   139 %description devel
   140 %description devel
   140 Software Development Kit to embed XUL or Gecko into other applications.
   141 Software Development Kit to embed XUL or Gecko into other applications.
   141 
   142 
   142 %if %localize
   143 %if %localize
   143 %package translations-common
   144 %package translations-common
   144 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   145 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   145 Summary:        Common translations for XULRunner 1.9.2
   146 Summary:        Common translations for XULRunner 1.9.2
   146 Group:          System/Localization
   147 Group:          System/Localization
   147 PreReq:         %{name} = %{version}
   148 Requires:       %{name} = %{version}
   148 Provides:       locale(%{name}:ar;ca;cs;da;de;en_GB;es_AR;es_CL;es_ES;fi;fr;hu;it;ja;ko;nb_NO;nl;pl;pt_BR;pt_PT;ru;sv_SE;zh_CN;zh_TW)
   149 Provides:       locale(%{name}:ar;ca;cs;da;de;en_GB;es_AR;es_CL;es_ES;fi;fr;hu;it;ja;ko;nb_NO;nl;pl;pt_BR;pt_PT;ru;sv_SE;zh_CN;zh_TW)
   149 Obsoletes:      %{name}-translations < %{version}-%{release}
   150 Obsoletes:      %{name}-translations < %{version}-%{release}
   150 
   151 
   151 %description translations-common
   152 %description translations-common
   152 XULRunner is a single installable package that can be used to bootstrap
   153 XULRunner is a single installable package that can be used to bootstrap
   159 
   160 
   160 %package translations-other
   161 %package translations-other
   161 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   162 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   162 Summary:        Extra translations for XULRunner 1.9.2
   163 Summary:        Extra translations for XULRunner 1.9.2
   163 Group:          System/Localization
   164 Group:          System/Localization
   164 PreReq:         %{name} = %{version}
   165 Requires:       %{name} = %{version}
   165 Provides:       locale(%{name}:af;as;be;bg;bn_BD;bn_IN;cy;el;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gl;gu_IN;he;hi_IN;hr;id;is;ka;kk;kn;lt;lv;mk;ml;mr;nn_NO;oc;or;pa_IN;rm;ro;si;sk;sl;sq;sr;ta;ta_LK;te;th;tr;uk;vi)
   166 Provides:       locale(%{name}:af;as;be;bg;bn_BD;bn_IN;cy;el;eo;es_MX;et;eu;fa;fy_NL;ga_IE;gl;gu_IN;he;hi_IN;hr;id;is;ka;kk;kn;lt;lv;mk;ml;mr;nn_NO;oc;or;pa_IN;rm;ro;si;sk;sl;sq;sr;ta;ta_LK;te;th;tr;uk;vi)
   166 Obsoletes:      %{name}-translations < %{version}-%{release}
   167 Obsoletes:      %{name}-translations < %{version}-%{release}
   167 
   168 
   168 %description translations-other
   169 %description translations-other
   169 XULRunner is a single installable package that can be used to bootstrap
   170 XULRunner is a single installable package that can be used to bootstrap
   175 
   176 
   176 %package gnome
   177 %package gnome
   177 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   178 License:        GPLv2+ ; LGPLv2.1+ ; MPLv1.1+
   178 Summary:        XULRunner components depending on gnome-vfs
   179 Summary:        XULRunner components depending on gnome-vfs
   179 Group:          Productivity/Other
   180 Group:          Productivity/Other
   180 PreReq:         %{name} = %{version}-%{release}
   181 Requires:       %{name} = %{version}-%{release}
       
   182 Requires(post): coreutils
   181 
   183 
   182 %description gnome
   184 %description gnome
   183 This subpackage contains the Necko Gnome-VFS and Gnome components which
   185 This subpackage contains the Necko Gnome-VFS and Gnome components which
   184 rely on the gnome-vfs subsystem to be installed. They are recommended
   186 rely on the gnome-vfs subsystem to be installed. They are recommended
   185 for full desktop integration but not mandatory for small disk footprint
   187 for full desktop integration but not mandatory for small disk footprint
   512 
   514 
   513 %files gnome
   515 %files gnome
   514 %defattr(-,root,root)
   516 %defattr(-,root,root)
   515 %dir %{_libdir}/xulrunner-%{version_internal}/
   517 %dir %{_libdir}/xulrunner-%{version_internal}/
   516 %dir %{_libdir}/xulrunner-%{version_internal}/components/
   518 %dir %{_libdir}/xulrunner-%{version_internal}/components/
       
   519 %ghost %{_libdir}/xulrunner-%{version_internal}/.autoreg
   517 %{_libdir}/xulrunner-%{version_internal}/components/libmozgnome.so
   520 %{_libdir}/xulrunner-%{version_internal}/components/libmozgnome.so
   518 %{_libdir}/xulrunner-%{version_internal}/components/libnkgnomevfs.so
   521 %{_libdir}/xulrunner-%{version_internal}/components/libnkgnomevfs.so
   519 
   522 
   520 %if %localize
   523 %if %localize
   521 %files translations-common -f %{_tmppath}/translations.common
   524 %files translations-common -f %{_tmppath}/translations.common