2011-11-16 11:02:16 +01:00
|
|
|
#
|
2011-12-21 05:21:06 +01:00
|
|
|
# spec file for package gcr
|
2011-11-16 11:02:16 +01:00
|
|
|
#
|
2018-02-27 05:04:13 +01:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2011-11-16 11:02:16 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2012-01-17 16:55:02 +01:00
|
|
|
|
2011-11-16 11:02:16 +01:00
|
|
|
Name: gcr
|
2018-03-09 10:58:42 +01:00
|
|
|
Version: 3.27.92
|
2012-01-17 16:55:02 +01:00
|
|
|
Release: 0
|
2014-04-03 22:50:54 +02:00
|
|
|
# FIXME: Verify if the requires in typelib-1_0-Gcr-3 is still correct and required (see bgo#725501).
|
2011-11-16 11:02:16 +01:00
|
|
|
Summary: Library for Crypto UI related task
|
2018-02-27 05:04:13 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2011-11-16 11:02:16 +01:00
|
|
|
Group: System/Libraries
|
2018-03-09 10:58:42 +01:00
|
|
|
URL: http://www.gnome.org
|
|
|
|
Source0: http://download.gnome.org/sources/gcr/3.27/%{name}-%{version}.tar.xz
|
2014-09-11 23:37:28 +02:00
|
|
|
Source1: baselibs.conf
|
2016-08-28 17:42:29 +02:00
|
|
|
# PATCH-FIX-SLE gcr-bsc932232-use-libgcrypt-allocators.patch bsc#932232 hpj@suse.com -- use libgcrypt allocators for FIPS mode
|
|
|
|
Patch1: gcr-bsc932232-use-libgcrypt-allocators.patch
|
2011-12-21 05:21:06 +01:00
|
|
|
# For directory ownership
|
|
|
|
BuildRequires: dbus-1
|
2013-03-13 23:59:38 +01:00
|
|
|
BuildRequires: gobject-introspection-devel >= 1.34
|
2011-11-16 11:37:01 +01:00
|
|
|
# configure is looking for the gpg2 path
|
|
|
|
BuildRequires: gpg2
|
2018-03-09 10:58:42 +01:00
|
|
|
BuildRequires: gtk-doc
|
2011-11-16 11:02:16 +01:00
|
|
|
BuildRequires: intltool
|
2018-03-09 10:58:42 +01:00
|
|
|
BuildRequires: libgcrypt-devel >= 1.4.5
|
|
|
|
BuildRequires: pkgconfig
|
2011-11-16 11:02:16 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2013-05-05 13:56:01 +02:00
|
|
|
BuildRequires: vala >= 0.18.0.22
|
2014-04-03 22:50:54 +02:00
|
|
|
BuildRequires: xsltproc
|
2018-02-27 05:04:13 +01:00
|
|
|
BuildRequires: pkgconfig(cairo)
|
2011-11-16 11:02:16 +01:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2011-12-21 05:21:06 +01:00
|
|
|
BuildRequires: pkgconfig(gio-unix-2.0)
|
2014-09-11 23:25:27 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.38.0
|
2011-11-16 11:02:16 +01:00
|
|
|
BuildRequires: pkgconfig(gmodule-no-export-2.0)
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
|
BuildRequires: pkgconfig(gthread-2.0)
|
2015-09-04 13:29:03 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12
|
2018-03-09 10:58:42 +01:00
|
|
|
BuildRequires: pkgconfig(gtk+-x11-3.0) >= 3.12
|
2013-08-27 10:38:22 +02:00
|
|
|
BuildRequires: pkgconfig(p11-kit-1) >= 0.19.0
|
2018-02-27 05:04:13 +01:00
|
|
|
BuildRequires: pkgconfig(pango)
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
GCR is a library for displaying certificates, and crypto UI, accessing
|
|
|
|
key stores. It also provides the viewer for crypto files on the GNOME
|
|
|
|
desktop.
|
|
|
|
|
|
|
|
GCK is a library for accessing PKCS#11 modules like smart cards, in a
|
|
|
|
(G)object oriented way.
|
|
|
|
|
|
|
|
%package viewer
|
2011-11-16 11:37:01 +01:00
|
|
|
Summary: Viewer for Crypto Files
|
2011-12-21 05:21:06 +01:00
|
|
|
Group: Productivity/Security
|
2011-11-16 11:37:01 +01:00
|
|
|
Recommends: %{name}-lang
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%description viewer
|
2011-11-16 11:37:01 +01:00
|
|
|
This packages provides the viewer for crypto files on the GNOME desktop.
|
|
|
|
|
|
|
|
%package data
|
|
|
|
Summary: Data and icon set for gcr
|
2011-12-21 05:21:06 +01:00
|
|
|
Group: System/Libraries
|
2011-11-16 11:37:01 +01:00
|
|
|
|
|
|
|
%description data
|
|
|
|
This package provides the GSettings schemas and a collection of icons
|
|
|
|
needed by libgcr.
|
2011-11-16 11:02:16 +01:00
|
|
|
|
2011-12-21 05:21:06 +01:00
|
|
|
%package prompter
|
|
|
|
Summary: Prompt dialog for Crypto UI related task
|
2011-11-16 11:37:01 +01:00
|
|
|
Group: System/Libraries
|
2011-12-21 05:21:06 +01:00
|
|
|
|
|
|
|
%description prompter
|
|
|
|
This package provides the prompt dialog needed by libgcr.
|
|
|
|
|
2018-03-09 10:58:42 +01:00
|
|
|
%package ssh-askpass
|
|
|
|
Summary: SSH password callback helper
|
|
|
|
Group: System/Libraries
|
2018-03-12 11:40:12 +01:00
|
|
|
Supplements: packageand(gpg2:gnome-shell)
|
2018-03-09 10:58:42 +01:00
|
|
|
|
|
|
|
%description ssh-askpass
|
|
|
|
gcr-ssh-askpass allows an ssh command to callback for a password
|
|
|
|
|
2011-12-21 05:21:06 +01:00
|
|
|
%package -n libgcr-3-1
|
2011-11-16 11:02:16 +01:00
|
|
|
Summary: Library for Crypto UI related task
|
2011-12-21 05:21:06 +01:00
|
|
|
Group: System/Libraries
|
2011-11-16 11:02:16 +01:00
|
|
|
Requires: %{name}-data >= %{version}
|
2011-12-21 05:21:06 +01:00
|
|
|
Requires: %{name}-prompter >= %{version}
|
2018-03-09 10:58:42 +01:00
|
|
|
Recommends: %{name}-ask-pass
|
2011-11-16 11:02:16 +01:00
|
|
|
Recommends: %{name}-lang
|
2018-03-09 10:58:42 +01:00
|
|
|
Recommends: %{name}-viewer = %{version}
|
2011-12-21 05:21:06 +01:00
|
|
|
# To make lang package installable
|
|
|
|
Provides: %{name} = %{version}
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%description -n libgcr-3-1
|
2011-11-16 11:37:01 +01:00
|
|
|
GCR is a library for displaying certificates, and crypto UI, accessing
|
|
|
|
key stores.
|
2011-11-16 11:02:16 +01:00
|
|
|
|
2011-12-12 16:56:14 +01:00
|
|
|
%package -n typelib-1_0-Gcr-3
|
2011-12-21 05:21:06 +01:00
|
|
|
Summary: Library for Crypto UI related task -- Introspection bindings
|
2014-04-03 22:50:54 +02:00
|
|
|
# Due to broken typelib files, this one cannot be automatically inspected
|
2018-02-27 05:04:13 +01:00
|
|
|
Group: System/Libraries
|
2014-04-03 22:50:54 +02:00
|
|
|
Requires: typelib-1_0-Gck-1
|
2011-12-12 16:56:14 +01:00
|
|
|
|
|
|
|
%description -n typelib-1_0-Gcr-3
|
|
|
|
GCR is a library for displaying certificates, and crypto UI, accessing
|
|
|
|
key stores.
|
|
|
|
|
2011-12-21 05:21:06 +01:00
|
|
|
This package provides the GObject Introspection bindings for GCR.
|
2011-12-12 16:56:14 +01:00
|
|
|
|
2013-03-13 23:59:38 +01:00
|
|
|
%package -n typelib-1_0-GcrUi-3
|
|
|
|
Summary: Library for Crypto UI related task -- Introspection bindings
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-GcrUi-3
|
|
|
|
GCR is a library for displaying certificates, and crypto UI, accessing
|
|
|
|
key stores.
|
|
|
|
|
|
|
|
This package provides the GObject Introspection bindings for GCR.
|
|
|
|
|
2011-11-16 11:02:16 +01:00
|
|
|
%package -n libgcr-devel
|
|
|
|
Summary: Library for Crypto UI related task - Development Files
|
2011-12-21 05:21:06 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
2011-11-16 11:02:16 +01:00
|
|
|
Requires: libgcr-3-1 = %{version}
|
2011-12-12 16:56:14 +01:00
|
|
|
Requires: typelib-1_0-Gcr-3 = %{version}
|
2013-03-13 23:59:38 +01:00
|
|
|
Requires: typelib-1_0-GcrUi-3 = %{version}
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%description -n libgcr-devel
|
2011-11-16 11:37:01 +01:00
|
|
|
GCR is a library for displaying certificates, and crypto UI, accessing
|
|
|
|
key stores.
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%package -n libgck-1-0
|
2011-11-16 11:37:01 +01:00
|
|
|
Summary: GObject library to access for PKCS#11 modules
|
2011-12-21 05:21:06 +01:00
|
|
|
Group: System/Libraries
|
2011-11-16 11:37:01 +01:00
|
|
|
Recommends: %{name}-lang
|
2011-12-21 05:21:06 +01:00
|
|
|
# Small hack, to help gnome-keyring subpackage containing gck
|
|
|
|
# modules have a proper dependency, without having to care about
|
|
|
|
# the soname.
|
|
|
|
Provides: gck = %{version}
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%description -n libgck-1-0
|
2011-11-16 11:37:01 +01:00
|
|
|
GCK is a library for accessing PKCS#11 modules like smart cards, in a
|
|
|
|
(G)object oriented way.
|
2011-11-16 11:02:16 +01:00
|
|
|
|
2011-12-21 05:21:06 +01:00
|
|
|
%package -n typelib-1_0-Gck-1
|
|
|
|
Summary: GObject library to access for PKCS#11 modules -- Introspection bindings
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n typelib-1_0-Gck-1
|
|
|
|
GCK is a library for accessing PKCS#11 modules like smart cards, in a
|
|
|
|
(G)object oriented way.
|
|
|
|
|
|
|
|
This package provides the GObject Introspection bindings for GCK.
|
|
|
|
|
2011-11-16 11:02:16 +01:00
|
|
|
%package -n libgck-devel
|
2011-11-16 11:37:01 +01:00
|
|
|
Summary: GObject library to access for PKCS#11 modules - Development Files
|
2011-12-21 05:21:06 +01:00
|
|
|
Group: Development/Libraries/GNOME
|
2011-11-16 11:02:16 +01:00
|
|
|
Requires: libgck-1-0 = %{version}
|
2011-12-12 16:56:14 +01:00
|
|
|
Requires: typelib-1_0-Gck-1 = %{version}
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%description -n libgck-devel
|
2011-11-16 11:37:01 +01:00
|
|
|
GCK is a library for accessing PKCS#11 modules like smart cards, in a
|
|
|
|
(G)object oriented way.
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%lang_package
|
2018-03-09 10:58:42 +01:00
|
|
|
|
2011-11-16 11:02:16 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2016-08-28 17:42:29 +02:00
|
|
|
%if !0%{?is_opensuse}
|
|
|
|
%patch1 -p1
|
|
|
|
%endif
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%build
|
2018-03-09 10:58:42 +01:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--enable-gtk-doc
|
|
|
|
%make_build
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2012-03-11 18:49:18 +01:00
|
|
|
%suse_update_desktop_file gcr-prompter
|
2011-11-16 11:02:16 +01:00
|
|
|
%suse_update_desktop_file gcr-viewer
|
|
|
|
%find_lang %{name}
|
|
|
|
|
2011-11-16 11:37:01 +01:00
|
|
|
%post -n libgcr-3-1 -p /sbin/ldconfig
|
|
|
|
%postun -n libgcr-3-1 -p /sbin/ldconfig
|
2011-11-16 11:02:16 +01:00
|
|
|
%post -n libgck-1-0 -p /sbin/ldconfig
|
|
|
|
%postun -n libgck-1-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files viewer
|
2018-02-27 05:05:34 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog HACKING NEWS README
|
2011-11-16 11:02:16 +01:00
|
|
|
%{_bindir}/gcr-viewer
|
|
|
|
%{_datadir}/applications/gcr-viewer.desktop
|
|
|
|
%{_datadir}/mime/packages/gcr-crypto-types.xml
|
|
|
|
|
|
|
|
%files data
|
2018-03-09 10:58:42 +01:00
|
|
|
%doc AUTHORS ChangeLog HACKING NEWS README
|
2011-11-16 11:02:16 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*
|
|
|
|
# Own the directory since we can't depend on gconf providing them
|
|
|
|
%dir %{_datadir}/GConf
|
|
|
|
%dir %{_datadir}/GConf/gsettings
|
|
|
|
%{_datadir}/GConf/gsettings/org.gnome.crypto.pgp.convert
|
|
|
|
%{_datadir}/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml
|
|
|
|
|
2011-12-21 05:21:06 +01:00
|
|
|
%files prompter
|
|
|
|
%{_libexecdir}/gcr-prompter
|
2012-03-11 18:49:18 +01:00
|
|
|
%{_datadir}/applications/gcr-prompter.desktop
|
2011-12-21 05:21:06 +01:00
|
|
|
%{_datadir}/dbus-1/services/org.gnome.keyring.PrivatePrompter.service
|
|
|
|
%{_datadir}/dbus-1/services/org.gnome.keyring.SystemPrompter.service
|
|
|
|
|
2018-03-09 10:58:42 +01:00
|
|
|
%files ssh-askpass
|
|
|
|
%{_prefix}/lib/gcr-ssh-askpass
|
|
|
|
|
2011-11-16 11:02:16 +01:00
|
|
|
%files -n libgcr-3-1
|
2018-02-27 05:05:34 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog HACKING NEWS README
|
2011-11-16 11:02:16 +01:00
|
|
|
%{_libdir}/libgcr-3.so.*
|
|
|
|
%{_libdir}/libgcr-base-3.so.*
|
2013-03-13 23:59:38 +01:00
|
|
|
%{_libdir}/libgcr-ui-3.so.*
|
2011-11-16 11:02:16 +01:00
|
|
|
|
2011-12-12 16:56:14 +01:00
|
|
|
%files -n typelib-1_0-Gcr-3
|
|
|
|
%{_libdir}/girepository-1.0/Gcr-3.typelib
|
|
|
|
|
2013-03-13 23:59:38 +01:00
|
|
|
%files -n typelib-1_0-GcrUi-3
|
|
|
|
%{_libdir}/girepository-1.0/GcrUi-3.typelib
|
|
|
|
|
2011-11-16 11:02:16 +01:00
|
|
|
%files -n libgcr-devel
|
2018-03-09 10:58:42 +01:00
|
|
|
%doc %{_datadir}/gtk-doc/html/gcr-3/
|
2011-11-16 11:02:16 +01:00
|
|
|
%{_libdir}/libgcr-3.so
|
|
|
|
%{_libdir}/libgcr-base-3.so
|
2013-03-13 23:59:38 +01:00
|
|
|
%{_libdir}/libgcr-ui-3.so
|
2011-11-16 11:02:16 +01:00
|
|
|
%{_libdir}/pkgconfig/gcr-3.pc
|
|
|
|
%{_libdir}/pkgconfig/gcr-base-3.pc
|
2013-03-13 23:59:38 +01:00
|
|
|
%{_libdir}/pkgconfig/gcr-ui-3.pc
|
2018-03-09 10:58:42 +01:00
|
|
|
%dir %{_includedir}/gcr-3
|
|
|
|
%{_includedir}/gcr-3
|
2013-03-13 23:59:38 +01:00
|
|
|
%{_datadir}/gir-1.0/GcrUi-3.gir
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%files -n libgck-1-0
|
2018-02-27 05:05:34 +01:00
|
|
|
%license COPYING
|
|
|
|
%doc AUTHORS ChangeLog HACKING NEWS README
|
2011-11-16 11:02:16 +01:00
|
|
|
%{_libdir}/libgck-1.so.*
|
2011-12-12 16:56:14 +01:00
|
|
|
|
|
|
|
%files -n typelib-1_0-Gck-1
|
2011-11-28 09:37:19 +01:00
|
|
|
%{_libdir}/girepository-1.0/Gck-1.typelib
|
2011-11-16 11:02:16 +01:00
|
|
|
|
|
|
|
%files -n libgck-devel
|
2018-03-09 10:58:42 +01:00
|
|
|
%doc %{_datadir}/gtk-doc/html/gck/
|
2011-11-16 11:02:16 +01:00
|
|
|
%{_libdir}/libgck-1.so
|
|
|
|
%{_libdir}/pkgconfig/gck-1.pc
|
|
|
|
%{_includedir}/gck-1/
|
2011-11-28 09:37:19 +01:00
|
|
|
%{_datadir}/gir-1.0/Gck-1.gir
|
|
|
|
%{_datadir}/gir-1.0/Gcr-3.gir
|
2013-05-05 13:56:01 +02:00
|
|
|
%{_datadir}/vala/vapi/
|
2011-11-16 11:02:16 +01:00
|
|
|
|
2011-11-16 11:37:01 +01:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2011-11-16 11:02:16 +01:00
|
|
|
%changelog
|