File gnome-documents.spec of Package gnome-documents

# spec file for package gnome-documents
# Copyright (c) 2012 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-documents
Version:        3.6.2
Release:        0
Summary:        Document Manager for GNOME
License:        GPL-2.0+
Group:          Productivity/Office/Other
# For directory ownership
BuildRequires:  gnome-shell
BuildRequires:  intltool
BuildRequires:  update-desktop-files
BuildRequires:  pkgconfig(clutter-1.0) >= 1.10
BuildRequires:  pkgconfig(clutter-gtk-1.0) >= 1.3.2
BuildRequires:  pkgconfig(evince-document-3.0) >= 3.3.0
BuildRequires:  pkgconfig(evince-view-3.0) >= 3.3.0
BuildRequires:  pkgconfig(gjs-1.0)
BuildRequires:  pkgconfig(glib-2.0) >= 2.31.6
BuildRequires:  pkgconfig(gnome-desktop-3.0)
BuildRequires:  pkgconfig(goa-1.0) >= 3.2.0
BuildRequires:  pkgconfig(gobject-introspection-1.0) >= 1.31.6
BuildRequires:  pkgconfig(gtk+-3.0) >= 3.5.5
BuildRequires:  pkgconfig(libgdata) >= 0.13.1
BuildRequires:  pkgconfig(tracker-sparql-0.14) >= 0.13.1
BuildRequires:  pkgconfig(zapojit-0.0) >= 0.0.2
# This is a gjs application
Requires:       gjs
Recommends:     %{name}-lang
# A lot of document formats are handled using unoconv.
Recommends:     unoconv
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Documents is a document manager application for GNOME.

%package -n gnome-shell-search-provider-documents
Summary:        Document Manager for GNOME -- Search Provider for GNOME Shell
Group:          Productivity/Office/Other
Requires:       %{name} = %{version}
Requires:       gnome-shell
Supplements:    packageand(%{name}:gnome-shell)

%description -n gnome-shell-search-provider-documents
Documents is a document manager application for GNOME.

This package contains a search provider to enable GNOME Shell to get
search results from documents.

%setup -q

make %{?_smp_mflags}

find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print
%suse_update_desktop_file %{name}
%find_lang %{name} %{?no_lang_C}

rm -rf %{buildroot}




%files -n gnome-shell-search-provider-documents

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by