Accepting request 32816 from GNOME:Factory

Copy from GNOME:Factory/shared-mime-info based on submit request 32816 from user sbrabec

OBS-URL: https://build.opensuse.org/request/show/32816
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/shared-mime-info?expand=0&rev=14
This commit is contained in:
OBS User autobuild 2010-02-18 15:46:46 +00:00 committed by Git OBS Bridge
commit b6a895deef
2 changed files with 12 additions and 3 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,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}