diff --git a/shared-mime-info.changes b/shared-mime-info.changes index 89733cd..c0cc452 100644 --- a/shared-mime-info.changes +++ b/shared-mime-info.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Feb 17 20:02:08 CET 2010 - sbrabec@suse.cz + +- Added support for translation-update-upstream (bnc#447180, + FATE#301344). + ------------------------------------------------------------------- Wed Feb 10 16:02:00 CET 2010 - vuntz@opensuse.org diff --git a/shared-mime-info.spec b/shared-mime-info.spec index 1574023..03e5af1 100644 --- a/shared-mime-info.spec +++ b/shared-mime-info.spec @@ -22,8 +22,9 @@ Name: shared-mime-info BuildRequires: glib2-devel BuildRequires: intltool BuildRequires: libxml2-devel +BuildRequires: translation-update-upstream Version: 0.71 -Release: 1 +Release: 2 Url: http://freedesktop.org/wiki/Software/shared-mime-info Group: System/X11/Utilities License: GPLv2+ @@ -47,6 +48,10 @@ This package contains: - The freedesktop.org shared MIME database %prep %setup -q +# Fix issue with locale arabic locale (fdo#26519) +mv po/ara.po po/ar.po +sed -i s/ara/ar/ po/LINGUAS +translation-update-upstream %build %configure @@ -54,8 +59,6 @@ This package contains: - The freedesktop.org shared MIME database %install %makeinstall -# Fix issue with locale arabic locale (fdo#26519) -mv %{buildroot}%{_datadir}/locale/ara %{buildroot}%{_datadir}/locale/ar install %{S:1} $RPM_BUILD_ROOT%{_bindir}/ %find_lang %{name}