Hello community,
here is the log from the commit of package mozilla-xulrunner191 for openSUSE:Factory
checked in at Mon Aug 10 23:52:20 CEST 2009.
--------
--- mozilla-xulrunner191/mozilla-xulrunner191.changes 2009-08-04 09:46:02.000000000 +0200
+++ mozilla-xulrunner191/mozilla-xulrunner191.changes 2009-08-09 09:16:01.000000000 +0200
@@ -1,0 +2,6 @@
+Sat Aug 8 00:04:49 CEST 2009 - wr@rosenauer.org
+
+- split -translations package into -common and -other
+ (bnc#529180)
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ mozilla-xulrunner191.spec ++++++
--- /var/tmp/diff_new_pack.oblJcM/_old 2009-08-10 23:52:01.000000000 +0200
+++ /var/tmp/diff_new_pack.oblJcM/_new 2009-08-10 23:52:01.000000000 +0200
@@ -32,9 +32,9 @@
%if %suse_version > 1100
BuildRequires: nss-shared-helper-devel
%endif
-License: GPL v2 or later ; LGPL v2.1 or later ; MPL
+License: GPL v2 or later ; LGPL v2.1 or later ; MPL 1.1 or later
Version: 1.9.1.2
-Release: 1
+Release: 2
Summary: Mozilla Runtime Environment 1.9.1
Url: http://www.mozilla.org
Group: Productivity/Other
@@ -93,7 +93,7 @@
PreReq: mozilla-nspr >= %(rpm -q --queryformat '%{VERSION}' mozilla-nspr)
%endif
%if %has_system_nss
-BuildRequires: mozilla-nss-devel
+BuildRequires: mozilla-nss-devel >= 3.12.3
PreReq: mozilla-nss >= %(rpm -q --queryformat '%{VERSION}' mozilla-nss)
%endif
Recommends: %{name}-gnomevfs
@@ -104,13 +104,8 @@
Thunderbird.
-
-Authors:
---------
- Mozilla Foundation
-
%package devel
-License: GPL v2 or later ; LGPL v2.1 or later ; MPL
+License: GPL v2 or later ; LGPL v2.1 or later ; MPL 1.1 or later
Summary: XULRunner/Gecko SDK 1.9.1
Group: Development/Libraries/Other
%if %has_system_nspr
@@ -125,30 +120,38 @@
Software Development Kit to embed XUL or Gecko into other applications.
-
-%package translations
-License: GPL v2 or later ; LGPL v2.1 or later ; MPL
-Summary: Translations for XULRunner 1.9.1
+%package translations-common
+License: GPL v2 or later ; LGPL v2.1 or later ; MPL 1.1 or later
+Summary: Common translations for XULRunner 1.9.1
Group: System/Localization
PreReq: %{name} = %{version}
-Provides: locale(%{name}:af;ar;as;be;bg;bn_BD;bn_IN;ca;cs;cy;da;de;el;en_GB;eo;es_AR;es_CL;es_ES;ex_MX;et;eu;fa;fi;fr;fy_NL;ga_IE;gl;gu_IN;he;hi_IN;hr;hu;id;is;it;ja;ka;kk;kn;ko;ku;lt;lv;mk;ml;mr;nb_NO;nl;nn_NO;oc;or;pa_IN;pl;pt_BR;pt_PT;rm;ro;ru;si;sk;sl;sq;sr;sv_SE;ta;ta_LK;te;th;uk;vi;zh_CN;zh_TW)
-# from OBS and 11.0beta updates
-Provides: %{name}-lang = %{version}
-Obsoletes: %{name}-lang < %{version}
+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)
+Obsoletes: %{name}-translations < %{version}-%{release}
-%description translations
+%description translations-common
XULRunner is a single installable package that can be used to bootstrap
multiple XUL+XPCOM applications that are as rich as Firefox and
Thunderbird.
-This package contains all supported languages but en-US which is
+This package contains the most common languages but en-US which is
delivered in the main package.
+%package translations-other
+License: GPL v2 or later ; LGPL v2.1 or later ; MPL 1.1 or later
+Summary: Extra translations for XULRunner 1.9.1
+Group: System/Localization
+PreReq: %{name} = %{version}
+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;ku;lt;lv;mk;ml;mn;mr;nn_NO;oc;or;pa_IN;rm;ro;si;sk;sl;sq;sr;ta;ta_LK;te;th;tr;uk;vi)
+Obsoletes: %{name}-translations < %{version}-%{release}
+
+%description translations-other
+XULRunner is a single installable package that can be used to bootstrap
+multiple XUL+XPCOM applications that are as rich as Firefox and
+Thunderbird.
+
+This package contains rarely used languages.
-Authors:
---------
- Mozilla Foundation
%package gnomevfs
License: GPL v2 or later ; LGPL v2.1 or later ; MPL
@@ -163,11 +166,6 @@
KDE installations for example.
-
-Authors:
---------
- Mozilla Foundation
-
%package -n python-xpcom191
License: GPL v2 or later ; LGPL v2.1 or later ; MPL ..
Summary: Python XPCOM bindings
@@ -182,11 +180,6 @@
Mozilla XulRunner's XPCOM.
-
-Authors:
---------
- Mozilla Foundation
-
%prep
%setup -n mozilla -q -b 1
%patch1 -p1
@@ -318,7 +311,7 @@
touch $RPM_BUILD_ROOT/%{_libdir}/xulrunner-%{version_internal}/global.reginfo
# install additional locales
%if %localize
-rm -f %{_tmppath}/translations.list
+rm -f %{_tmppath}/translations.*
for locale in $(awk '{ print $1; }' browser/locales/shipped-locales); do
case $locale in
ja-JP-mac|en-US)
@@ -326,13 +319,19 @@
*)
make -C toolkit/locales libs-$locale
cp dist/xpi-stage/locale-$locale/chrome/$locale.jar \
- $RPM_BUILD_ROOT/%{_libdir}/xulrunner-%{version_internal}/chrome
+ $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/chrome
cp dist/xpi-stage/locale-$locale/chrome/$locale.manifest \
- $RPM_BUILD_ROOT/%{_libdir}/xulrunner-%{version_internal}/chrome
+ $RPM_BUILD_ROOT%{_libdir}/xulrunner-%{version_internal}/chrome
+ # check against the fixed common list and sort into the right filelist
+ _matched=0
+ for _match in 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; do
+ [ "$_match" = "$locale" ] && _matched=1
+ done
+ [ $_matched -eq 1 ] && _l10ntarget=common || _l10ntarget=other
echo %{_libdir}/xulrunner-%{version_internal}/chrome/$locale.jar \
- >> %{_tmppath}/translations.list
+ >> %{_tmppath}/translations.$_l10ntarget
echo %{_libdir}/xulrunner-%{version_internal}/chrome/$locale.manifest \
- >> %{_tmppath}/translations.list
+ >> %{_tmppath}/translations.$_l10ntarget
esac
done
%endif
@@ -363,7 +362,7 @@
%clean
rm -rf $RPM_BUILD_ROOT
%if %localize
-rm -rf %{_tmppath}/translations.list
+rm -rf %{_tmppath}/translations.*
%endif
%post
@@ -482,7 +481,10 @@
%{py_sitedir}/xpcom/
%if %localize
-%files translations -f %{_tmppath}/translations.list
+%files translations-common -f %{_tmppath}/translations.common
+%defattr(-,root,root)
+
+%files translations-other -f %{_tmppath}/translations.other
%defattr(-,root,root)
%endif
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org