- Added support for translation-update-upstream (bnc#447180,

FATE#301344).

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/shared-mime-info?expand=0&rev=8
This commit is contained in:
Stanislav Brabec 2010-02-17 19:16:50 +00:00 committed by Git OBS Bridge
parent abcdbb7692
commit deae32be49
2 changed files with 11 additions and 2 deletions

View File

@ -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

View File

@ -22,6 +22,7 @@ Name: shared-mime-info
BuildRequires: glib2-devel
BuildRequires: intltool
BuildRequires: libxml2-devel
BuildRequires: translation-update-upstream
Version: 0.71
Release: 1
Url: http://freedesktop.org/wiki/Software/shared-mime-info
@ -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}