File gnome-mime-data.spec of Package gnome-mime-data
#
# spec file for package gnome-mime-data (Version 2.18.0)
#
# Copyright (c) 2009 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: gnome-mime-data
BuildRequires: db-devel gcc-c++ gnome-common gtk2-devel indent intltool libidl-devel libxml2-devel orbit2-devel perl-XML-Parser translation-update-upstream update-desktop-files
License: GPLv2+
Group: System/GUI/GNOME
AutoReqProv: on
Provides: %{name}-devel = %{version}-%{release}
Version: 2.18.0
Release: 140
Summary: MIME Type and Application Database for the GNOME 2.x Desktop
Source: %{name}-%{version}.tar.bz2
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
%description
This module contains the base MIME and application database for GNOME.
It is meant to be accessed through the MIME functions in GNOMEVFS.
%prep
%setup -q
translation-update-upstream
%patch
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
%configure
make %{?jobs:-j%jobs}
%install
%makeinstall
# Change sr@Latn to sr@latin
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_datadir}/application-registry
%{_datadir}/mime-info
%{_datadir}/pkgconfig/gnome-mime-data-2.0.pc
%config %{_sysconfdir}/gnome-vfs-mime-magic
%changelog