File seahorse.spec of Package seahorse

# spec file for package seahorse
# Copyright (c) 2011 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

# norootforbuild

Name:           seahorse
License:        GPLv2+
Group:          Productivity/Security
Version:        2.32.0
Release:        3
Summary:        GNOME2 interface for gnupg
# PATCH-FIX-OPENSUSE seahorse-xsltproc-nonet.patch
Patch1:         seahorse-xsltproc-nonet.patch
BuildRequires:  fdupes
BuildRequires:  gconf2-devel
BuildRequires:  gnome-doc-utils-devel
BuildRequires:  gpg2
BuildRequires:  gpgme-devel
BuildRequires:  intltool
BuildRequires:  libavahi-glib-devel
BuildRequires:  libassuan-devel
BuildRequires:  libgcr-devel
BuildRequires:  libgnome-keyring-devel
BuildRequires:  libgp11-devel
BuildRequires:  libgpg-error-devel
BuildRequires:  libnotify-devel
BuildRequires:  libsoup-devel
BuildRequires:  libxml2-devel
BuildRequires:  openldap2-devel
BuildRequires:  openssh
BuildRequires:  translation-update-upstream
BuildRequires:  update-desktop-files
Recommends:     %{name}-lang
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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

%package devel
License:        GPLv2+
Summary:        GNOME2 interface for gnupg
Group:          System/GUI/GNOME
Requires:       %{name} = %{version}
Requires:       gconf2-devel

%description devel
Seahorse is a gnome2 interface for gnupg. It uses gpgme as the backend.

%patch1 -p1

%configure \
        --disable-scrollkeeper \
make %{?jobs:-j%jobs}

%if 0%{?suse_version} <= 1120
%{__rm} %{buildroot}%{_datadir}/locale/en@shaw/LC_MESSAGES/*
%{__rm} -f %{buildroot}%{_libdir}/*.*a
%suse_update_desktop_file %{name} -G "Passwords and Encryption Keys" -N "Seahorse"
%find_lang %{name} %{?no_lang_C}

%pre -f %{name}.schemas_pre

%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun




%files -f %{name}.schemas_list
%doc AUTHORS ChangeLog ChangeLog.pre-auto NEWS README
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/%{name}/
%doc %{_datadir}/omf/%{name}/%{name}-C.omf

%files lang -f %{name}.lang

%files devel
%dir %{_includedir}/libcryptui
# Own these repositories to not depend on gtk-doc while building:
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html

openSUSE Build Service is sponsored by