File seahorse.spec of Package seahorse

# spec file for package seahorse
# 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:           seahorse
Version:        3.10.1
Release:        0
Summary:        GNOME interface for gnupg
License:        GPL-2.0+
Group:          Productivity/Security
BuildRequires:  fdupes
BuildRequires:  gpg2
BuildRequires:  gpgme-devel
BuildRequires:  intltool
BuildRequires:  openldap2-devel
BuildRequires:  openssh
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
BuildRequires:  vala >= 0.18.0
BuildRequires:  yelp-tools
BuildRequires:  pkgconfig(avahi-client)
BuildRequires:  pkgconfig(avahi-glib)
BuildRequires:  pkgconfig(gck-1) >= 3.3.4
BuildRequires:  pkgconfig(gcr-3) >= 3.9.1
BuildRequires:  pkgconfig(gio-2.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(libsecret-unstable) >= 0.16
BuildRequires:  pkgconfig(libsoup-2.4) >= 2.33.92
Recommends:     %{name}-lang
Obsoletes:      %{name}-devel < %{version}
# We dropped seahorse-plugins in 12.1
Obsoletes:      seahorse-plugins <= 2.30.1.git.20110502
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

Seahorse is a GNOME interface for gnupg. It uses gpgme as the backend.

%package -n gnome-shell-search-provider-seahorse
Summary:        GNOME interface for gnupg -- Search Provider for GNOME Shell
Group:          Productivity/Security
Supplements:    packageand(gnome-shell:%{name})

%description -n gnome-shell-search-provider-seahorse
Seahorse is a GNOME interface for gnupg. It uses gpgme as the backend.

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

%setup -q

%configure \
make %{?_smp_mflags} V=1

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



rm -rf %{buildroot}

%doc AUTHORS ChangeLog ChangeLog.pre-auto NEWS README
%doc %{_datadir}/help/C/%{name}/

%files -n gnome-shell-search-provider-seahorse
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by