From 86c34da11f4e3695bac75e577b793c8fbdcaf53f26d178e911cec9da0fa5beb5 Mon Sep 17 00:00:00 2001 From: Pedro Monreal Gonzalez Date: Fri, 29 Nov 2024 16:39:45 +0000 Subject: [PATCH] Accepting request 1227272 from home:dimstar:Factory - Add gpgme-fix-python-install.patch: Fix the installation of the python bindings without having to move them around manually. This should be the correct fix instead of Move the gpg python bindings out of the egg directory. Patch should be upstreamable (and thus be fixed for everybody) OBS-URL: https://build.opensuse.org/request/show/1227272 OBS-URL: https://build.opensuse.org/package/show/Base:System/gpgme?expand=0&rev=178 --- .gitattributes | 23 + .gitignore | 1 + _multibuild | 4 + baselibs.conf | 3 + gpgme-1.23.2.tar.bz2 | 3 + gpgme-1.23.2.tar.bz2.sig | Bin 0 -> 238 bytes gpgme-1.24.0.tar.bz2 | 3 + gpgme-1.24.0.tar.bz2.sig | Bin 0 -> 119 bytes gpgme-D545-obsolete-distutils.patch | 795 +++++++++++++ gpgme-fix-python-install.patch | 28 + gpgme-suse-nobetasuffix.patch | 15 + gpgme.changes | 1605 +++++++++++++++++++++++++++ gpgme.keyring | 86 ++ gpgme.spec | 409 +++++++ python313.patch | 38 + 15 files changed, 3013 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _multibuild create mode 100644 baselibs.conf create mode 100644 gpgme-1.23.2.tar.bz2 create mode 100644 gpgme-1.23.2.tar.bz2.sig create mode 100644 gpgme-1.24.0.tar.bz2 create mode 100644 gpgme-1.24.0.tar.bz2.sig create mode 100644 gpgme-D545-obsolete-distutils.patch create mode 100644 gpgme-fix-python-install.patch create mode 100644 gpgme-suse-nobetasuffix.patch create mode 100644 gpgme.changes create mode 100644 gpgme.keyring create mode 100644 gpgme.spec create mode 100644 python313.patch diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..118a8d4 --- /dev/null +++ b/_multibuild @@ -0,0 +1,4 @@ + +qt +qt6 + diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..af48ab3 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,3 @@ +libgpgme11 +libgpgmepp6 +libqgpgme15 diff --git a/gpgme-1.23.2.tar.bz2 b/gpgme-1.23.2.tar.bz2 new file mode 100644 index 0000000..1a261ef --- /dev/null +++ b/gpgme-1.23.2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9499e8b1f33cccb6815527a1bc16049d35a6198a6c5fae0185f2bd561bce5224 +size 1836904 diff --git a/gpgme-1.23.2.tar.bz2.sig b/gpgme-1.23.2.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..61eb854134117bf59a390baf9750af45d39b62a2ba839f6567ca2a407af17244 GIT binary patch literal 238 zcmeAuWnmEGV2~A4WXWBXm$E!p!y#PSlPRcU`VKV*t6Qv0scGDe3|yQ7Fp<3v7#U_v zC=>fB|Nf5CqO+%u8YcwoiCMd#;^Z^ql@g!(qCPv`WcbCb@-@g~x7|Wn>9A+_PKH}pP6%-=aMtSKa~{|j$TZxU3#PD?`3DX X>8ec8pEzgstNZOryT@>Oaw$6i;4)^H literal 0 HcmV?d00001 diff --git a/gpgme-1.24.0.tar.bz2 b/gpgme-1.24.0.tar.bz2 new file mode 100644 index 0000000..23d2b08 --- /dev/null +++ b/gpgme-1.24.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:61e3a6ad89323fecfaff176bc1728fb8c3312f2faa83424d9d5077ba20f5f7da +size 1889410 diff --git a/gpgme-1.24.0.tar.bz2.sig b/gpgme-1.24.0.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..c953144547051d98b5076a5abd03ce158837aa6c106960760e0c7beaf66c3dd4 GIT binary patch literal 119 zcmeAuWnmEGV2~A4WXWBXm$E!p!y#PSlPRcU`VKV*t6Qv0>DpdJ3|yQ7FcF!5j0~^0 zU8 +Date: Tue, 16 Jan 2024 09:53:39 +0100 +Subject: build: Update Python autoconf macro + +* configure.ac: Call AX_PYTHON_DEVEL with new "optional" argument. +* m4/ax_python_devel.m4: Replace with current version from the autoconf +archive. +-- + +The new "optional" argument allows us to leave out one of our custom +changes. + +diff --git a/configure.ac b/configure.ac +index 9d551813..0e0b9d97 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -607,7 +607,7 @@ if test "$found_py" = "1"; then + unset am_cv_python_pythondir + unset am_cv_python_pyexecdir + AM_PATH_PYTHON(mym4pythonver, [ +- AX_PYTHON_DEVEL ++ AX_PYTHON_DEVEL([], [true]) + if test "$PYTHON_VERSION"; then + PYTHONS="$(echo $PYTHONS $PYTHON)" + PYTHON_VERSIONS="$(echo $PYTHON_VERSIONS $PYTHON_VERSION)" +diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 +index 55f0cfff..1f480db6 100644 +--- a/m4/ax_python_devel.m4 ++++ b/m4/ax_python_devel.m4 +@@ -1,10 +1,10 @@ + # =========================================================================== +-# https://www.gnu.org/software/autoconf-archive/ax_python_devel.html ++# https://www.gnu.org/software/autoconf-archive/ax_python_devel.html + # =========================================================================== + # + # SYNOPSIS + # +-# AX_PYTHON_DEVEL([version]) ++# AX_PYTHON_DEVEL([version[,optional]]) + # + # DESCRIPTION + # +@@ -12,8 +12,8 @@ + # in your configure.ac. + # + # This macro checks for Python and tries to get the include path to +-# 'Python.h'. It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LDFLAGS) +-# output variables. It also exports $(PYTHON_EXTRA_LIBS) and ++# 'Python.h'. It provides the $(PYTHON_CPPFLAGS) and $(PYTHON_LIBS) output ++# variables. It also exports $(PYTHON_EXTRA_LIBS) and + # $(PYTHON_EXTRA_LDFLAGS) for embedding Python in your code. + # + # You can search for some particular version of Python by passing a +@@ -23,6 +23,11 @@ + # version number. Don't use "PYTHON_VERSION" for this: that environment + # variable is declared as precious and thus reserved for the end-user. + # ++# By default this will fail if it does not detect a development version of ++# python. If you want it to continue, set optional to true, like ++# AX_PYTHON_DEVEL([], [true]). The ax_python_devel_found variable will be ++# "no" if it fails. ++# + # This macro should work for all versions of Python >= 2.1.0. As an end + # user, you can disable the check for the python version by setting the + # PYTHON_NOVERSIONCHECK environment variable to something else than the +@@ -67,10 +72,18 @@ + # modified version of the Autoconf Macro, you may extend this special + # exception to the GPL to apply to your modified version as well. + +-#serial 17 ++#serial 36 + + AU_ALIAS([AC_PYTHON_DEVEL], [AX_PYTHON_DEVEL]) + AC_DEFUN([AX_PYTHON_DEVEL],[ ++ # Get whether it's optional ++ if test -z "$2"; then ++ ax_python_devel_optional=false ++ else ++ ax_python_devel_optional=$2 ++ fi ++ ax_python_devel_found=yes ++ + # + # Allow the use of a (user set) custom python version + # +@@ -81,81 +94,147 @@ AC_DEFUN([AX_PYTHON_DEVEL],[ + + AC_PATH_PROG([PYTHON],[python[$PYTHON_VERSION]]) + if test -z "$PYTHON"; then +- AC_MSG_ERROR([Cannot find python$PYTHON_VERSION in your system path]) ++ AC_MSG_WARN([Cannot find python$PYTHON_VERSION in your system path]) ++ if ! $ax_python_devel_optional; then ++ AC_MSG_ERROR([Giving up, python development not available]) ++ fi ++ ax_python_devel_found=no + PYTHON_VERSION="" + fi + +- # +- # Check for a version of Python >= 2.1.0 +- # +- AC_MSG_CHECKING([for a version of Python >= '2.1.0']) +- ac_supports_python_ver=`$PYTHON -c "import sys; \ ++ if test $ax_python_devel_found = yes; then ++ # ++ # Check for a version of Python >= 2.1.0 ++ # ++ AC_MSG_CHECKING([for a version of Python >= '2.1.0']) ++ ac_supports_python_ver=`$PYTHON -c "import sys; \ + ver = sys.version.split ()[[0]]; \ + print (ver >= '2.1.0')"` +- if test "$ac_supports_python_ver" != "True"; then ++ if test "$ac_supports_python_ver" != "True"; then + if test -z "$PYTHON_NOVERSIONCHECK"; then + AC_MSG_RESULT([no]) +- AC_MSG_FAILURE([ ++ AC_MSG_WARN([ + This version of the AC@&t@_PYTHON_DEVEL macro + doesn't work properly with versions of Python before + 2.1.0. You may need to re-run configure, setting the +-variables PYTHON_CPPFLAGS, PYTHON_LDFLAGS, PYTHON_SITE_PKG, ++variables PYTHON_CPPFLAGS, PYTHON_LIBS, PYTHON_SITE_PKG, + PYTHON_EXTRA_LIBS and PYTHON_EXTRA_LDFLAGS by hand. + Moreover, to disable this check, set PYTHON_NOVERSIONCHECK + to something else than an empty string. + ]) ++ if ! $ax_python_devel_optional; then ++ AC_MSG_FAILURE([Giving up]) ++ fi ++ ax_python_devel_found=no ++ PYTHON_VERSION="" + else + AC_MSG_RESULT([skip at user request]) + fi +- else ++ else + AC_MSG_RESULT([yes]) ++ fi + fi + +- # +- # if the macro parameter ``version'' is set, honour it +- # +- if test -n "$1"; then ++ if test $ax_python_devel_found = yes; then ++ # ++ # If the macro parameter ``version'' is set, honour it. ++ # A Python shim class, VPy, is used to implement correct version comparisons via ++ # string expressions, since e.g. a naive textual ">= 2.7.3" won't work for ++ # Python 2.7.10 (the ".1" being evaluated as less than ".3"). ++ # ++ if test -n "$1"; then + AC_MSG_CHECKING([for a version of Python $1]) +- ac_supports_python_ver=`$PYTHON -c "import sys; \ +- ver = sys.version.split ()[[0]]; \ ++ cat << EOF > ax_python_devel_vpy.py ++class VPy: ++ def vtup(self, s): ++ return tuple(map(int, s.strip().replace("rc", ".").split("."))) ++ def __init__(self): ++ import sys ++ self.vpy = tuple(sys.version_info)[[:3]] ++ def __eq__(self, s): ++ return self.vpy == self.vtup(s) ++ def __ne__(self, s): ++ return self.vpy != self.vtup(s) ++ def __lt__(self, s): ++ return self.vpy < self.vtup(s) ++ def __gt__(self, s): ++ return self.vpy > self.vtup(s) ++ def __le__(self, s): ++ return self.vpy <= self.vtup(s) ++ def __ge__(self, s): ++ return self.vpy >= self.vtup(s) ++EOF ++ ac_supports_python_ver=`$PYTHON -c "import ax_python_devel_vpy; \ ++ ver = ax_python_devel_vpy.VPy(); \ + print (ver $1)"` ++ rm -rf ax_python_devel_vpy*.py* __pycache__/ax_python_devel_vpy*.py* + if test "$ac_supports_python_ver" = "True"; then +- AC_MSG_RESULT([yes]) ++ AC_MSG_RESULT([yes]) + else + AC_MSG_RESULT([no]) +- AC_MSG_ERROR([this package requires Python $1. ++ AC_MSG_WARN([this package requires Python $1. + If you have it installed, but it isn't the default Python + interpreter in your system path, please pass the PYTHON_VERSION + variable to configure. See ``configure --help'' for reference. + ]) ++ if ! $ax_python_devel_optional; then ++ AC_MSG_ERROR([Giving up]) ++ fi ++ ax_python_devel_found=no + PYTHON_VERSION="" + fi ++ fi + fi + +- # +- # Check if you have distutils, else fail +- # +- AC_MSG_CHECKING([for the distutils Python package]) +- ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $ax_python_devel_found = yes; then ++ # ++ # Check if you have distutils, else fail ++ # ++ AC_MSG_CHECKING([for the sysconfig Python package]) ++ ac_sysconfig_result=`$PYTHON -c "import sysconfig" 2>&1` ++ if test $? -eq 0; then + AC_MSG_RESULT([yes]) +- else ++ IMPORT_SYSCONFIG="import sysconfig" ++ else + AC_MSG_RESULT([no]) +- AC_MSG_ERROR([cannot import Python module "distutils". ++ ++ AC_MSG_CHECKING([for the distutils Python package]) ++ ac_sysconfig_result=`$PYTHON -c "from distutils import sysconfig" 2>&1` ++ if test $? -eq 0; then ++ AC_MSG_RESULT([yes]) ++ IMPORT_SYSCONFIG="from distutils import sysconfig" ++ else ++ AC_MSG_WARN([cannot import Python module "distutils". + Please check your Python installation. The error was: +-$ac_distutils_result]) +- PYTHON_VERSION="" ++$ac_sysconfig_result]) ++ if ! $ax_python_devel_optional; then ++ AC_MSG_ERROR([Giving up]) ++ fi ++ ax_python_devel_found=no ++ PYTHON_VERSION="" ++ fi ++ fi + fi + +- # +- # Check for Python include path +- # +- AC_MSG_CHECKING([for Python include path]) +- if test -z "$PYTHON_CPPFLAGS"; then +- python_path=`$PYTHON -c "import distutils.sysconfig; \ +- print (distutils.sysconfig.get_python_inc ());"` +- plat_python_path=`$PYTHON -c "import distutils.sysconfig; \ +- print (distutils.sysconfig.get_python_inc (plat_specific=1));"` ++ if test $ax_python_devel_found = yes; then ++ # ++ # Check for Python include path ++ # ++ AC_MSG_CHECKING([for Python include path]) ++ if test -z "$PYTHON_CPPFLAGS"; then ++ if test "$IMPORT_SYSCONFIG" = "import sysconfig"; then ++ # sysconfig module has different functions ++ python_path=`$PYTHON -c "$IMPORT_SYSCONFIG; \ ++ print (sysconfig.get_path ('include'));"` ++ plat_python_path=`$PYTHON -c "$IMPORT_SYSCONFIG; \ ++ print (sysconfig.get_path ('platinclude'));"` ++ else ++ # old distutils way ++ python_path=`$PYTHON -c "$IMPORT_SYSCONFIG; \ ++ print (sysconfig.get_python_inc ());"` ++ plat_python_path=`$PYTHON -c "$IMPORT_SYSCONFIG; \ ++ print (sysconfig.get_python_inc (plat_specific=1));"` ++ fi + if test -n "${python_path}"; then + if test "${plat_python_path}" != "${python_path}"; then + python_path="-I$python_path -I$plat_python_path" +@@ -164,22 +243,22 @@ $ac_distutils_result]) + fi + fi + PYTHON_CPPFLAGS=$python_path +- fi +- AC_MSG_RESULT([$PYTHON_CPPFLAGS]) +- AC_SUBST([PYTHON_CPPFLAGS]) ++ fi ++ AC_MSG_RESULT([$PYTHON_CPPFLAGS]) ++ AC_SUBST([PYTHON_CPPFLAGS]) + +- # +- # Check for Python library path +- # +- AC_MSG_CHECKING([for Python library path]) +- if test -z "$PYTHON_LDFLAGS"; then ++ # ++ # Check for Python library path ++ # ++ AC_MSG_CHECKING([for Python library path]) ++ if test -z "$PYTHON_LIBS"; then + # (makes two attempts to ensure we've got a version number + # from the interpreter) + ac_python_version=`cat<]], + [[Py_Initialize();]]) + ],[pythonexists=yes],[pythonexists=no]) +- AC_LANG_POP([C]) +- # turn back to default flags +- CPPFLAGS="$ac_save_CPPFLAGS" +- LIBS="$ac_save_LIBS" ++ AC_LANG_POP([C]) ++ # turn back to default flags ++ CPPFLAGS="$ac_save_CPPFLAGS" ++ LIBS="$ac_save_LIBS" ++ LDFLAGS="$ac_save_LDFLAGS" + +- AC_MSG_RESULT([$pythonexists]) ++ AC_MSG_RESULT([$pythonexists]) + +- if test ! "x$pythonexists" = "xyes"; then +- AC_MSG_WARN([ ++ if test ! "x$pythonexists" = "xyes"; then ++ AC_MSG_WARN([ + Could not link test program to Python. Maybe the main Python library has been + installed in some non-standard library path. If so, pass it to configure, +- via the LDFLAGS environment variable. +- Example: ./configure LDFLAGS="-L/usr/non-standard-path/python/lib" ++ via the LIBS environment variable. ++ Example: ./configure LIBS="-L/usr/non-standard-path/python/lib" + ============================================================================ ++ ERROR! + You probably have to install the development version of the Python package + for your distribution. The exact name of this package varies among them. + ============================================================================ +- ]) +- PYTHON_VERSION="" ++ ]) ++ if ! $ax_python_devel_optional; then ++ AC_MSG_ERROR([Giving up]) ++ fi ++ ax_python_devel_found=no ++ PYTHON_VERSION="" ++ fi + fi + + # +From cc1f2b5acb8484edf0a722dcccac435687576a44 Mon Sep 17 00:00:00 2001 +From: Ingo Klöcker +Date: Tue, 16 Jan 2024 09:58:33 +0100 +Subject: build: Re-add still needed custom changes to Python autoconf macro + +* m4/ax_python_devel.m4: Do not emit 'HAVE_PYTHON'. +-- + +This reapplies the changes made with 5189c08 that are still needed for +detecting multiple Python versions. + +diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 +index 1f480db6..8116028a 100644 +--- a/m4/ax_python_devel.m4 ++++ b/m4/ax_python_devel.m4 +@@ -274,8 +274,11 @@ EOD` + fi + + # Make the versioning information available to the compiler +- AC_DEFINE_UNQUOTED([HAVE_PYTHON], ["$ac_python_version"], +- [If available, contains the Python version number currently in use.]) ++ ++ # JW: We don't need it and it interferes with the hack ++ # to detect multiple Python versions ++ #AC_DEFINE_UNQUOTED([HAVE_PYTHON], ["$ac_python_version"], ++ # [If available, contains the Python version number currently in use.]) + + # First, the library directory: + ac_python_libdir=`cat</dev/null))) + else + ingit=no +- beta=yes +- tmp="-unknown" ++ beta=no ++ tmp="" + cid="0000000" + rev="0000000" + rvd="0" diff --git a/gpgme.changes b/gpgme.changes new file mode 100644 index 0000000..88b4766 --- /dev/null +++ b/gpgme.changes @@ -0,0 +1,1605 @@ +------------------------------------------------------------------- +Fri Nov 29 07:47:13 UTC 2024 - Dominique Leuenberger + +- Add gpgme-fix-python-install.patch: Fix the installation of the + python bindings without having to move them around manually. + +------------------------------------------------------------------- +Wed Nov 20 12:14:56 UTC 2024 - Pedro Monreal + +- Move the gpg python bindings out of the egg directory. + +------------------------------------------------------------------- +Mon Nov 18 10:17:30 UTC 2024 - Christophe Marin + +- Fix file list on Leap 15 + +------------------------------------------------------------------- +Wed Nov 13 12:05:35 UTC 2024 - Pedro Monreal + +- Update to 1.24.0: + * Extended gpgme_op_decrypt* and gpgme_op_verify* to allow writing the + output directly to a file. [T6550] + * Extended gpgme_op_encrypt*, gpgme_op_encrypt_sign*, and gpgme_op_sign* + to allow reading the input data directly from a file. [T6550] + * Add information about designated revocation keys. [T7118] + * New context flag "import-options". [T7152] + * New context flag "proc-all-sigs". [T7261] + * New context flag "known-notations". [T4060] + * New info flags "beta_compliance". [rM1a7bc88ee7] + * New function gpgme_op_setownertrust to make changing the owner trust + easier and to allow enabling/disabling of keys (requires GnuPG 2.4.6). [T7239] + * New flag to re-encrypt OpenPGP data (requires GnuPG 2.5.1). [T1825] + * cpp: Provide information about designated revocation keys for a Key. [T7118] + * cpp: Add safer member function returning text describing an error. [T5960] + * cpp: Add support for setting the owner trust of keys and for enabling + and disabling keys. [T7239] + * qt: Build QGpgME for Qt 5 and Qt 6 simultaneously. [T7205] + * qt: Install headers for Qt 5 and Qt 6 in separate folders. [T7161] + * qt: Allow reading the data to decrypt/encrypt/sign/verify directly from + files. [T6550] + * qt: Allow writing the decrypted/encrypted/signed/verified data directly + to files. [T6550] + * qt: Allow specifying import options when importing keys. [T7152] + * qt: Allow appending a detached signature to an existing file. [T6867] + * qt: Add support for enabling and disabling keys. [T7239] + * qt: Add support for new context flag "proc-all-sigs" to the jobs that + verify data signatures. + * Interface changes relative to the 1.23.2 release: + - GPGME_ENCRYPT_FILE NEW. + - GPGME_SIG_MODE_FILE NEW. + - GPGME_ENCRYPT_ADD_RECP NEW. + - GPGME_ENCRYPT_CHG_RECP NEW. + - gpgme_key_t EXT: New field 'revkeys'. + - gpgme_revocation_key_t NEW. + - gpgme_set_ctx_flag EXT: New flag 'import-options'. + - gpgme_set_ctx_flag EXT: New flag 'proc-all-sigs'. + - gpgme_set_ctx_flag EXT: New flag 'known-notation'. + - gpgme_op_setownertrust_start NEW. + - gpgme_op_setownertrust NEW. + - gpgme_subkey_t EXT: New field 'beta_compliance'. + - gpgme_signature_t EXT: New field 'beta_compliance'. + - gpgme_decrypt_result_t EXT: New field 'beta_compliance'. + - cpp: Context::EncryptFile NEW. + - cpp: Context::setOwnerTrust NEW. + - cpp: Context::startSetOwnerTrust NEW. + - cpp: Context::setKeyEnabled NEW. + - cpp: Context::startSetKeyEnabled NEW. + - cpp: SignatureMode::SignFile NEW. + - cpp: RevocationKey NEW. + - cpp: Key::revocationKey NEW. + - cpp: Key::numRevocationKeys NEW. + - cpp: Key::revocationKeys NEW. + - cpp: Key::isBetaCompliance NEW. + - cpp: Subkey::isBetaCompliance NEW. + - cpp: Error::asStdString NEW. + - cpp: Error::asString DEPRECATED. + - cpp: DecryptionResult::isBetaCompliance NEW. + - cpp: Signature::isBetaCompliance NEW. + - qt: DecryptVerifyArchiveJob::setProcessAllSignatures NEW. + - qt: DecryptVerifyArchiveJob::processAllSignatures NEW. + - qt: DecryptVerifyJob::setInputFile NEW. + - qt: DecryptVerifyJob::inputFile NEW. + - qt: DecryptVerifyJob::setOutputFile NEW. + - qt: DecryptVerifyJob::outputFile NEW. + - qt: DecryptVerifyJob::setProcessAllSignatures NEW. + - qt: DecryptVerifyJob::processAllSignatures NEW. + - qt: EncryptJob::setRecipients NEW. + - qt: EncryptJob::recipients NEW. + - qt: EncryptJob::setInputFile NEW. + - qt: EncryptJob::inputFile NEW. + - qt: EncryptJob::setOutputFile NEW. + - qt: EncryptJob::outputFile NEW. + - qt: EncryptJob::setEncryptionFlags NEW. + - qt: EncryptJob::encryptionFlags NEW. + - qt: SignEncryptJob::setSigners NEW. + - qt: SignEncryptJob::signers NEW. + - qt: SignEncryptJob::setRecipients NEW. + - qt: SignEncryptJob::recipients NEW. + - qt: SignEncryptJob::setInputFile NEW. + - qt: SignEncryptJob::inputFile NEW. + - qt: SignEncryptJob::setOutputFile NEW. + - qt: SignEncryptJob::outputFile NEW. + - qt: SignEncryptJob::setEncryptionFlags NEW. + - qt: SignEncryptJob::encryptionFlags NEW. + - qt: SignJob::setSigners NEW. + - qt: SignJob::signers NEW. + - qt: SignJob::setInputFile NEW. + - qt: SignJob::inputFile NEW. + - qt: SignJob::setOutputFile NEW. + - qt: SignJob::outputFile NEW. + - qt: SignJob::setSigningFlags NEW. + - qt: SignJob::signingFlags NEW. + - qt: SignJob::setAppendSignature NEW. + - qt: SignJob::appendSignatureEnabled NEW. + - qt: VerifyDetachedJob::setSignatureFile NEW. + - qt: VerifyDetachedJob::signatureFile NEW. + - qt: VerifyDetachedJob::setSignedFile NEW. + - qt: VerifyDetachedJob::signedFile NEW. + - qt: VerifyDetachedJob::setProcessAllSignatures NEW. + - qt: VerifyDetachedJob::processAllSignatures NEW. + - qt: VerifyOpaqueJob::setInputFile NEW. + - qt: VerifyOpaqueJob::inputFile NEW. + - qt: VerifyOpaqueJob::setOutputFile NEW. + - qt: VerifyOpaqueJob::outputFile NEW. + - qt: VerifyOpaqueJob::setProcessAllSignatures NEW. + - qt: VerifyOpaqueJob::processAllSignatures NEW. + - qt: ImportJob::setImportOptions NEW. + - qt: ImportJob::importOptions NEW. + - qt: QuickJob::startSetKeyEnabled NEW. + * Release-info: https://dev.gnupg.org/T7376 + * Rebase gpgme-suse-nobetasuffix.patch python313.patch + * Remove patch upstream: gpgme-D545-obsolete-distutils.patch + +------------------------------------------------------------------- +Sun Sep 1 18:26:03 UTC 2024 - Dirk Müller + +- add python313.patch to enable python 3.13 building + +------------------------------------------------------------------- +Sat Feb 17 11:20:39 UTC 2024 - Ben Greiner + +- Update gpgme-D545-obsolete-distutils.patch with upstream's + changes (but use pip instead of python-build for wheel building) +- Change from in-place build to out-of-place build in order to + reflect upstream's build setup (See D545) +- Don't replace distutils in 15.X + +------------------------------------------------------------------- +Sat Jan 6 12:43:19 UTC 2024 - Ben Greiner + +- Python 3.12 has dropped distutils + * Build require python-setuptools instead + * Drop old gpgme-D545-python310.patch + * Replace with gpgme-D545-obsolete-distutils.patch + +------------------------------------------------------------------- +Tue Dec 5 19:03:33 UTC 2023 - Christophe Marin + +- Make libgpgmepp-devel provide its CMake target file + +------------------------------------------------------------------- +Wed Nov 29 21:13:20 UTC 2023 - Pedro Monreal + +- Update to 1.23.2: + * Preserve more specific existing failure code. [T6575] + * qt: Start dirmngr with gpgconf to avoid multiple instances. [T6833] + * qt: On Windows, use UTF-8 when logging the error text. [T5960] + * qt: Remove left-over partial files more persistently. [T6584] + * qt: Use a temporary file name when creating signed or encrypted + archives. [T6721] + * qt: Build Qt 6 bindings with -fPIC if requested or Qt 6 was built + with this flag. [T6781] + * Notes: + - qt: DefaultKeyGenerationJob DEPRECATED. + * Release-info: https://dev.gnupg.org/T6782 + +------------------------------------------------------------------- +Mon Oct 30 21:58:54 UTC 2023 - Andreas Stieger + +- update to 1.23.1: + * fixes for other platforms + +------------------------------------------------------------------- +Wed Oct 25 10:56:48 UTC 2023 - Pedro Monreal + +- Update to 1.23.0: + * Support GPGME_ENCRYPT_ALWAYS_TRUST also for S/MIME. [T6559] + * New keylist mode GPGME_KEYLIST_MODE_WITH_V5FPR. [T6705] + * New key capability flags has_*. [T6748] + * gpgme-tool: Support use of Windows HANDLE. [T6634] + * qt: Support refreshing keys via WKD. [T6672] + * qt: Handle cancel in changeexpiryjob. [T6754] + * Remove patches fixed upstream: + - gpgme-qt-tests-Fix-build-in-source-directory.patch + - gpgme-build-Suggest-out-of-source-build.patch + +------------------------------------------------------------------- +Sat Sep 23 23:26:53 UTC 2023 - Christophe Marin + +- Use GCC 12 for building the Qt6 library on Leap 15. The + default compiler is too old. +- Use '%{without xxx}' rather than '!%{with xxx}' in spec file + +------------------------------------------------------------------- +Sat Sep 23 23:26:53 UTC 2023 - Christophe Marin + +- Use GCC 12 for building the Qt6 library. The default compiler + is too old. +- Use '%{without xxx}' rather than '!%{with xxx}' in spec file + +------------------------------------------------------------------- +Tue Aug 22 08:31:50 UTC 2023 - Pedro Monreal + +- Fix builds with qt and qt6 [T6673]: + * qt,tests: Fix build in source directory. Include Qt binding + sources before C++ binding sources and C sources. This fixes + the problem that the debug.h in the C sources was found before + the one in the Qt bindings. + * build: Suggest out-of-source build. Suggest to run configure + from a build subdirectory. + * Add patches: + - gpgme-qt-tests-Fix-build-in-source-directory.patch + - gpgme-build-Suggest-out-of-source-build.patch + +------------------------------------------------------------------- +Tue Aug 22 08:16:40 UTC 2023 - Pedro Monreal + +- Update to 1.22.0: + * Prevent wrong plaintext when verifying clearsigned signature. + * Return bad data error instead of general error on unexpected data. + * Take care of offline mode for all operations of gpgsm engine. + * Prepare the use of the forthcoming libassuan version 3. + * New configure option --with-libtool-modification. + * cpp: Expose gpgme_decrypt_result_t.is_mime. + * qt: Clean up after failure or cancel of sign/encrypt archive operation. + * qt: Add setInputEncoding to QGpgMe::EncryptJob. + * qt: Make toLogString helper public. + * Interface changes relative to the 1.21.0 release: + - qt: EncryptJob::setInputEncoding NEW. + - qt: DecryptionResult::isMime NEW. + - qt: toLogString NEW. + +------------------------------------------------------------------- +Thu Aug 3 11:27:50 UTC 2023 - Andreas Schwab + +- Run testsuite in qemu build + +------------------------------------------------------------------- +Mon Jul 10 14:57:51 UTC 2023 - Pedro Monreal + +- Update to 1.21.0 + * Extended gpgme_op_encrypt, gpgme_op_encrypt_sign, and gpgme_op_sign + to allow writing the output directly to a file. [T6530] + * Extended gpgme_op_decrypt and gpgme_op_verify to allow reading the + input data directly from files. [T6530] + * For key signing and uid revoking allow an empty user id. [rMfbc3963d62] + * Pass an input-size-hint also to the gpgsm engine. [T6534] + * qt: Allow writing the created archives directly to a file. [T6530] + * qt: Allow reading the signed/encrypted archive to decrypt + or verify directly from a file. [T6530] + * qt: Qt Jobs working with QIODeviceDataProvider now properly + handle input-size hints and progress for files larger. + 2^32 bytes in 32 bit builds. [T6534] + * cpp: Error::isCanceled now also returns true for error code + GPG_ERR_FULLY_CANCELED. [T6510] + * python: Fix wrong use of write. [T6501] + * Interface changes relative to the 1.20.0 release: + - cpp: Data::setFlag NEW. + - cpp: Data::setSizeHint NEW. + - qt: Job::startIt NEW. + - qt: DecryptVerifyArchiveJob::setInputFile NEW. + - qt: DecryptVerifyArchiveJob::inputFile NEW. + - qt: EncryptArchiveJob::setRecipients NEW. + - qt: EncryptArchiveJob::recipients NEW. + - qt: EncryptArchiveJob::setInputPaths NEW. + - qt: EncryptArchiveJob::inputPaths NEW. + - qt: EncryptArchiveJob::setOutputFile NEW. + - qt: EncryptArchiveJob::outputFile NEW. + - qt: EncryptArchiveJob::setEncryptionFlags NEW. + - qt: EncryptArchiveJob::encryptionFlags NEW. + - qt: SignArchiveJob::setSigners NEW. + - qt: SignArchiveJob::signers NEW. + - qt: SignArchiveJob::setInputPaths NEW. + - qt: SignArchiveJob::inputPaths NEW. + - qt: SignArchiveJob::setOutputFile NEW. + - qt: SignArchiveJob::outputFile NEW. + - qt: SignEncryptArchiveJob::setSigners NEW. + - qt: SignEncryptArchiveJob::signers NEW. + - qt: SignEncryptArchiveJob::setRecipients NEW. + - qt: SignEncryptArchiveJob::recipients NEW. + - qt: SignEncryptArchiveJob::setInputPaths NEW. + - qt: SignEncryptArchiveJob::inputPaths NEW. + - qt: SignEncryptArchiveJob::setOutputFile NEW. + - qt: SignEncryptArchiveJob::outputFile NEW. + - qt: SignEncryptArchiveJob::setEncryptionFlags NEW. + - qt: SignEncryptArchiveJob::encryptionFlags NEW. + +------------------------------------------------------------------- +Fri Apr 21 06:19:17 UTC 2023 - Pedro Monreal + +- Update to 1.20.0: + * On Windows, the gettext functions provided by gpgrt are switched + into utf8 mode, so that all localized texts returned by GpgME or + gpgrt, e.g. the texts for error codes are now UTF-8 encoded. [T5960] + * Key::canSign now returns false for OpenPGP keys without signing + (sub)key. [T6456] + * The new macOS Homebrew location is now by default supported. [T6440] + * Fix regression in 1.19.0. + * Fix invocation of gpgtar on Windows. + * Interface changes relative to the 1.19.0 release: + - gpgme_subkey_t EXTENDED: New field 'can_renc'. + - gpgme_subkey_t EXTENDED: New field 'can_timestamp'. + - gpgme_subkey_t EXTENDED: New field 'is_group_owned'. + - cpp: Subkey::canRenc NEW. + - cpp: Subkey::canTimestamp NEW. + - cpp: Subkey::isGroupOwned NEW. + - cpp: Key::canReallySign DEPRECATED. + * Release-info: https://dev.gnupg.org/T6463 + +------------------------------------------------------------------- +Tue Apr 11 22:15:02 UTC 2023 - Christophe Marin + +- Add a Qt6 flavor to build Qt6 bindings +- Use %ldconfig_scriptlets + +------------------------------------------------------------------- +Mon Mar 20 15:46:55 UTC 2023 - Pedro Monreal + +- Update to 1.19.0: + * New context flag "no-auto-check-trustdb". [T6261] + * Optionally, build QGpgME for Qt 6 + * Support component "gpgtar-name" in gpgme_get_dirinfo. [T6342] + * Extended gpgme_op_encrypt*, gpgme_op_encrypt_sign*, and + gpgme_op_sign* to allow creating an encrypted and/or signed + archive. [T6342] + * Extended gpgme_op_decrypt*, gpgme_op_decrypt_verify*, + and gpgme_op_verify* to allow extracting an encrypted and/or + signed archive. [T6342] + * cpp: Handle error when trying to sign expired keys. [T6155] + * cpp: Support encryption flags ThrowKeyIds, EncryptWrap, and + WantAddress. [T6359] + * cpp, qt: Fix building with C++11. [T6141] + * qt: Fix problem with expiration dates after 2038-01-19 on 32-bit + systems when adding an existing subkey to another key. [T6137] + * cpp: Allow setting the curve to use when generating ECC keys + for smart cards. [T4429] + * qt: Extend ListAllKeysJob to allow disabling the automatic + trust database check when listing all keys. [T6261] + * qt: Allow deferred start of import jobs. [T6323] + * qt: Support creating and extracting signed and encrypted + archives. [T6342] + * Rebase gpgme-suse-nobetasuffix.patch + * Remove patches upstream: + - gpgme-D546-python310.patch + - gpgme-1.18.0-T6137-qt_test.patch + - python311.patch + +------------------------------------------------------------------- +Fri Mar 10 12:18:29 UTC 2023 - Dirk Müller + +- drop python2 subpackage handling. we do not support python 2.x + anymore, and if we would it would happen via singlespec + +------------------------------------------------------------------- +Mon Jan 23 11:49:07 UTC 2023 - Pedro Monreal + +- Update upstream keyring: https://gnupg.org/signature_key.asc + +------------------------------------------------------------------- +Sat Jan 21 14:57:30 UTC 2023 - Dirk Müller + +- add python311.patch to build language bindings for python 3.11 + +------------------------------------------------------------------- +Tue Nov 8 18:35:11 UTC 2022 - Ben Greiner + +- Add gpgme-suse-nobetasuffix.patch + * remove "-unknown" suffix from version string + * boo#1205197 + +------------------------------------------------------------------- +Thu Aug 18 20:30:13 UTC 2022 - Andreas Stieger + +- gpgme 1.18.0 + * New keylist mode to force refresh via external methods + * The keylist operations now create an import result to report the + result of the locate keylist modes + * core: Return BAD_PASSPHRASE error code on symmetric decryption + failure + * cpp, qt: Do not export internal symbols anymore + * cpp, qt: Support revocation of own OpenPGP keys + * qt: The file name of (signed and) encrypted data can now be set + * cpp, qt: Support setting the primary user ID + * python: Fix segv(NULL) when inspecting contect after exeception +- includes changes from version 1.17.1: + * qt: Fix a bug in the ABI compatibility of 1.17.0 +- includes changes from 1.17.0: + * New context flag "key-origin" + * New context flag "import-filter" + * New export mode to export secret subkeys + * Detect errors during the export of secret keys + * New function gpgme_op_receive_keys to import keys from a keyserver + without first running a key listing + * Detect bad passphrase error in certificate import + * Allow setting --key-origin when importing keys + * Support components "keyboxd", "gpg-agent", "scdaemon", "dirmngr", + "pinentry", and "socketdir" in gpgme_get_dirinfo + * Under Unix use poll(2) instead of select(2), when available. + * Fix results returned by gpgme_data_* functions + * Support closefrom also for glibc + (drop upstream gpgme-use-glibc-closefrom.patch + * cpp,qt: Add support for export of secret keys and secret subkeys. + * cpp,qt: Support for adding existing subkeys to other keys + * qt: Extend ChangeExpiryJob to change expiration of primary key + and of subkeys at the same time + * qt: Support WKD lookup without implicit import + * qt: Allow specifying an import filter when importing keys + * qt: Allow retrieving the default value of a config entry +- drop patches included upstream + * gpgme-1.16.0-Use-after-free-in-t-edit-sign-test.patch + * gpgme-1.16.0-t-various-testSignKeyWithExpiration-32-bit.patch +- add patches to fix tests: + * gpgme-1.18.0-T6137-qt_test.patch + +------------------------------------------------------------------- +Fri Dec 24 13:05:32 UTC 2021 - Ben Greiner + +- Add patches to support building bindings packages for + Python 3.10 + * gpgme-D545-python310.patch -- https://dev.gnupg.org/D545 + * gpgme-D546-python310.patch -- https://dev.gnupg.org/D546 + +------------------------------------------------------------------- +Thu Aug 5 10:29:27 UTC 2021 - Pedro Monreal + +- Fix build with glibc 2.34: [bsc#1189089] + * Use glibc's closefrom. + * Add gpgme-use-glibc-closefrom.patch + +------------------------------------------------------------------- +Wed Jul 7 18:19:43 UTC 2021 - Andreas Stieger + +- gpgme 1.16.0: + * New context flag "cert-expire" + * New data flags "io-buffer-size" and "sensitive" + * cpp,qt: Add support for trust signatures + * qt: Add support for flags in LDAP server options + * qt: Fix too high memory consumption due to QProcess + * qt: Do not set empty base DN as query of keyserver URL + * qt: Extend SignKeyJob to create signatures with expiration date + * python: New optional parameter filter_signatures for decrypt +- run all tests again +- add patches to fix tests: + * gpgme-1.16.0-Use-after-free-in-t-edit-sign-test.patch + * gpgme-1.16.0-t-various-testSignKeyWithExpiration-32-bit.patch + +------------------------------------------------------------------- +Thu Mar 25 16:27:58 UTC 2021 - Ben Greiner + +- Can't assume non-existence of python38 macros in Leap. + gh#openSUSE/python-rpm-macros#107 + Test for suse_version instead. Only Tumbleweed has and needs the + python_subpackage_only support. + +------------------------------------------------------------------- +Tue Jan 12 22:35:23 UTC 2021 - Andreas Stieger + +- gpgme 1.15.1: + * Fix a bug in the secret key export + * Make listing of signatures work if only secret keys are listed + * qt: Avoid empty "rem@gnupg.org" signature notations + * python: Fix key_export functions +- remove deprecated texinfo macros + +------------------------------------------------------------------- +Sat Dec 5 19:09:59 UTC 2020 - Benjamin Greiner + +- Use python-rpm-macros to provide python3X-gpg for all present + python3 flavors -- gh#openSUSE/python-rpm-macros#66 + +------------------------------------------------------------------- +Tue Nov 17 21:44:17 UTC 2020 - Andreas Stieger + +- gpgme 1.15.0: + * New function gpgme_op_setexpire to make changing the expiration + easier + * New function gpgme_op_revsig to revoke key signatures + * Support exporting secret keys + * cpp: Support for set expire operations in the C++ bindings + * cpp: Support for revoking key signatures in the C++ bindings + * qt: Extended ChangeExpiryJob to support changing the expiry of + subkeys + * qt: Extended QuickJob to support revoking of key signatures + * qt: Added QDebug stream operator for GpgME::Error. + * Require libgpg-error 1.36 + +------------------------------------------------------------------- +Fri Jul 17 20:26:35 UTC 2020 - Andreas Stieger + +- gpgme 1.14.0: + * New keylist mode to force the engine to return the keygrip + * New export mode to export as OpenSSH public key + * New context flag "extended-edit" to enable expert key edit + * Deprecate the anyway non working trustlist functions + * cpp: Add convenience API to obtain remarks + * cpp: The sign key edit-interactor now supports multiple + signatures from the same key + * qt: Extended signkeyjob to handle remarks and multiple + signatures + * qt: Added job API for gpg-card + * qt: The logging category has been changed to gpg.qgpgme to be + more consistent with other qt logging categories +- drop upstream patches: + * 0001-gpg-Avoid-error-diagnostics-with-override-session-ke.patch +- drop patches no longer needed that now break tests: + * gpgme-t-json-test-Bravo-key-no-secret-key-material.patch + * gpgme-t-json-test-with-keygrip-when-listing-keys.patch + +------------------------------------------------------------------- +Thu Jul 2 08:23:12 UTC 2020 - Dan Čermák + +- Add 0001-gpg-Avoid-error-diagnostics-with-override-session-ke.patch + + This patch is a fix from + https://dev.gnupg.org/rMae4d7761a15b82eb98b0bcc72af2ae2e8973e1f9 which fixes + https://dev.gnupg.org/T3464 + The patch is required to make notmuch's testsuite pass with gpgme 1.13.0 and + 1.13.1. For further details, see id:87366av72u.fsf@fifthhorseman.net on + notmuch@notmuchmail.org + +------------------------------------------------------------------- +Thu May 14 16:24:40 UTC 2020 - Matej Cepl + +- Don't delete python egg-info files (bsc#1168795) + +------------------------------------------------------------------- +Wed Apr 29 11:09:33 UTC 2020 - Pedro Monreal Gonzalez + +- Fix build: [bsc#1170811] + * Test t-json fails since the gpg-2.2.20 update +- Add patches: + * gpgme-t-json-test-Bravo-key-no-secret-key-material.patch + * gpgme-t-json-test-with-keygrip-when-listing-keys.patch + +------------------------------------------------------------------- +Wed Oct 16 20:34:54 UTC 2019 - Michael Gorse + +- Build qt bindings separately to avoid build cycle with + samba/libsoup. + +------------------------------------------------------------------- +Fri Jun 14 13:18:36 UTC 2019 - Pedro Monreal Gonzalez + +- gpgme 1.13.1: + * core: At debug levels up to 9 print only an ascii dump. + * core: Add commented debug helper to posix-io.c. + * core: Fix error return value of _gpgme_run_io_cb. + * core: Prettify _gpgme_io_select debug output again and fix TRACE_SYSRES. + * core: Improve the debug messages even more. + * core: Avoid explicit locks in the debug code. + * json: Print "nan", "-inf", "inf" if needed. + * json: Improve handling of large exponents in the JSON parsor. + * core: Implement recpstring option parsing for gpgsm. + * core: Make gpgme_op_encrypt_ext work for CMS. + * python: Fix typo in DecryptionError exception. + * python: Make EXTRA_DIST files explicit. + * Python, doc: Minor style improvement. + * Always use maintainer mode -Wno cflags. + * cpp: Fix initialization warning. + * python: stop raising BadSignatures from decrypt(verify=True) + * cpp: Add wrapper for gpgme_set_global_flag. + * core: Fix duplication of close_notify_handler for gpgsm. + +------------------------------------------------------------------- +Sun Mar 31 08:55:44 UTC 2019 - Andreas Stieger + +- gpgme 1.13.0: + * Support GPGME_AUDITLOG_DIAG for gpgsm + * New context flag "trust-model". + * Aligned the gpgrt-config code with our other libaries + * Auto-check for all installed Python versions + * Fixed generating card key in the C++ bindings + * Fixed a segv due to bad parameters in genkey + * Fixed crash if the plaintext is ignored in a CMS verify + * Fixed test suite problems related to dtags + * Fixed bunch of python bugs + * Several fixes to the Common Lisp bindings + * Fixed minor bugs in gpgme-json + * Require trace level 8 to dump all I/O data + * The compiler must now support variadic macros +- drop gpgme-key-expirity.patch, included upstream + +------------------------------------------------------------------- +Wed Jan 9 08:10:15 UTC 2019 - Tomáš Chvátal + +- Regen keys in Qt tests to not expire bsc#1121051: + * gpgme-key-expirity.patch + +------------------------------------------------------------------- +Tue Oct 9 13:55:50 UTC 2018 - Tomáš Chvátal + +- Fix the build on ix86 as we disable one test there that should + not work, sadly just sed is employed as the infrastructure for + testing is not smart enough for comfy test filtering + +------------------------------------------------------------------- +Mon Oct 8 11:01:26 UTC 2018 - Karol Babioch + +- Update to 1.12.0: + * Enhanced the JSON based interface tool gpgme-json to support Native + Messaging as well as new Javascript code to support the browser + site. See lang/js/README for details. + * Major overhaul of the Python language bindings documentation + * Even for old versions of gpg a missing MDC will now lead to a + decryption failure + * Added context flag "auto-key-locate" to control the + behavior of GPGME_KEYLIST_MODE_LOCATE + * New data function to create a data object from an estream + * Add more interfaces to the C++ binding + * Improved error codes on decryption failure + * Lots of minor fixes + * Interface changes + +------------------------------------------------------------------- +Fri Apr 20 18:29:18 UTC 2018 - astieger@suse.com + +- update to 1.11.1: + * Fixed build problems in the 1.11.0 releas + drop gpgme-1.11-fix-gpgme-json-rpath.patch, + drop gpgme-1.11-fix-tests.patch + * Added C++ interfaces which were planned for 1.11.0 + +------------------------------------------------------------------- +Thu Apr 19 11:47:13 UTC 2018 - kbabioch@suse.com + +- Update to 1.11 + * New encryption API to support direct key specification including + hidden recipients option and taking keys from a file. This also + allows to enforce the use of a subkey. + * New encryption flag for the new API to enforce the use of plain + mail addresses (addr-spec). + * The import API can now tell whether v3 keys are skipped. These + old and basically broken keys are not anymore supported by GnuPG + 2.1. + * The decrypt and verify API will now return the MIME flag as + specified by RFC-4880bis. + * The offline mode now has an effect on gpg by disabling all + network access. + * A failed OpenPGP verification how returns the fingerprint of the + intended key if a recent gpg version was used for signature + creation. + * Various minor fixes. +- Dropped patch 0001-core-Tweak-STATUS_FAILURE-handling.patch, since + it is included upstream now. +- add gpgme-1.11-fix-gpgme-json-rpath.patch to remove rpath +- add gpgme-1.11-fix-tests.patch to fix tests + +------------------------------------------------------------------- +Mon Apr 16 13:22:48 UTC 2018 - astieger@suse.com + +- bsc#1089497: Address failure handling issues when using gpg 2.2.6 + via gpgme, as used by libzypp + Add 0001-core-Tweak-STATUS_FAILURE-handling.patch + +------------------------------------------------------------------- +Mon Jan 8 10:17:39 UTC 2018 - tchvatal@suse.com + +- Tweak up the python conditional to allow us finegraining and + selecting only py2 or py3 if needed + +------------------------------------------------------------------- +Tue Dec 12 16:44:59 UTC 2017 - astieger@suse.com + +- gpgme 1.10.0: + * Now returns more specific error codes for decryption to distinguish + between bad passphrase, user canceled, and no secret key. + * Now returns key origin information if available. + * Added context flag "auto-key-retrieve" to selectively enable the + corresponding gpg option. + * Added flag is_de_vs to decryption and verify results. + * py: Use SEEK_SET as default for data.seek. + * cpp: Various new APIs. + * Reduced spawn overhead on Linux again. Added new configure option + --disable-linux-getdents to disable this feature for very old + Linux versions. + * Improved the Python bindings build system. + * Made the test suite less fragile. + * Interface changes relative to the 1.9.0 release: + gpgme_decrypt_result_t EXTENDED: New field 'is_de_vs'. + gpgme_signature_t EXTENDED: New field 'is_de_vs'. + gpgme_keyorg_t NEW. + gpgme_op_delete_ext NEW. + gpgme_op_delete_ext_start NEW. + GPGME_DELETE_ALLOW_SECRET NEW. + GPGME_DELETE_FORCE NEW. + gpgme_op_conf_dir NEW. + gpgme_set_ctx_flag EXTENDED: New flag 'auto-key-retrieve'. + cpp: DecryptionResult::isDeVs NEW. + cpp: Signature::isDeVs NEW. + cpp: EngineInfo::Version::operator> NEW. + cpp: Context::createKey NEW. + cpp: Context::startCreateKey NEW. + cpp: Context::createSubkey NEW. + cpp: Context::startCreateSubkey NEW. + qt: QuickJob NEW. + py: DecryptResult EXTENDED: New boolean field 'is_de_vs'. + py: Signature EXTENDED: New boolean field 'is_de_vs'. + py: GpgError EXTENDED: Partial results in 'results'. + +------------------------------------------------------------------- +Tue Nov 7 12:01:11 UTC 2017 - mpluskal@suse.com + +- Make python package naming consistent with python singlespec + +------------------------------------------------------------------- +Tue Mar 28 18:01:47 UTC 2017 - astieger@suse.com + +- gpgme 1.9.0: + * Clarified meaning of the 'expire' parameter of gpgme_op_createkey + and gpgme_op_createsubkey. New flag to force a key without an + expiration date. + * New function gpgme_op_keylist_from_data_start to list keys from + data objects without importing them. + * New function gpgme_op_set_uid_flag to flag a key as primary. + * New function gpgme_op_decrypt_ext to run decryption with special + flags. This can for example be used to unwrap keys (remove only + the encryption layer). + * New encryption flags to wrap a key (adding an encryption layer to + an OpenPGP message) or to create anonymously encrypted messages. + * Support for adduid and revuid operations in the C++ bindings. + * Support for smartcard key generation in the C++ bindings. + * Several new functions for the Python binding. + * Many smaller bug fixes. + * Interface changes relative to the 1.8.0 release: + gpgme_op_createkey CHANGED: Meaning of 'expire' parameter. + gpgme_op_createsubkey CHANGED: Meaning of 'expire' parameter. + GPGME_CREATE_NOEXPIRE NEW. + gpgme_key_t EXTENDED: New field 'origin'. + gpgme_key_t EXTENDED: New field 'last_update'. + gpgme_subkey_t EXTENDED: New field 'is_de_vs'. + gpgme_user_id_t EXTENDED: New field 'origin'. + gpgme_user_id_t EXTENDED: New field 'last_update'. + gpgme_op_keylist_from_data_start NEW. + gpgme_op_set_uid_flag_start NEW. + gpgme_op_set_uid_flag NEW. + gpgme_op_decrypt_ext_start NEW. + gpgme_op_decrypt_ext NEW. + GPGME_ENCRYPT_THROW_KEYIDS NEW. + GPGME_ENCRYPT_WRAP NEW. + GPGME_DECRYPT_VERIFY NEW. + GPGME_DECRYPT_UNWRAP NEW. + gpgme_data_rewind UN-DEPRECATE. + cpp: Context::revUid(const Key&, const char*) NEW. + cpp: Context::startRevUid(const Key&, const char*) NEW. + cpp: Context::addUid(const Key&, const char*) NEW. + cpp: Context::startAddUid(const Key&, const char*) NEW. + cpp: Key::UserID::revoke() NEW. + cpp: Key::addUid() NEW. + cpp: Key::isDeVs NEW. + cpp: GpgGenCardKeyInteractor NEW. + cpp: Subkey::keyGrip NEW. + cpp: Subkey::isDeVs NEW. + cpp: Data::toKeys NEW. + cpp: Context::setDecryptFlags NEW. + cpp: Context::decrypt EXTENDED: Flags added. + cpp: Context::startDecrypt EXTENDED: Flags added. + cpp: Context::decryptAndVerify EXTENDED: Flags added. + cpp: Context::startCombinedDecryptionAndVerification EXTENDED: Flags. + cpp: Context::encryptFlags EXTENDED: New flags. + qt: CryptoConfig::stringValueList() NEW. + py: Context.__init__ EXTENDED: New keyword arg home_dir. + py: Context.home_dir NEW. + py: Context.keylist EXTENDED: New keyword arg mode. + py: Context.keylist EXTENDED: New keyword arg source. + py: Context.create_key NEW. + py: Context.create_subkey NEW. + py: Context.key_add_uid NEW. + py: Context.key_revoke_uid NEW. + py: Context.key_sign NEW. + py: Context.key_tofu_policy NEW. + py: core.pubkey_algo_string NEW. + py: core.addrspec_from_uid NEW. +- drop upstreamed patches: + * gpgme-include_functional.patch + * remove-a-forgotten-instance-of-libsuffix.diff + +------------------------------------------------------------------- +Thu Mar 23 21:54:04 UTC 2017 - lbeltrame@kde.org + +- Re-conditionalize python builds, to allow gpgme to build on + Leap 42.3 (python tests fail with an older gpg, see + gpg issue 3008) +- Enable Qt build also on Leap 42.3 (needed for KDE PIM) + +------------------------------------------------------------------- +Tue Feb 14 09:46:57 UTC 2017 - tchvatal@suse.com + +- Unconditionalize python and python3 builds +- Unconditionalize c++ build + +------------------------------------------------------------------- +Mon Feb 13 18:39:46 UTC 2017 - jengelh@inai.de + +- Fix RPM groups + +------------------------------------------------------------------- +Mon Feb 13 15:47:19 UTC 2017 - tchvatal@suse.com + +- Do not condition around the qt version as it breaks baselibs validator + +------------------------------------------------------------------- +Tue Feb 7 02:48:46 UTC 2017 - crrodriguez@opensuse.org + +- gpgme-include_functional.patch: include where + needed, fix GCC7 build + +------------------------------------------------------------------- +Tue Nov 22 23:19:10 UTC 2016 - lbeltrame@kde.org + +- Add remove-a-forgotten-instance-of-libsuffix.diff: fix CMake + files for gpgmepp (or they won't work with KDE software) + +------------------------------------------------------------------- +Sat Nov 19 21:51:22 UTC 2016 - astieger@suse.com + +- gpgme 1.8: + * The module of the Python bindings has been renamed to 'gpg'. + * New interface to query current software versions. + * New feature to use gpg's --{show,override}session-key options. + * New interface to set the sender of a mail. + * qt: Added Distinguished Name parser from libkleo + * The --homedir option is now used with recent gpgconf versions. + * The internal locking functions have been replaced by libgpg-error + locking functions. + * Interface changes relative to the 1.7.1 release: + gpgme_set_sender NEW. + gpgme_get_sender NEW. + gpgme_op_query_swdb NEW. + gpgme_op_query_swdb_result NEW. + gpgme_query_swdb_result_t NEW. + gpgme_get_ctx_flag NEW. + gpgme_decrypt_result_t EXTENDED: New field session_key. + qt: DN NEW. + qt: DN::Attribute NEW. + qt: Job::context(Job*) NEW. + cpp: EngineInfo::Version::Version(const char*) NEW. + cpp: EngineInfo::Version::Version() NEW. + cpp: SwdbResult NEW. + cpp: Context::setSender(const char*) NEW. + cpp: Context::getSender() NEW. + +------------------------------------------------------------------- +Fri Oct 21 23:27:54 UTC 2016 - astieger@suse.com + +- in addition to dropping gpgme-1.7.0-python-Include-config.h.patch + remove automake depdendency and autogen.sh call +- build QT lib only on Factory + +------------------------------------------------------------------- +Thu Oct 20 06:40:43 UTC 2016 - jengelh@inai.de + +- Trim and update descriptions + +------------------------------------------------------------------- +Tue Oct 18 20:38:59 UTC 2016 - lbeltrame@kde.org + +- New upstream release 1.7.1 + * Fixed problems with the new language bindings. + * New helper function gpgme_addrspec_from_uid. + * Use option --exit-on-status-write-error with newer gpg versions. + * qt: Missed API from the Qt Binding inclusion has + been added again. + * qt: abstractimportjob.h is now installed to that + ImportJobs can be used again. + * qt: Fixed spelling error in API (startReceive). + * Interface changes relative to the 1.7.0 release: + gpgme_addrspec_from_uid NEW. + qt: WksPublishJob::startRecieve RENAMED to ::startReceive. + qt: MultiDeleteJob NEW. + qt: AbstractImportJob NEW. + qt: SpecialJob NEW. + cpp: Signature::key(bool, bool) NEW. + cpp: UserID::addrSpecFromString(const char*) NEW. + cpp: UserID::addrSpec() NEW. +- Drop conflict (handled on kdepimlibs4 side) +- Drop upstreamed patches: + * gpgme-1.7.0-nonvoid-returns.patch + * gpgme-1.7.0-cpp-qt-Include-config.h.patch + * gpgme-1.7.0-python-Include-config.h.patch + +------------------------------------------------------------------- +Wed Oct 12 22:09:27 UTC 2016 - lbeltrame@kde.org + +- Switch on the Qt bindings +- Add missing buildrequires, files, and needed adjustments for the + Qt build + +------------------------------------------------------------------- +Tue Oct 11 18:11:33 UTC 2016 - lbeltrame@kde.org + +- Conflict libgpgmepp-devel with kdepimlibs4-devel as they both + install the same header (kdepimlibs4 for historical reasons) + +------------------------------------------------------------------- +Mon Sep 26 19:55:04 UTC 2016 - astieger@suse.com + + +- gpgme 1.7.0: + * Python2 bindings + * C++ bindings + * disabled: Python3, Qt-Framework API + * New functions gpgme_op_createkey and gpgme_op_createsubkey to make + key creation easier (requires GnuPG 2.1). + * New functions gpgme_op_adduid and gpgme_op_revuid to make user id + management easier (requires GnuPG 2.1). + * New function gpgme_op_keysign to make key signing easier (requires + GnuPG 2.1). + * New function gpgme_op_interact to replace the now deprecated + functions gpgme_op_edit and gpgme_op_card_edit. + * New function gpgme_pubkey_algo_string to convert a public key + algorithm into a GnuPG 2.1 style string. + * Support for GnuPG 2.1's TOFU trust model. + * Notation flags are now correctly set on verify. + * New global flag "require-gnupg" to set a minimal gnupg version. + * More supported items in gpgme_get_dirinfo. + * New function gpgme_data_set_flag and flag "size-hint". + * New function gpgme_set_ctx_flag and flags "full-status" and + "raw-description". + * Improved gpgme_data_identify to distinguish more file types. + * New flag GPGME_ENCRYPT_SYMMETRIC for gpgme_op_encrypt to allow + mixed public key and symmetric encryption. + * New field KEYGRIP in gpgme_subkey_t. New fields FPR in gpgme_key_t. + * New flag GPGME_DATA_ENCODING_MIME to declare that the encrypted or + signed data is a valid MIME part. This is to support future GnuPG + versions. + * Interface changes relative to the 1.6.0 release: + gpgme_pubkey_algo_string NEW. + GPGME_PK_EDDSA NEW. + gpgme_set_ctx_flag NEW. + gpgme_data_set_flag NEW. + gpgme_op_createkey NEW. + gpgme_op_createkey_start NEW. + gpgme_op_createsubkey NEW. + gpgme_op_createsubkey_start NEW. + gpgme_op_adduid_start NEW. + gpgme_op_adduid NEW. + gpgme_op_revuid_start NEW. + gpgme_op_revuid NEW. + gpgme_op_keysign_start NEW. + gpgme_op_keysign NEW. + gpgme_op_tofu_policy_start NEW. + gpgme_op_tofu_policy NEW. + gpgme_op_interact_start NEW. + gpgme_op_interact NEW. + gpgme_interact_cb_t NEW. + gpgme_op_edit_start DEPRECATED. + gpgme_op_edit DEPRECATED. + gpgme_op_card_edit_start DEPRECATED. + gpgme_op_card_edit DEPRECATED. + gpgme_edit_cb_t DEPRECATED. + gpgme_status_code_t DEPRECATED. + gpgme_genkey_result_t EXTENDED: New fields pubkey and seckey. + gpgme_signature_t EXTENDED: New field key. + gpgme_key_t EXTENDED: New field fpr. + gpgme_subkey_t EXTENDED: New field keygrip. + gpgme_user_id_t EXTENDED: New field tofu. + gpgme_tofu_policy_t NEW. + gpgme_tofu_info_t NEW. + GPGME_STATUS_KEY_CONSIDERED NEW. + GPGME_STATUS_TOFU_USER NEW. + GPGME_STATUS_TOFU_STATS NEW. + GPGME_STATUS_TOFU_STATS_LONG NEW. + GPGME_STATUS_NOTATION_FLAGS NEW. + GPGME_KEYLIST_MODE_WITH_TOFU NEW. + GPGME_DATA_TYPE_PGP_ENCRYPTED NEW. + GPGME_DATA_TYPE_PGP_SIGNATURE NEW. + GPGME_DATA_ENCODING_MIME NEW. + GPGME_ENCRYPT_SYMMETRIC NEW. + GPGME_CREATE_SIGN NEW. + GPGME_CREATE_ENCR NEW. + GPGME_CREATE_CERT NEW. + GPGME_CREATE_AUTH NEW. + GPGME_CREATE_NOPASSWD NEW. + GPGME_CREATE_SELFSIGNED NEW. + GPGME_CREATE_NOSTORE NEW. + GPGME_CREATE_WANTPUB NEW. + GPGME_CREATE_WANTSEC NEW. + GPGME_CREATE_FORCE NEW. + GPGME_KEYSIGN_LOCAL NEW. + GPGME_KEYSIGN_LFSEP NEW. + GPGME_INTERACT_CARD NEW. + * Add patches to fix build: + + gpgme-1.7.0-nonvoid-returns.patch + + gpgme-1.7.0-cpp-qt-Include-config.h.patch + + gpgme-1.7.0-python-Include-config.h.patch + +------------------------------------------------------------------- +Fri Sep 11 06:07:58 UTC 2015 - astieger@suse.com + +- restore taking build timestamp from changelog date + +------------------------------------------------------------------- +Wed Aug 26 11:09:03 UTC 2015 - astieger@suse.com + +- gpgme 1.6.0: + * Added gpgme_set_offline to do a key listinging w/o requiring + CRL. + * Added gpgme_set_status_cb to allow a user to see some status + messages. + * Added an export mode for secret keys. + * More precise error codes are returned if GnuPG >= 2.1.8 is used. + * The passphrase handler for the loopback mode has been improved and may + also be used with genkey. + * Interface changes relative to the 1.5.1 release: + gpgme_set_offline NEW. + gpgme_get_offline NEW. + gpgme_set_status_cb NEW. + gpgme_get_status_cb NEW. + GPGME_EXPORT_MODE_SECRET NEW + GPGME_EXPORT_MODE_RAW NEW. + GPGME_EXPORT_MODE_PKCS12 NEW. + +------------------------------------------------------------------- +Fri Jun 19 08:08:55 UTC 2015 - astieger@suse.com + +- fix install-info for clean uninstall [boo#935339] + +------------------------------------------------------------------- +Mon Jun 8 13:39:26 UTC 2015 - astieger@suse.com + +- gpgme 1.5.5: + * Fixed crash in key listings for user ids with a backslash. + * Fixed regression for GPGSM use with GnuPG < 2.1. + * Properly set signature summary for revoked OpenPGP keys. + +------------------------------------------------------------------- +Tue Apr 14 19:47:29 UTC 2015 - astieger@suse.com + +- gpgme 1.5.4: + * Fixed a possible crash in the debug code. + +------------------------------------------------------------------- +Tue Feb 3 16:40:23 UTC 2015 - coolo@suse.com + +- making the build reproducible - see + http://lists.gnupg.org/pipermail/gnupg-commits/2014-September/010683.html + for a very similiar problem + +------------------------------------------------------------------- +Fri Dec 26 21:32:45 UTC 2014 - andreas.stieger@gmx.de + +- gpgme 1.5.3: + * The export key functions do now return an error if used with the + latest GnuPG version. + +------------------------------------------------------------------- +Sat Nov 22 09:35:08 UTC 2014 - andreas.stieger@gmx.de + +- gpgme 1.5.2: + + gpgme-tool is now installed. + + Fix external listing for modern keyservers. + + Minor other fixes. +- disable failing unit tests + +------------------------------------------------------------------- +Sun Aug 3 21:44:43 UTC 2014 - andreas.stieger@gmx.de + +- gpgme 1.5.1 + - Fixed possible overflow in gpgsm and uiserver engines. + [bnc#890123] [CVE-2014-3564] + - Added support for GnuPG 2.1's --with-secret option. + - Interface changes relative to the 1.5.0 release: + GPGME_KEYLIST_MODE_WITH_SECRET NEW. + +------------------------------------------------------------------- +Wed May 21 11:24:56 UTC 2014 - andreas.stieger@gmx.de + +- gpgme 1.5.0 + - On Unices the engine file names are not not anymore hardwired + but located via the envvar PATH. All options to set the name of + the engines for the configure run are removed. + - If GPGME finds the gpgconf binary it defaults to using gpg2 or + whatever gpgconf tells as name for the OpenPGP engine. If + gpgconf is not found, GPGME looks for an engine named "gpg". + - New feature to use the gpgme I/O subsystem to run arbitrary + commands. + - New flag to use encryption without the default compression step. + - New function to access "gpg-conf --list-dirs" + - New configure option --enable-fixed-path for use by Android. + - Support ECC algorithms. + - Interface changes relative to the 1.4.3 release: + gpgme_get_dirinfo NEW. + gpgme_op_spawn_start NEW. + gpgme_op_spawn NEW. + GPGME_PROTOCOL_SPAWN NEW. + GPGME_SPAWN_DETACHED NEW. + GPGME_SPAWN_ALLOW_SET_FG NEW. + GPGME_ENCRYPT_NO_COMPRESS NEW. + GPGME_PK_ECC NEW. + GPGME_MD_SHA224 NEW. + gpgme_subkey_t EXTENDED: New field curve. + GPGME_STATUS_PLAINTEXT_LENGTH NEW. + GPGME_STATUS_MOUNTPOINT NEW. + GPGME_STATUS_PINENTRY_LAUNCHED NEW. + GPGME_STATUS_ATTRIBUTE NEW. + GPGME_STATUS_BEGIN_SIGNING NEW. + GPGME_STATUS_KEY_NOT_CREATED NEW. + +------------------------------------------------------------------- +Tue Aug 13 11:16:00 UTC 2013 - andreas.stieger@gmx.de + +- update to 1.4.3: + * The default engine names are now taken from the output of gpgconf. + If gpgconf is not found the use of gpg 1 is assumed. + * New function gpgme_data_identify to detect the type of a message. + * Interface changes relative to the 1.4.2 release: + gpgme_signers_count NEW. + gpgme_data_type_t NEW. + gpgme_data_identify NEW. +- includes changes from 1.4.2: + * Allow symmetric encryption with gpgme_op_encrypt_sign. + * Interface changes relative to the 1.4.1 release: + gpgme_off_t NEW. + gpgme_size_t NEW. + GPGME_PROTOCOL_OPENPGP NEW alias. +- includes changes from 1.4.1: + * Fixed reading of gpg.conf files with excessive use of the group + option + +------------------------------------------------------------------- +Thu May 23 14:06:31 UTC 2013 - cfarrell@suse.com + +- license update: LGPL-2.1+ and GPL-3.0+ + See the HACKING file in the doc directory + +------------------------------------------------------------------- +Tue Mar 12 18:44:53 UTC 2013 - andreas.stieger@gmx.de + +- gpgme-config --libs lists -lassuan, but libgpgme-devel did not + require libassuan-devel [bnc#808882] + +------------------------------------------------------------------- +Sun Mar 3 15:51:35 UTC 2013 - andreas.stieger@gmx.de + +- update to 1.4.0 + * New function gpgme_io_writen as a convenience wrapper around + gpgme_io_write. + * New functions to support the pinentry mode feature of GnuPG 2.1. + * New macro GPGME_VERSION_NUMBER to allow supporting different API + versions without the need for a configure test. + * Several improvements for gpgme-tool. + * Better logging of the common "invalid engine" error code. + * Support for FD passing is now enabled by default. The configure + option --disable-fd-passing may be used to disable this. + * Interface changes relative to the 1.3.1 release: + GPGME_VERSION_NUMBER NEW. + gpgme_io_writen NEW. + gpgme_set_global_flag NEW. + gpgme_set_pinentry_mode NEW. + gpgme_get_pinentry_mode NEW. + gpgme_pinentry_mode_t NEW. + GPGME_PINENTRY_MODE_DEFAULT NEW. + GPGME_PINENTRY_MODE_ASK NEW. + GPGME_PINENTRY_MODE_CANCEL NEW. + GPGME_PINENTRY_MODE_ERROR NEW. + GPGME_PINENTRY_MODE_LOOPBACK NEW. +- pass --disable-fd-passing, regression tests crash otherwise +- add verification of source tarball signatures during build +- remove conflict marker in past changelog entries +- drop gpgme-1.3.2-gpgme-config-remove-extraneous-libs.patch + other packages in openSUSE:Factory which depend on gpgme also depend + on libassuan +- autogen call no longer required +- call make in %build section + +------------------------------------------------------------------- +Fri Nov 16 22:53:49 UTC 2012 - andreas.stieger@gmx.de + +- update to 1.3.2 + * Remove support for libgpgme-pth. As far as we know, this was never used, + and GnuPG is going to use our own npth in the future. + * Fix signature summary information for a missing X.509 key. + * Fix parsing of dates >= year 2038. +- refresh gpgme-1.3.0-gpgme-config-remove-extraneous-libs.patch + to gpgme-1.3.2-gpgme-config-remove-extraneous-libs.patch +- actual minimum requirement for libgpg-error is >= 1.8 + +------------------------------------------------------------------- +Thu Dec 1 15:56:05 UTC 2011 - coolo@suse.com + +- add automake as buildrequire to avoid implicit dependency + +------------------------------------------------------------------- +Sun Oct 2 15:20:21 UTC 2011 - crrodriguez@opensuse.org + +- Workaround qemu-arm bugs +- remove support for the "pth" library, which has not seen + mainteniance for around 5 years, native pthread support + should be just fine in linux too. + +------------------------------------------------------------------- +Mon Sep 5 12:22:51 UTC 2011 - vuntz@opensuse.org + +- Move gpg2 Requires from gpgme to libgpgme11 since it's the + library that will call the binary when it needs it. + Fix bnc#715963. +- Add libgpgme11 Requires to gpgme as this package makes no sense + without the library. + +------------------------------------------------------------------- +Fri Jul 29 15:31:36 UTC 2011 - puzel@novell.com + +- update to gpgme-1.3.1 + - Detect GPG versions not supporting ---passwd. + - Interface changes relative to the 1.3.0 release: + GPGME_EXPORT_MODE_MINIMAL NEW + GPGME_STATUS_SUCCESS NEW + gpgme_err_code_from_syserror NEW + gpgme_err_set_errno NEW + gpgme_error_from_errno CHANGED: Return gpgme_error_t + gpgme_error_from_syserror NEW +- drop gnupg-2.0.17-test-failure.patch (fixed upstream) + +------------------------------------------------------------------- +Thu Apr 28 06:24:11 UTC 2011 - idoenmez@novell.com + +- Add gnupg-2.0.17-test-failure.patch: fix test failure with gnupg 2.0.17 + +------------------------------------------------------------------- +Fri Feb 4 15:44:26 CET 2011 - sbrabec@suse.cz + +- Removed unneeded dependency of libgpgme11. + +------------------------------------------------------------------- +Mon Jan 31 14:47:20 UTC 2011 - gber@opensuse.org + +- added gpgme-1.3.0-gpgme-config-remove-extraneous-libs.patch in + order to remove the extraneuos libassuan from gpgme-config + +------------------------------------------------------------------- +Tue Dec 14 13:05:39 UTC 2010 - cristian.rodriguez@opensuse.org + +- run spec cleaner +- fix -devel package dependencies + +------------------------------------------------------------------- +Wed Apr 14 20:32:14 UTC 2010 - chris@computersalat.de + +- fix deps + o pth / libpth-devel >= 2.0.7 + +------------------------------------------------------------------- +Mon Apr 5 12:10:39 UTC 2010 - aj@suse.de + +- Add requires of libassuan-devel on devel package. + +------------------------------------------------------------------- +Wed Mar 31 13:22:35 UTC 2010 - puzel@novell.com + +- update to gpgme-1.3 + * GPGME does not come with an internal libassuan version anymore. + The external libassuan 1.1.0 release or later is required. For + application programmers on systems that can resolve inter-library + dependencies at runtime, this is a transparent change. + * New engine GPGME_PROTOCOL_G13 to support the new g13 tool. + * New engine GPGME_PROTOCOL_UISERVER to support UI Servers. + * New API to change the passpgrase of a key. + * Interface changes relative to the 1.2.0 release: + - GPGME_STATUS_INV_SGNR NEW. + - GPGME_STATUS_NO_SGNR NEW. + - GPGME_PROTOCOL_G13 NEW. + - gpgme_op_g13_mount NEW. + - gpgme_g13_result_t NEW. + - GPGME_PK_ECDSA NEW. + - GPGME_PK_ECDH NEW. + - gpgme_op_passwd_start NEW. + - gpgme_op_passwd NEW. +- drop gpgme-1.1.8-makecheck.patch (not needed) + +------------------------------------------------------------------- +Sun Jan 31 23:27:18 UTC 2010 - jengelh@medozas.de + +- package baselibs.conf + +------------------------------------------------------------------- +Tue Jun 23 14:00:38 CEST 2009 - puzel@novell.com + +- update to gpgme-1.2.0 + * New encryption flag GPGME_ENCRYPT_NO_ENCRYPT_TO to disable default + recipients. + * gpgme_new will fail if gpgme_check_version was not called, or a + selftest failed (for example, if -mms-bitfields was not used on + MingW32 targets). + * New functions gpgme_io_read and gpgme_io_write for use with + gpgme_passphrase_cb_t and gpgme_edit_cb_t functions. + * New functions gpgme_result_ref and gpgme_result_unref to detach + result structures from a context. + * New functions gpgme_op_export_keys_start and gpgme_op_export_keys + that allow to specify exported keys through gpgme_key_t objects + instead of patterns. + * New mode of operation gpgme_export_mode_t that allows exporting + external keys. +- drop unneeded BRs: libgcrypt-devel, libksba-devel + +------------------------------------------------------------------- +Thu Jun 11 11:19:57 CEST 2009 - puzel@suse.cz + +- change BuildRequires: (pth-devel -> libpth-devel) + +------------------------------------------------------------------- +Tue Jun 2 23:54:53 CEST 2009 - dmueller@suse.de + +- fix requires of devel package + +------------------------------------------------------------------- +Mon Jun 1 11:25:07 CEST 2009 - puzel@suse.cz + +- BuildRequires: pth-devel + +------------------------------------------------------------------- +Wed Feb 18 11:54:55 CET 2009 - puzel@suse.cz + +- update to 1.1.8 + * SIGPIPE is now again ignored as described in the manual. Fixes + regresion introduced with 1.1.6. + +------------------------------------------------------------------- +Mon Dec 8 12:42:41 CET 2008 - puzel@suse.cz + +- update to 1.1.7 + - using GPGME_KEYLIST_MODE_LOCAL combined with + GPGME_KEYLIST_MODE_EXTERN is now supported + - the encoding of gpgme_data_t objects can affect the output encoding + of export, sign and encrypt operations now + - the reference manual now includes the specification of "The GnuPG + UI Server protocol" + - a new function gpgme_cancel_async can be used to asynchronously + cancel any pending operation at any time, from any thread + +- remove gpgme-1.1.6-from-upstream.patch (fixed upstream) +- remove gpgme-1.1.4-warning.patch (fixed upstream) +- fix obsolete usage of run_ldconfig + +------------------------------------------------------------------- +Thu Apr 10 12:54:45 CEST 2008 - ro@suse.de + +- added baselibs.conf file to build xxbit packages + for multilib support + +------------------------------------------------------------------- +Wed Feb 6 18:46:13 CET 2008 - bk@suse.de + +- update to version 1.1.6: API extensions, eg for gpgconf thru gpgme +- add upstream patches to run the testsuite non-interactively + +------------------------------------------------------------------- +Thu Dec 27 06:59:00 CET 2007 - crrodriguez@suse.de + +- fix library-without-ldconfig-post* errors +- remove "la" files + +------------------------------------------------------------------- +Wed Aug 8 00:24:11 CEST 2007 - ro@suse.de + +- remove devel requires from library package + +------------------------------------------------------------------- +Tue Aug 7 00:30:48 CEST 2007 - mrueckert@suse.de + +- add defattr to the lib package + +------------------------------------------------------------------- +Mon Aug 6 09:15:40 CEST 2007 - zpetrova@suse.cz + +- split gpgme to libgpgme11 and gpgme. + +------------------------------------------------------------------- +Fri Jul 27 14:07:45 CEST 2007 - zpetrova@suse.cz + +- update to version 1.1.5 + - small bug and portability fixes. + +------------------------------------------------------------------- +Wed May 16 15:02:37 CEST 2007 - zpetrova@suse.cz + +- removed gpg from Requires list. (#273491) + +------------------------------------------------------------------- +Mon Mar 12 15:25:02 CET 2007 - zpetrova@suse.cz + +- updated filelist + +------------------------------------------------------------------- +Fri Mar 9 14:44:53 CET 2007 - ltinkl@suse.cz + +- update to latest version (1.1.4), needed for gpa + * Detect and bail out on double plaintext messages. This is required + so that applications can properly detect the signed parts of a + message. Actual there is now a double protection as GnuPG 1.4.7 + will detect this case too. + * Fixed a memory leak in gpgme_data_release_and_get_mem. + * Fixed a bug in Windows command line quoting. + +------------------------------------------------------------------- +Mon Feb 5 00:47:08 CET 2007 - ro@suse.de + +- updated filelist + +------------------------------------------------------------------- +Wed Sep 20 17:40:24 CEST 2006 - anosek@suse.cz + +- fixed compiler warning: variable "key" is used before its value + is set [#159104] (warning.patch) + +------------------------------------------------------------------- +Mon Jul 17 11:57:09 CEST 2006 - nadvornik@suse.cz + +- fixed pthread support in gpgme-config + +------------------------------------------------------------------- +Wed Jun 28 14:53:29 CEST 2006 - zpetrova@suse.cz + +- update to version 1.1.2 + +------------------------------------------------------------------- +Thu Jan 26 15:51:26 CET 2006 - sbrabec@suse.cz + +- Added %install_info_prereq. + +------------------------------------------------------------------- +Wed Jan 25 21:36:19 CET 2006 - mls@suse.de + +- converted neededforbuild to BuildRequires + +------------------------------------------------------------------- +Sat Jan 14 23:15:34 CET 2006 - kukuk@suse.de + +- Create devel subpackage [#140727] + +------------------------------------------------------------------- +Sat Dec 3 14:31:07 CET 2005 - meissner@suse.de + +- require libgpg-error-devel (since we include headers that + include headers from there). + +------------------------------------------------------------------- +Mon Nov 28 16:56:09 CET 2005 - zpetrova@suse.cz + +- Update to version 1.0.3 (#135395). + +------------------------------------------------------------------- +Thu Feb 17 12:49:56 CET 2005 - didge@suse.de + +- update to stable version 1.0.2 +- update of url + +------------------------------------------------------------------- +Mon Jul 12 21:23:40 CEST 2004 - adrian@suse.de + +- update to version 0.9.0 + * support for gpg2 + +------------------------------------------------------------------- +Thu Mar 18 16:04:58 CET 2004 - didge@suse.de + +- fixed bug #36194 + +------------------------------------------------------------------- +Fri Feb 27 15:42:17 CET 2004 - ro@suse.de + +- added libgpg-error to neededforbuild + +------------------------------------------------------------------- +Mon Feb 9 14:46:02 CET 2004 - didge@suse.de + +- version 0.3.16 + +------------------------------------------------------------------- +Sat Jan 10 21:13:41 CET 2004 - adrian@suse.de + +- add %run_ldconfig + +------------------------------------------------------------------- +Tue Sep 2 13:09:08 CEST 2003 - mc@suse.de + +- add newpg, libgcrypt and libksba to neededforbuild again + it is needed to support kmail with cryptplug + fixed #29620, #29641 and #29642 + +------------------------------------------------------------------- +Mon Aug 11 14:48:50 CEST 2003 - adrian@suse.de + +- cleanup #neededforbuild and requires + +------------------------------------------------------------------- +Tue Aug 5 09:28:55 CEST 2003 - adrian@suse.de + +- fix libtool handling to get shared libraries + +------------------------------------------------------------------- +Thu May 22 11:57:18 CEST 2003 - coolo@suse.de + +- fixing info pages + +------------------------------------------------------------------- +Wed Apr 16 17:01:55 CEST 2003 - coolo@suse.de + +- use BuildRoot + +------------------------------------------------------------------- +Fri Feb 21 17:37:55 CET 2003 - mc@suse.de + +- fixed -fPIC and lib64 Problems + +------------------------------------------------------------------- +Thu Feb 20 18:47:34 CET 2003 - mc@suse.de + +- update to version 0.3.15 + +------------------------------------------------------------------- +Thu Jan 30 16:03:29 CET 2003 - didge@suse.de + +- Version 0.3.14 + +------------------------------------------------------------------- +Mon Oct 21 14:14:35 MEST 2002 - didge@suse.de + +- Version 0.3.12 + +------------------------------------------------------------------- +Wed Sep 25 18:34:40 CEST 2002 - ro@suse.de + +- removed bogus self-provides again + +------------------------------------------------------------------- +Wed Sep 25 17:18:02 MEST 2002 - didge@suse.de + +- Version 0.3.11 + +------------------------------------------------------------------- +Tue Sep 10 11:35:16 MEST 2002 - didge@suse.de + +- Version 0.3.10 + +------------------------------------------------------------------- +Wed Jul 31 16:48:44 MEST 2002 - didge@suse.de + +- Version 0.3.8 + +------------------------------------------------------------------- +Fri Jun 21 11:41:56 MEST 2002 - didge@suse.de + +- New Version 0.3.7 + +------------------------------------------------------------------- +Fri May 10 11:29:30 CEST 2002 - didge@suse.de + +- New Version 0.3.6 + +------------------------------------------------------------------- +Tue May 7 12:53:46 CEST 2002 - ro@suse.de + +- fixed specfile: no macro allowed in Version: line + +------------------------------------------------------------------- +Fri Mar 8 15:53:45 CET 2002 - didge@suse.de + +- New Version 0.3.4 + +------------------------------------------------------------------- +Thu Feb 14 13:15:49 CET 2002 - didge@suse.de + +- New Version 0.3.3 + +------------------------------------------------------------------- +Fri Jan 4 12:42:26 CET 2002 - didge@suse.de + +- New Version 0.3.0 + +------------------------------------------------------------------- +Wed Oct 31 14:51:31 CET 2001 - didge@suse.de + +- Fixed patch + +------------------------------------------------------------------- +Mon Oct 29 15:42:49 CET 2001 - didge@suse.de + +- Needs a patch to build on other platforms than i386 + +------------------------------------------------------------------- +Tue Oct 9 14:07:12 CEST 2001 - didge@suse.de + +- Version 0.2.3 +- needs a patch to build because something is broken?! + +------------------------------------------------------------------- +Thu Sep 13 11:34:28 MEST 2001 - didge@suse.de + +- Fix a bug to build under AXP + +------------------------------------------------------------------- +Wed Aug 22 14:10:15 MEST 2001 - didge@suse.de + +- First build, Verison 0.2.2 + diff --git a/gpgme.keyring b/gpgme.keyring new file mode 100644 index 0000000..dd3bb0b --- /dev/null +++ b/gpgme.keyring @@ -0,0 +1,86 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +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 +eiInsGZ/+h5XYrpXTgA= +=4+Sn +-----END PGP PUBLIC KEY BLOCK----- diff --git a/gpgme.spec b/gpgme.spec new file mode 100644 index 0000000..74258d2 --- /dev/null +++ b/gpgme.spec @@ -0,0 +1,409 @@ +# +# spec file for package gpgme +# +# Copyright (c) 2024 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +%define psuffix %{nil} +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "" +%define psuffix %{nil} +%bcond_without python3 +%bcond_with qt +%endif +%if "%{flavor}" == "qt" +%define psuffix qt +%bcond_with python3 +%bcond_without qt +%endif +%if "%{flavor}" == "qt6" +%define psuffix qt6 +%bcond_with python3 +%bcond_without qt6 +%endif + +%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 + +Name: gpgme%{psuffix} +Version: 1.24.0 +Release: 0 +Summary: Programmatic library interface to GnuPG +License: GPL-3.0-or-later AND LGPL-2.1-or-later +Group: Productivity/Security +URL: https://www.gnupg.org/related_software/gpgme/ +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 +Source2: baselibs.conf +# https://www.gnupg.org/signature_key.html +Source3: https://gnupg.org/signature_key.asc#/gpgme.keyring +# used to have a fixed timestamp +Source99: gpgme.changes +# PATCH-FIX-OPENSUSE gpgme-suse-nobetasuffix.patch code@bnavigator.de -- remove "-unknown" betasuffix boo#1205197 +Patch2: gpgme-suse-nobetasuffix.patch +Patch3: python313.patch +Patch4: gpgme-fix-python-install.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: gpg2 >= 2.4.1 +BuildRequires: libassuan-devel >= 2.4.2 +BuildRequires: libgpg-error-devel >= 1.47 +BuildRequires: pkgconfig +BuildRequires: swig +%if %{with python3} +BuildRequires: %{python_module devel} +BuildRequires: python-rpm-macros +%if %{with replace_distutils} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 62.4} +BuildRequires: %{python_module wheel} +%endif +%endif +%if %{with qt} +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Test) +%endif +%if %{with qt6} +%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 +BuildRequires: pkgconfig(Qt6Core) >= 6.4.0 +BuildRequires: pkgconfig(Qt6Test) +%endif +%if 0%{?suse_version} >= 1550 +# TW: generate subpackages for every python3 flavor +%define python_subpackage_only 1 +%python_subpackages +%else +%define python_sitearch %python3_sitearch +%define python_version %python3_version +%define python_files() -n python3-%{**} +%endif + +%description +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. It uses GnuPG as its back-end. + +%package -n libgpgme11 +Summary: Programmatic library interface to GnuPG +Group: System/Libraries +Requires: gpg2 + +%description -n libgpgme11 +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. It uses GnuPG as its back-end. + +%package -n libgpgme-devel +Summary: Development files for GPGME, a C library for accessing GnuPG +Group: Development/Libraries/C and C++ +Requires: glibc-devel +Requires: libgpg-error-devel +Requires: libgpgme11 = %{version} +%requires_ge libassuan-devel +Provides: gpgme-devel = %{version} +Obsoletes: gpgme-devel < %{version} + +%description -n libgpgme-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 subpackage contains the headers needed for building applications +making use of libgpgme. + +%package -n libgpgmepp6 +Summary: Programmatic C++ library interface to GnuPG +Group: System/Libraries +Requires: gpg2 + +%description -n libgpgmepp6 +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 C++ bindings. + +%package -n libgpgmepp-devel +Summary: Development files for libgpgmepp, a C++ library for accessing GnuPG +Group: Development/Libraries/C and C++ +Requires: glibc-devel +Requires: libgpg-error-devel +Requires: libgpgme-devel = %{version} +Requires: libgpgmepp6 = %{version} +# This avoids requiring CMake at build time for the default flavor +Provides: cmake(Gpgmepp) = %{version} +%requires_ge libassuan-devel + +%description -n libgpgmepp-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 subpackage contains the headers needed for building applications +making use of libgpgmepp. + +%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 + +%package -n python3-gpg +Summary: Python 3 bindings for GPGME, a library for accessing GnuPG +Group: Development/Languages/Python + +%description -n python3-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 3 applications. +%endif + +%package -n libqgpgme15 +Summary: Programmatic Qt 5 library interface to GnuPG +Group: System/Libraries +Requires: gpg2 + +%description -n libqgpgme15 +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 5 bindings. + +%package -n libqgpgme-devel +Summary: Development files for libqgpgme, a Qt 5 library for accessing GnuPG +Group: Development/Libraries/C and C++ +Requires: libgpgme-devel = %{version} +Requires: libgpgmepp-devel = %{version} +Requires: libqgpgme15 = %{version} + +%description -n libqgpgme-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 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. + +%prep +%autosetup -N -n gpgme-%{version} +%if %{with replace_distutils} +%patch -p1 -P2 -P3 +%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 -m4 +%endif + +%build +./autogen.sh +build_timestamp=$(date -u +%{Y}-%{m}-%{dT}%{H}:%{M}+0000 -r %{SOURCE99}) +languages="cl cpp" + +%if %{with python3} +languages="${languages} python" +%endif + +%if %{with qt} +languages="cpp qt" +%endif + +%if %{with qt6} +languages="cpp qt6" +%if 0%{?suse_version} < 1550 +# Qt6 needs full c++-17 support +export CXX=g++-12 CC=gcc-12 CPP=cpp-12 +%endif +%endif + +%define _configure ../configure +mkdir build +pushd build +%configure \ + --disable-silent-rules \ + --disable-static \ + --disable-fd-passing \ + --enable-languages="${languages}" \ + --enable-build-timestamp="${build_timestamp}" +%make_build +popd + +%install +pushd build +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +chmod -x %{buildroot}%{_libdir}/cmake/Gpgmepp/*.cmake + +%if %{with qt} || %{with qt6} +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* +rm -r %{buildroot}%{_mandir}/man1/gpgme-json.* +%endif +popd + +%check +GPGME_DEBUG=2:mygpgme.log %make_build check skip=%{?qt_skip:%{qt_skip}} || cat $(find -name mygpgme.log -type f) + +%if %{with qt} +%ldconfig_scriptlets -n libqgpgme15 +%endif + +%if %{with qt6} +%ldconfig_scriptlets -n libqgpgmeqt6-15 +%endif + +%if %{without qt} && %{without qt6} +%ldconfig_scriptlets -n libgpgme11 +%ldconfig_scriptlets -n libgpgmepp6 +%endif + +%if %{without qt} && %{without qt6} +%files +%license COPYING COPYING.LESSER LICENSES +%doc AUTHORS ChangeLog ChangeLog-2011 README NEWS THANKS TODO VERSION +%{_bindir}/gpgme-tool +%{_bindir}/gpgme-json +%{_datadir}/common-lisp +%{_datadir}/common-lisp/source +%{_infodir}/gpgme* +%{_mandir}/man1/gpgme-json.* + +%files -n libgpgme11 +%license COPYING COPYING.LESSER LICENSES +%{_libdir}/libgpgme.so.* + +%files -n libgpgme-devel +%license COPYING COPYING.LESSER LICENSES +%{_libdir}/libgpgme.so +%{_bindir}/gpgme-config +%{_datadir}/aclocal/gpgme.m4 +%{_includedir}/gpgme.h +%{_libdir}/pkgconfig/gpgme.pc +%{_libdir}/pkgconfig/gpgme-glib.pc + +%files -n libgpgmepp6 +%license COPYING COPYING.LESSER LICENSES +%{_libdir}/libgpgmepp.so.* + +%files -n libgpgmepp-devel +%license COPYING COPYING.LESSER LICENSES +%{_libdir}/libgpgmepp.so +%{_includedir}/gpgme++ +%dir %{_libdir}/cmake +%dir %{_libdir}/cmake/Gpgmepp +%{_libdir}/cmake/Gpgmepp/GpgmeppConfig*.cmake +%{_libdir}/pkgconfig/gpgmepp.pc +%endif + +%if %{with python3} +%files %{python_files gpg} +%license COPYING COPYING.LESSER LICENSES +%{python_sitearch}/gpg +%{python_sitearch}/gpg-%{version}*.egg-info +%endif + +%if %{with qt} +%files -n libqgpgme15 +%license COPYING COPYING.LESSER LICENSES +%{_libdir}/libqgpgme.so.* + +%files -n libqgpgme-devel +%license COPYING COPYING.LESSER LICENSES +%{_includedir}/qgpgme-qt5/ +%dir %{_libdir}/cmake +%dir %{_libdir}/cmake/QGpgme +%{_libdir}/cmake/QGpgme/*.cmake +%{_libdir}/libqgpgme.so +%endif + +%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-qt6/ +%dir %{_libdir}/cmake +%dir %{_libdir}/cmake/QGpgmeQt6 +%{_libdir}/cmake/QGpgmeQt6/*.cmake +%{_libdir}/libqgpgmeqt6.so +%endif + +%changelog diff --git a/python313.patch b/python313.patch new file mode 100644 index 0000000..fc2c09c --- /dev/null +++ b/python313.patch @@ -0,0 +1,38 @@ +Index: gpgme-1.24.0/configure.ac +=================================================================== +--- gpgme-1.24.0.orig/configure.ac ++++ gpgme-1.24.0/configure.ac +@@ -614,7 +614,7 @@ if test "$found_py" = "1"; then + if test "$found_py" = "1" -o "$found_py3" = "1"; then + # Reset everything, so that we can look for another Python. + m4_foreach([mym4pythonver], +- [[2.7],[3.6],[3.8],[3.9],[3.10],[3.11],[3.12],[all]], ++ [[2.7],[3.6],[3.8],[3.9],[3.10],[3.11],[3.12],[3.13],[all]], + [unset PYTHON + unset PYTHON_VERSION + unset PYTHON_CPPFLAGS +Index: gpgme-1.24.0/lang/python/setup.py.in +=================================================================== +--- gpgme-1.24.0.orig/lang/python/setup.py.in ++++ gpgme-1.24.0/lang/python/setup.py.in +@@ -291,6 +291,7 @@ GPGME and these bindings is available he + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3.12', ++ 'Programming Language :: Python :: 3.13', + 'Operating System :: POSIX', + 'Operating System :: Microsoft :: Windows', + 'Topic :: Communications :: Email', +Index: gpgme-1.24.0/m4/python.m4 +=================================================================== +--- gpgme-1.24.0.orig/m4/python.m4 ++++ gpgme-1.24.0/m4/python.m4 +@@ -41,7 +41,7 @@ AC_DEFUN([AM_PATH_PYTHON], + m4_define_default([_AM_PYTHON_INTERPRETER_LIST], + [python2 python2.7 dnl + python dnl +- python3 python3.12 python3.11 python3.10 python3.9 python3.8 python3.6 ++ python3 python3.13 python3.12 python3.11 python3.10 python3.9 python3.8 python3.6 + ]) + + AC_ARG_VAR([PYTHON], [the Python interpreter])