2007-01-16 00:15:34 +01:00
|
|
|
#
|
2024-02-21 11:32:13 +01:00
|
|
|
# spec file for package gpgme
|
2007-01-16 00:15:34 +01:00
|
|
|
#
|
2024-01-06 18:54:41 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2007-01-16 00:15:34 +01:00
|
|
|
#
|
2009-01-13 18:58:06 +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.
|
|
|
|
|
2018-10-08 13:38:36 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:15:34 +01:00
|
|
|
#
|
|
|
|
|
2012-11-18 10:43:42 +01:00
|
|
|
|
2019-10-17 12:54:40 +02:00
|
|
|
%global flavor @BUILD_FLAVOR@%{nil}
|
|
|
|
%if "%{flavor}" == ""
|
2020-07-20 10:51:43 +02:00
|
|
|
%define psuffix %{nil}
|
2018-01-08 11:31:58 +01:00
|
|
|
%bcond_without python3
|
2019-10-17 13:15:13 +02:00
|
|
|
%bcond_with qt
|
2023-04-15 20:18:19 +02:00
|
|
|
%endif
|
|
|
|
%if "%{flavor}" == "qt"
|
2020-07-20 10:51:43 +02:00
|
|
|
%define psuffix qt
|
2019-10-17 12:54:40 +02:00
|
|
|
%bcond_with python3
|
2019-10-17 13:15:13 +02:00
|
|
|
%bcond_without qt
|
2019-10-17 12:54:40 +02:00
|
|
|
%endif
|
2023-04-15 20:18:19 +02:00
|
|
|
%if "%{flavor}" == "qt6"
|
|
|
|
%define psuffix qt6
|
|
|
|
%bcond_with python3
|
|
|
|
%bcond_without qt6
|
|
|
|
%endif
|
2024-02-21 11:32:13 +01:00
|
|
|
|
|
|
|
%if 0%{suse_version} >= 1550 || "%{?pythons}" == "python311"
|
|
|
|
%bcond_without replace_distutils
|
|
|
|
%else
|
|
|
|
# Keep deprecated distutils for Python 3.6 on 15.x
|
|
|
|
%bcond_with replace_distutils
|
|
|
|
%endif
|
|
|
|
|
2019-10-17 13:15:13 +02:00
|
|
|
Name: gpgme%{psuffix}
|
2023-11-29 22:26:54 +01:00
|
|
|
Version: 1.23.2
|
2011-12-01 21:10:43 +01:00
|
|
|
Release: 0
|
2016-10-20 09:23:29 +02:00
|
|
|
Summary: Programmatic library interface to GnuPG
|
2021-07-12 15:36:30 +02:00
|
|
|
License: GPL-3.0-or-later AND LGPL-2.1-or-later
|
2010-12-14 23:28:20 +01:00
|
|
|
Group: Productivity/Security
|
2020-07-20 10:51:43 +02:00
|
|
|
URL: https://www.gnupg.org/related_software/gpgme/
|
2023-01-22 01:27:43 +01:00
|
|
|
Source: https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2
|
|
|
|
Source1: https://www.gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2.sig
|
2011-07-29 17:54:23 +02:00
|
|
|
Source2: baselibs.conf
|
2020-11-18 10:44:33 +01:00
|
|
|
# https://www.gnupg.org/signature_key.html
|
2023-01-23 12:57:48 +01:00
|
|
|
Source3: https://gnupg.org/signature_key.asc#/gpgme.keyring
|
2015-02-05 11:58:10 +01:00
|
|
|
# used to have a fixed timestamp
|
2019-10-17 12:54:40 +02:00
|
|
|
Source99: gpgme.changes
|
2024-01-06 18:54:41 +01:00
|
|
|
# PATCH-FIX-UPSTREAM obsolete distutlils -- https://dev.gnupg.org/D545
|
|
|
|
Patch1: gpgme-D545-obsolete-distutils.patch
|
2022-11-09 10:19:16 +01:00
|
|
|
# PATCH-FIX-OPENSUSE gpgme-suse-nobetasuffix.patch code@bnavigator.de -- remove "-unknown" betasuffix boo#1205197
|
2023-03-21 13:12:09 +01:00
|
|
|
Patch2: gpgme-suse-nobetasuffix.patch
|
2021-12-27 10:15:25 +01:00
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2017-02-14 10:52:32 +01:00
|
|
|
BuildRequires: gcc-c++
|
2013-03-09 19:04:52 +01:00
|
|
|
BuildRequires: gpg2 >= 2.0.10
|
2017-12-12 17:53:22 +01:00
|
|
|
BuildRequires: libassuan-devel >= 2.4.2
|
2020-11-18 10:44:33 +01:00
|
|
|
BuildRequires: libgpg-error-devel >= 1.36
|
2016-09-27 14:54:32 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: swig
|
2023-03-10 13:19:56 +01:00
|
|
|
%if %{with python3}
|
2020-12-08 09:07:04 +01:00
|
|
|
BuildRequires: %{python_module devel}
|
2024-02-21 11:32:13 +01:00
|
|
|
BuildRequires: python-rpm-macros
|
|
|
|
%if %{with replace_distutils}
|
2024-01-06 18:54:41 +01:00
|
|
|
BuildRequires: %{python_module pip}
|
|
|
|
BuildRequires: %{python_module setuptools >= 62.4}
|
|
|
|
BuildRequires: %{python_module wheel}
|
2024-02-21 11:32:13 +01:00
|
|
|
%endif
|
2020-12-08 09:07:04 +01:00
|
|
|
%endif
|
2019-10-17 13:15:13 +02:00
|
|
|
%if %{with qt}
|
2016-09-27 14:54:32 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Core)
|
2016-10-13 10:28:34 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Test)
|
2019-10-17 13:15:13 +02:00
|
|
|
%endif
|
2023-04-15 20:18:19 +02:00
|
|
|
%if %{with qt6}
|
2023-09-24 19:22:59 +02:00
|
|
|
%if 0%{?suse_version} < 1550
|
|
|
|
# The default compiler is too old for Qt6, use the newest
|
|
|
|
# version available in the :Update repo
|
|
|
|
BuildRequires: gcc12-c++
|
|
|
|
BuildRequires: gcc12-PIE
|
|
|
|
%endif
|
2023-04-15 20:18:19 +02:00
|
|
|
BuildRequires: pkgconfig(Qt6Core) >= 6.4.0
|
|
|
|
BuildRequires: pkgconfig(Qt6Test)
|
|
|
|
%endif
|
2021-03-29 23:11:17 +02:00
|
|
|
%if 0%{?suse_version} >= 1550
|
|
|
|
# TW: generate subpackages for every python3 flavor
|
2020-12-08 09:07:04 +01:00
|
|
|
%define python_subpackage_only 1
|
|
|
|
%python_subpackages
|
|
|
|
%else
|
|
|
|
%define python_sitearch %python3_sitearch
|
2022-11-09 10:19:16 +01:00
|
|
|
%define python_version %python3_version
|
2020-12-08 09:07:04 +01:00
|
|
|
%define python_files() -n python3-%{**}
|
|
|
|
%endif
|
|
|
|
|
2007-01-16 00:15:34 +01:00
|
|
|
%description
|
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
2016-10-20 09:23:29 +02:00
|
|
|
easier for applications. It provides a high-level crypto API for
|
2007-01-16 00:15:34 +01:00
|
|
|
encryption, decryption, signing, signature verification, and key
|
2016-10-20 09:23:29 +02:00
|
|
|
management. It uses GnuPG as its back-end.
|
2007-01-16 00:15:34 +01:00
|
|
|
|
2007-08-06 23:39:18 +02:00
|
|
|
%package -n libgpgme11
|
2016-10-20 09:23:29 +02:00
|
|
|
Summary: Programmatic library interface to GnuPG
|
2017-02-14 07:39:37 +01:00
|
|
|
Group: System/Libraries
|
2011-09-05 15:30:00 +02:00
|
|
|
Requires: gpg2
|
2007-01-16 00:15:34 +01:00
|
|
|
|
2007-08-06 23:39:18 +02:00
|
|
|
%description -n libgpgme11
|
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
2016-10-20 09:23:29 +02:00
|
|
|
easier for applications. It provides a high-level crypto API for
|
2007-08-06 23:39:18 +02:00
|
|
|
encryption, decryption, signing, signature verification, and key
|
2016-10-20 09:23:29 +02:00
|
|
|
management. It uses GnuPG as its back-end.
|
2007-08-06 23:39:18 +02:00
|
|
|
|
|
|
|
%package -n libgpgme-devel
|
2016-10-20 09:23:29 +02:00
|
|
|
Summary: Development files for GPGME, a C library for accessing GnuPG
|
2007-12-31 22:22:29 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2010-12-14 23:28:20 +01:00
|
|
|
Requires: glibc-devel
|
2010-09-16 12:21:05 +02:00
|
|
|
Requires: libgpg-error-devel
|
2010-12-14 23:28:20 +01:00
|
|
|
Requires: libgpgme11 = %{version}
|
2017-11-08 07:57:22 +01:00
|
|
|
%requires_ge libassuan-devel
|
2010-04-01 15:29:34 +02:00
|
|
|
Provides: gpgme-devel = %{version}
|
|
|
|
Obsoletes: gpgme-devel < %{version}
|
2007-08-06 23:39:18 +02:00
|
|
|
|
|
|
|
%description -n libgpgme-devel
|
2007-01-16 00:15:34 +01:00
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
2016-10-20 09:23:29 +02:00
|
|
|
easier for applications. It provides a high-level crypto API for
|
2007-01-16 00:15:34 +01:00
|
|
|
encryption, decryption, signing, signature verification, and key
|
2016-10-20 09:23:29 +02:00
|
|
|
management.
|
2007-01-16 00:15:34 +01:00
|
|
|
|
2016-10-20 09:23:29 +02:00
|
|
|
This subpackage contains the headers needed for building applications
|
|
|
|
making use of libgpgme.
|
2007-01-16 00:15:34 +01:00
|
|
|
|
2016-09-27 14:54:32 +02:00
|
|
|
%package -n libgpgmepp6
|
2016-10-20 09:23:29 +02:00
|
|
|
Summary: Programmatic C++ library interface to GnuPG
|
2017-02-14 07:39:37 +01:00
|
|
|
Group: System/Libraries
|
2016-09-27 14:54:32 +02:00
|
|
|
Requires: gpg2
|
|
|
|
|
|
|
|
%description -n libgpgmepp6
|
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
2016-10-20 09:23:29 +02:00
|
|
|
easier for applications. It provides a high-level crypto API for
|
2016-09-27 14:54:32 +02:00
|
|
|
encryption, decryption, signing, signature verification, and key
|
2016-10-20 09:23:29 +02:00
|
|
|
management.
|
2016-09-27 14:54:32 +02:00
|
|
|
|
|
|
|
This package contains the C++ bindings.
|
|
|
|
|
|
|
|
%package -n libgpgmepp-devel
|
2016-10-20 09:23:29 +02:00
|
|
|
Summary: Development files for libgpgmepp, a C++ library for accessing GnuPG
|
2016-09-27 14:54:32 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: libgpg-error-devel
|
|
|
|
Requires: libgpgme-devel = %{version}
|
|
|
|
Requires: libgpgmepp6 = %{version}
|
2023-12-06 11:15:09 +01:00
|
|
|
# This avoids requiring CMake at build time for the default flavor
|
|
|
|
Provides: cmake(Gpgmepp) = %{version}
|
2017-11-08 07:57:22 +01:00
|
|
|
%requires_ge libassuan-devel
|
2016-09-27 14:54:32 +02:00
|
|
|
|
|
|
|
%description -n libgpgmepp-devel
|
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
2016-10-20 09:23:29 +02:00
|
|
|
easier for applications. It provides a high-level crypto API for
|
2016-09-27 14:54:32 +02:00
|
|
|
encryption, decryption, signing, signature verification, and key
|
2016-10-20 09:23:29 +02:00
|
|
|
management.
|
2016-09-27 14:54:32 +02:00
|
|
|
|
2016-10-20 09:23:29 +02:00
|
|
|
This subpackage contains the headers needed for building applications
|
|
|
|
making use of libgpgmepp.
|
2016-09-27 14:54:32 +02:00
|
|
|
|
2020-12-08 09:07:04 +01:00
|
|
|
%if 0%{?python_subpackage_only}
|
|
|
|
%package -n python-gpg
|
|
|
|
Summary: Python %{python_version} bindings for GPGME, a library for accessing GnuPG
|
|
|
|
Group: Development/Languages/Python
|
|
|
|
|
|
|
|
%description -n python-gpg
|
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
|
|
|
easier for applications. It provides a high-level crypto API for
|
|
|
|
encryption, decryption, signing, signature verification, and key
|
|
|
|
management.
|
|
|
|
|
|
|
|
This package contains the bindings to use the library from Python %{python_version} applications.
|
|
|
|
|
|
|
|
%else
|
2021-07-12 15:36:30 +02:00
|
|
|
|
2016-11-20 23:33:59 +01:00
|
|
|
%package -n python3-gpg
|
2016-10-20 09:23:29 +02:00
|
|
|
Summary: Python 3 bindings for GPGME, a library for accessing GnuPG
|
2017-02-14 07:39:37 +01:00
|
|
|
Group: Development/Languages/Python
|
2016-09-27 14:54:32 +02:00
|
|
|
|
2016-11-20 23:33:59 +01:00
|
|
|
%description -n python3-gpg
|
2016-09-27 14:54:32 +02:00
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
2016-10-20 09:23:29 +02:00
|
|
|
easier for applications. It provides a high-level crypto API for
|
2016-09-27 14:54:32 +02:00
|
|
|
encryption, decryption, signing, signature verification, and key
|
2016-10-20 09:23:29 +02:00
|
|
|
management.
|
2016-09-27 14:54:32 +02:00
|
|
|
|
|
|
|
This package contains the bindings to use the library from Python 3 applications.
|
2020-12-08 09:07:04 +01:00
|
|
|
%endif
|
2016-09-27 14:54:32 +02:00
|
|
|
|
2022-08-17 00:06:15 +02:00
|
|
|
%package -n libqgpgme15
|
2023-04-15 20:18:19 +02:00
|
|
|
Summary: Programmatic Qt 5 library interface to GnuPG
|
2017-02-14 07:39:37 +01:00
|
|
|
Group: System/Libraries
|
2016-10-13 10:28:34 +02:00
|
|
|
Requires: gpg2
|
|
|
|
|
2022-08-17 00:06:15 +02:00
|
|
|
%description -n libqgpgme15
|
2016-10-13 10:28:34 +02:00
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
2016-10-20 09:23:29 +02:00
|
|
|
easier for applications. It provides a high-level crypto API for
|
2016-10-13 10:28:34 +02:00
|
|
|
encryption, decryption, signing, signature verification, and key
|
2016-10-20 09:23:29 +02:00
|
|
|
management.
|
2016-10-13 10:28:34 +02:00
|
|
|
|
2023-04-15 20:18:19 +02:00
|
|
|
This package contains the Qt 5 bindings.
|
2016-10-13 10:28:34 +02:00
|
|
|
|
|
|
|
%package -n libqgpgme-devel
|
2023-04-15 20:18:19 +02:00
|
|
|
Summary: Development files for libqgpgme, a Qt 5 library for accessing GnuPG
|
2016-10-13 10:28:34 +02:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libgpgme-devel = %{version}
|
|
|
|
Requires: libgpgmepp-devel = %{version}
|
2022-08-17 00:06:15 +02:00
|
|
|
Requires: libqgpgme15 = %{version}
|
2016-10-13 10:28:34 +02:00
|
|
|
|
|
|
|
%description -n libqgpgme-devel
|
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
2016-10-20 09:23:29 +02:00
|
|
|
easier for applications. It provides a high-level crypto API for
|
2016-10-13 10:28:34 +02:00
|
|
|
encryption, decryption, signing, signature verification, and key
|
2016-10-20 09:23:29 +02:00
|
|
|
management.
|
2016-10-13 10:28:34 +02:00
|
|
|
|
2023-04-15 20:18:19 +02:00
|
|
|
This package contains the bindings to use the library in Qt 5 C++ applications.
|
|
|
|
|
|
|
|
%package -n libqgpgmeqt6-15
|
|
|
|
Summary: Programmatic Qt 6 library interface to GnuPG
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: gpg2
|
|
|
|
|
|
|
|
%description -n libqgpgmeqt6-15
|
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
|
|
|
easier for applications. It provides a high-level crypto API for
|
|
|
|
encryption, decryption, signing, signature verification, and key
|
|
|
|
management.
|
|
|
|
|
|
|
|
This package contains the Qt 6 bindings.
|
|
|
|
|
|
|
|
%package -n libqgpgmeqt6-devel
|
|
|
|
Summary: Development files for libqgpgmeqt6, a Qt library for accessing GnuPG
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libgpgme-devel = %{version}
|
|
|
|
Requires: libgpgmepp-devel = %{version}
|
|
|
|
Requires: libqgpgmeqt6-15 = %{version}
|
|
|
|
# The include folders have the same name in both libqgpgme-devel and libqgpgmeqt6-devel
|
|
|
|
Conflicts: libqgpgme-devel
|
|
|
|
|
|
|
|
%description -n libqgpgmeqt6-devel
|
|
|
|
GnuPG Made Easy (GPGME) is a library designed to make access to GnuPG
|
|
|
|
easier for applications. It provides a high-level crypto API for
|
|
|
|
encryption, decryption, signing, signature verification, and key
|
|
|
|
management.
|
|
|
|
|
|
|
|
This package contains the bindings to use the library in Qt 6 C++ applications.
|
2016-10-13 10:28:34 +02:00
|
|
|
|
2007-01-16 00:15:34 +01:00
|
|
|
%prep
|
2024-02-21 11:32:13 +01:00
|
|
|
%autosetup -N -n gpgme-%{version}
|
|
|
|
%if %{with replace_distutils}
|
|
|
|
%patch -p1 -P1 -P2
|
|
|
|
%endif
|
|
|
|
%if 0%{suse_version} > 1500
|
|
|
|
# Note: rpm in 15.x does not know about the autopatch -m flag.
|
|
|
|
# Need to apply every additional patch explicitly, if any.
|
|
|
|
%autopatch -p1 -m3
|
|
|
|
%endif
|
2017-02-14 10:52:32 +01:00
|
|
|
|
2007-01-16 00:15:34 +01:00
|
|
|
%build
|
2022-08-17 00:06:15 +02:00
|
|
|
./autogen.sh
|
2015-09-17 14:56:47 +02:00
|
|
|
build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+0000 -r %{SOURCE99})
|
2017-03-24 16:14:23 +01:00
|
|
|
languages="cl cpp"
|
|
|
|
|
2023-03-10 13:19:56 +01:00
|
|
|
%if %{with python3}
|
2017-03-24 16:14:23 +01:00
|
|
|
languages="${languages} python"
|
|
|
|
%endif
|
|
|
|
|
2019-10-17 13:15:13 +02:00
|
|
|
%if %{with qt}
|
2019-10-17 12:54:40 +02:00
|
|
|
languages="cpp qt"
|
2019-10-17 13:15:13 +02:00
|
|
|
%endif
|
2017-03-24 16:14:23 +01:00
|
|
|
|
2023-04-15 20:18:19 +02:00
|
|
|
%if %{with qt6}
|
|
|
|
languages="cpp qt6"
|
2023-09-24 19:22:59 +02:00
|
|
|
%if 0%{?suse_version} < 1550
|
|
|
|
# Qt6 needs full c++-17 support
|
|
|
|
export CXX=g++-12 CC=gcc-12 CPP=cpp-12
|
|
|
|
%endif
|
2023-04-15 20:18:19 +02:00
|
|
|
%endif
|
|
|
|
|
2024-02-21 11:32:13 +01:00
|
|
|
%define _configure ../configure
|
|
|
|
mkdir build
|
|
|
|
pushd build
|
2014-05-21 15:51:31 +02:00
|
|
|
%configure \
|
2017-02-14 10:52:32 +01:00
|
|
|
--disable-silent-rules \
|
2014-05-21 15:51:31 +02:00
|
|
|
--disable-static \
|
2015-08-26 17:46:17 +02:00
|
|
|
--disable-fd-passing \
|
2016-09-27 14:54:32 +02:00
|
|
|
--enable-languages="${languages}" \
|
2015-09-17 14:56:47 +02:00
|
|
|
--enable-build-timestamp="${build_timestamp}"
|
2020-07-20 10:51:43 +02:00
|
|
|
%make_build
|
2024-02-21 11:32:13 +01:00
|
|
|
popd
|
2007-01-16 00:15:34 +01:00
|
|
|
|
|
|
|
%install
|
2024-02-21 11:32:13 +01:00
|
|
|
pushd build
|
2017-02-14 10:52:32 +01:00
|
|
|
%make_install
|
2015-06-19 17:15:14 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2016-09-27 14:54:32 +02:00
|
|
|
chmod -x %{buildroot}%{_libdir}/cmake/Gpgmepp/*.cmake
|
2017-02-14 10:52:32 +01:00
|
|
|
|
2023-04-15 20:18:19 +02:00
|
|
|
%if %{with qt} || %{with qt6}
|
2019-10-17 12:54:40 +02:00
|
|
|
rm -r %{buildroot}%{_bindir}
|
|
|
|
rm -r %{buildroot}%{_datadir}/aclocal/gpgme*
|
|
|
|
rm -r %{buildroot}%{_includedir}/gpgme*
|
|
|
|
rm -r %{buildroot}%{_infodir}/gpgme*
|
|
|
|
rm -r %{buildroot}%{_libdir}/cmake/Gpgmepp
|
|
|
|
rm -r %{buildroot}%{_libdir}/libgpgme*
|
|
|
|
rm -r %{buildroot}%{_libdir}/pkgconfig/gpgme*
|
|
|
|
%endif
|
2024-02-21 11:32:13 +01:00
|
|
|
popd
|
2008-02-08 21:18:15 +01:00
|
|
|
|
|
|
|
%check
|
2023-03-21 13:12:09 +01:00
|
|
|
GPGME_DEBUG=2:mygpgme.log %make_build check skip=%{?qt_skip:%{qt_skip}} || cat $(find -name mygpgme.log -type f)
|
2007-01-16 00:15:34 +01:00
|
|
|
|
2019-10-17 13:15:13 +02:00
|
|
|
%if %{with qt}
|
2023-04-15 20:18:19 +02:00
|
|
|
%ldconfig_scriptlets -n libqgpgme15
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%if %{with qt6}
|
|
|
|
%ldconfig_scriptlets -n libqgpgmeqt6-15
|
2019-10-17 13:15:13 +02:00
|
|
|
%endif
|
|
|
|
|
2023-09-24 19:22:59 +02:00
|
|
|
%if %{without qt} && %{without qt6}
|
2023-04-15 20:18:19 +02:00
|
|
|
%ldconfig_scriptlets -n libgpgme11
|
|
|
|
%ldconfig_scriptlets -n libgpgmepp6
|
2019-10-17 13:15:13 +02:00
|
|
|
%endif
|
2007-01-16 00:15:34 +01:00
|
|
|
|
2023-09-24 19:22:59 +02:00
|
|
|
%if %{without qt} && %{without qt6}
|
2007-01-16 00:15:34 +01:00
|
|
|
%files
|
2021-07-12 15:36:30 +02:00
|
|
|
%license COPYING COPYING.LESSER LICENSES
|
2018-04-19 13:59:31 +02:00
|
|
|
%doc AUTHORS ChangeLog ChangeLog-2011 README NEWS THANKS TODO VERSION
|
2014-12-08 09:31:29 +01:00
|
|
|
%{_bindir}/gpgme-tool
|
2018-04-19 13:59:31 +02:00
|
|
|
%{_bindir}/gpgme-json
|
2007-12-31 22:22:29 +01:00
|
|
|
%{_datadir}/common-lisp
|
|
|
|
%{_datadir}/common-lisp/source
|
2010-04-01 15:29:34 +02:00
|
|
|
%{_infodir}/gpgme*
|
2007-01-16 00:15:34 +01:00
|
|
|
|
2007-08-06 23:39:18 +02:00
|
|
|
%files -n libgpgme11
|
2021-07-12 15:36:30 +02:00
|
|
|
%license COPYING COPYING.LESSER LICENSES
|
2010-04-01 15:29:34 +02:00
|
|
|
%{_libdir}/libgpgme.so.*
|
2007-08-06 23:39:18 +02:00
|
|
|
|
|
|
|
%files -n libgpgme-devel
|
2021-07-12 15:36:30 +02:00
|
|
|
%license COPYING COPYING.LESSER LICENSES
|
2010-04-01 15:29:34 +02:00
|
|
|
%{_libdir}/libgpgme.so
|
2007-12-31 22:22:29 +01:00
|
|
|
%{_bindir}/gpgme-config
|
|
|
|
%{_datadir}/aclocal/gpgme.m4
|
|
|
|
%{_includedir}/gpgme.h
|
2019-04-01 09:16:03 +02:00
|
|
|
%{_libdir}/pkgconfig/gpgme.pc
|
|
|
|
%{_libdir}/pkgconfig/gpgme-glib.pc
|
2007-01-16 00:15:34 +01:00
|
|
|
|
2016-09-27 14:54:32 +02:00
|
|
|
%files -n libgpgmepp6
|
2021-07-12 15:36:30 +02:00
|
|
|
%license COPYING COPYING.LESSER LICENSES
|
2016-09-27 14:54:32 +02:00
|
|
|
%{_libdir}/libgpgmepp.so.*
|
|
|
|
|
|
|
|
%files -n libgpgmepp-devel
|
2021-07-12 15:36:30 +02:00
|
|
|
%license COPYING COPYING.LESSER LICENSES
|
2016-09-27 14:54:32 +02:00
|
|
|
%{_libdir}/libgpgmepp.so
|
|
|
|
%{_includedir}/gpgme++
|
|
|
|
%dir %{_libdir}/cmake
|
|
|
|
%dir %{_libdir}/cmake/Gpgmepp
|
|
|
|
%{_libdir}/cmake/Gpgmepp/GpgmeppConfig*.cmake
|
2019-10-17 13:15:13 +02:00
|
|
|
%endif
|
2016-09-27 14:54:32 +02:00
|
|
|
|
2023-03-10 13:19:56 +01:00
|
|
|
%if %{with python3}
|
2020-12-08 09:07:04 +01:00
|
|
|
%files %{python_files gpg}
|
2021-07-12 15:36:30 +02:00
|
|
|
%license COPYING COPYING.LESSER LICENSES
|
2022-11-09 10:19:16 +01:00
|
|
|
%{python_sitearch}/gpg
|
2024-02-21 11:32:13 +01:00
|
|
|
%{python_sitearch}/gpg-%{version}*-info
|
2017-03-24 16:14:23 +01:00
|
|
|
%endif
|
2016-09-27 14:54:32 +02:00
|
|
|
|
2019-10-17 13:15:13 +02:00
|
|
|
%if %{with qt}
|
2022-08-17 00:06:15 +02:00
|
|
|
%files -n libqgpgme15
|
2021-07-12 15:36:30 +02:00
|
|
|
%license COPYING COPYING.LESSER LICENSES
|
2016-10-13 10:28:34 +02:00
|
|
|
%{_libdir}/libqgpgme.so.*
|
|
|
|
|
|
|
|
%files -n libqgpgme-devel
|
2021-07-12 15:36:30 +02:00
|
|
|
%license COPYING COPYING.LESSER LICENSES
|
2016-10-13 10:28:34 +02:00
|
|
|
%{_includedir}/qgpgme/
|
|
|
|
%{_includedir}/QGpgME/
|
|
|
|
%dir %{_libdir}/cmake
|
2016-11-20 23:33:59 +01:00
|
|
|
%dir %{_libdir}/cmake/QGpgme
|
|
|
|
%{_libdir}/cmake/QGpgme/*.cmake
|
2016-10-13 10:28:34 +02:00
|
|
|
%{_libdir}/libqgpgme.so
|
2019-10-17 13:15:13 +02:00
|
|
|
%endif
|
2016-10-13 10:28:34 +02:00
|
|
|
|
2023-04-15 20:18:19 +02:00
|
|
|
%if %{with qt6}
|
|
|
|
%files -n libqgpgmeqt6-15
|
|
|
|
%license COPYING COPYING.LESSER LICENSES
|
|
|
|
%{_libdir}/libqgpgmeqt6.so.*
|
|
|
|
|
|
|
|
%files -n libqgpgmeqt6-devel
|
|
|
|
%license COPYING COPYING.LESSER LICENSES
|
|
|
|
%{_includedir}/qgpgme/
|
|
|
|
%{_includedir}/QGpgME/
|
|
|
|
%dir %{_libdir}/cmake
|
|
|
|
%dir %{_libdir}/cmake/QGpgmeQt6
|
|
|
|
%{_libdir}/cmake/QGpgmeQt6/*.cmake
|
|
|
|
%{_libdir}/libqgpgmeqt6.so
|
|
|
|
%endif
|
|
|
|
|
2007-03-12 01:58:50 +01:00
|
|
|
%changelog
|