Dominique Leuenberger
f9dba4d81a
- Add explicit call to autoreconf: some of the patches touch the build system. - Drop -lib2_gsettings_schema_post[un], desktop_database_post[un] and icon_theme_cache_post[un] usage from post/postun scripts: the functionality covered by file triggers. OBS-URL: https://build.opensuse.org/request/show/591701 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/seahorse?expand=0&rev=185
119 lines
4.0 KiB
RPMSpec
119 lines
4.0 KiB
RPMSpec
#
|
|
# spec file for package seahorse
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX 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/
|
|
#
|
|
|
|
|
|
Name: seahorse
|
|
Version: 3.20.0
|
|
Release: 0
|
|
Summary: GNOME interface for gnupg
|
|
License: GPL-2.0-or-later
|
|
Group: Productivity/Security
|
|
URL: http://projects.gnome.org/seahorse/
|
|
Source: http://download.gnome.org/sources/seahorse/3.20/%{name}-%{version}.tar.xz
|
|
# PATCH-FIX-UPSTREAM seahorse-gpg-ignore-key-considered.patch bgo#778607 mgorse@suse.com -- ignore key_considered line introduced in gpg 2.1.13.
|
|
Patch0: seahorse-gpg-ignore-key-considered.patch
|
|
# PATCH-FIX-UPSTREAM seahorse-new-gnupg.patch bsc#1075928 mgorse@suse.com -- mark gnupg 2.2.x as supported.
|
|
Patch1: seahorse-new-gnupg.patch
|
|
# needed for patch1/patch2
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: fdupes
|
|
BuildRequires: gpg2
|
|
BuildRequires: gpgme-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: openldap2-devel
|
|
BuildRequires: openssh
|
|
BuildRequires: pkgconfig
|
|
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.11.91
|
|
BuildRequires: pkgconfig(gcr-3) >= 3.11.91
|
|
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
|
|
%glib2_gsettings_schema_requires
|
|
|
|
%description
|
|
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 seahorse.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
translation-update-upstream
|
|
|
|
%build
|
|
autoreconf -fiv
|
|
%configure
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%make_install
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
|
%suse_update_desktop_file %{name}
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%fdupes %{buildroot}
|
|
|
|
%files
|
|
%doc AUTHORS ChangeLog ChangeLog.pre-auto NEWS README
|
|
%doc %{_datadir}/help/C/%{name}/
|
|
%{_bindir}/seahorse
|
|
%{_libdir}/seahorse/
|
|
%dir %{_datadir}/appdata
|
|
%{_datadir}/appdata/seahorse.appdata.xml
|
|
%{_datadir}/applications/seahorse.desktop
|
|
%{_datadir}/GConf/gsettings/org.gnome.seahorse.convert
|
|
%{_datadir}/GConf/gsettings/org.gnome.seahorse.manager.convert
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.seahorse.gschema.xml
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.seahorse.manager.gschema.xml
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.seahorse.window.gschema.xml
|
|
%{_datadir}/icons/hicolor/*/*/seahorse*
|
|
%{_datadir}/seahorse/
|
|
%{_mandir}/man1/seahorse.1%{?ext_man}
|
|
|
|
%files -n gnome-shell-search-provider-seahorse
|
|
%{_datadir}/dbus-1/services/org.gnome.seahorse.Application.service
|
|
%dir %{_datadir}/gnome-shell
|
|
%dir %{_datadir}/gnome-shell/search-providers
|
|
%{_datadir}/gnome-shell/search-providers/seahorse-search-provider.ini
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|