File gnome-mime-data.spec of Package gnome-mime-data

# spec file for package gnome-mime-data
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           gnome-mime-data
BuildRequires:  db-devel
BuildRequires:  gcc-c++
BuildRequires:  gnome-common
BuildRequires:  gtk2-devel
BuildRequires:  indent
BuildRequires:  intltool
BuildRequires:  libidl-devel
BuildRequires:  libxml2-devel
BuildRequires:  orbit2-devel
BuildRequires:  perl-XML-Parser
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
Provides:       %{name}-devel = %{version}-%{release}
Version:        2.18.0
Release:        0
Summary:        MIME Type and Application Database for the GNOME 2.x Desktop
License:        GPL-2.0+
Group:          System/GUI/GNOME
Patch:          mozilla-call.dif
Patch1:         %{name}-2.4.3-apps.patch
Patch2:         gnome-mime-data-more-apps.patch
Patch3:         gnome-mime-data-realplay.patch
Patch4:         gnome-mime-data-ooo.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

This module contains the base MIME and application database for GNOME.
It is meant to be accessed through the MIME functions in GNOMEVFS.

%setup -q 
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1

make %{?jobs:-j%jobs}

# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%find_lang %{name}


%files -f %{name}.lang
%defattr(-, root, root)
%config %{_sysconfdir}/gnome-vfs-mime-magic

openSUSE Build Service is sponsored by