From 6eb4cd78d47ded7791a239bac7c4813acaefbdce0a02e2c170382d50f24269cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 13:15:49 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main gpgme revision de91ba5aad7c192843f898e631a3433e --- .gitattributes | 23 + _multibuild | 4 + baselibs.conf | 3 + gpgme-1.23.0.tar.bz2 | 3 + gpgme-1.23.0.tar.bz2.sig | Bin 0 -> 119 bytes gpgme-D545-python310.patch | 294 +++++++ gpgme-suse-nobetasuffix.patch | 14 + gpgme.changes | 1423 +++++++++++++++++++++++++++++++++ gpgme.keyring | 86 ++ gpgme.spec | 378 +++++++++ 10 files changed, 2228 insertions(+) create mode 100644 .gitattributes create mode 100644 _multibuild create mode 100644 baselibs.conf create mode 100644 gpgme-1.23.0.tar.bz2 create mode 100644 gpgme-1.23.0.tar.bz2.sig create mode 100644 gpgme-D545-python310.patch create mode 100644 gpgme-suse-nobetasuffix.patch create mode 100644 gpgme.changes create mode 100644 gpgme.keyring create mode 100644 gpgme.spec 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/_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.0.tar.bz2 b/gpgme-1.23.0.tar.bz2 new file mode 100644 index 0000000..6918ba4 --- /dev/null +++ b/gpgme-1.23.0.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:043e2efe18b4ad22b96d434dde763fbed32cf8d6c220dc69df0d0ffb9dc66fc6 +size 1717618 diff --git a/gpgme-1.23.0.tar.bz2.sig b/gpgme-1.23.0.tar.bz2.sig new file mode 100644 index 0000000000000000000000000000000000000000000000000000000000000000..4c1bb329f33ebcb5cfbb8192d4d22c8e8443be6782ae468cd3ca78e406c57777 GIT binary patch literal 119 zcmeAuWnmEGV2~A4WXWBXm$E!p!y#PSlPRcU`VKV*t6Qv0sTOw<7`QkEU?Mdk41Wb> zZ~X{cYM!<@H*({<;H5bNUNhf4TVmySIU&z(mq1e*!#}GO)`ZP@!8a1RG!1M2KM|O6 U+3EASkM6%*iY^;G`H{~701DwT)Bpeg literal 0 HcmV?d00001 diff --git a/gpgme-D545-python310.patch b/gpgme-D545-python310.patch new file mode 100644 index 0000000..af0f50c --- /dev/null +++ b/gpgme-D545-python310.patch @@ -0,0 +1,294 @@ +From 4b1395de56816eb982f5811ae8736b6aeb2fc46e Mon Sep 17 00:00:00 2001 +From: Ben Greiner +Date: Sat, 18 Dec 2021 14:10:54 +0100 +Subject: [PATCH gpgme 1/2] build: Support Python 3.10 version detection + without distutils + +* m4/ax_python_devel.m4: update to serial 23, remove distutils usage + +-- +This version removes the usage of Python distutils where possible. +Python 3.10 deprecated distutils and prints warnings that it will +be removed in Python 3.12 + +Keep GPGME overrides for finding multiple versions +--- + m4/ax_python_devel.m4 | 123 ++++++++++++++++++++++++++++-------------- + 1 file changed, 84 insertions(+), 39 deletions(-) + +diff --git a/m4/ax_python_devel.m4 b/m4/ax_python_devel.m4 +index 55f0cfff..f4d20b33 100644 +--- a/m4/ax_python_devel.m4 ++++ b/m4/ax_python_devel.m4 +@@ -1,5 +1,5 @@ + # =========================================================================== +-# https://www.gnu.org/software/autoconf-archive/ax_python_devel.html ++# https://www.gnu.org/software/autoconf-archive/ax_python_devel.html + # =========================================================================== + # + # SYNOPSIS +@@ -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 +@@ -67,7 +67,7 @@ + # 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 23 + + AU_ALIAS([AC_PYTHON_DEVEL], [AX_PYTHON_DEVEL]) + AC_DEFUN([AX_PYTHON_DEVEL],[ +@@ -99,7 +99,7 @@ AC_DEFUN([AX_PYTHON_DEVEL],[ + 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. +@@ -135,16 +135,25 @@ variable to configure. See ``configure --help'' for reference. + # + # 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 ++ 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]) ++ 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_ERROR([cannot import Python module "distutils". + Please check your Python installation. The error was: +-$ac_distutils_result]) +- PYTHON_VERSION="" ++$ac_sysconfig_result]) ++ PYTHON_VERSION="" ++ fi + fi + + # +@@ -152,10 +161,19 @@ $ac_distutils_result]) + # + 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 "$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" +@@ -172,14 +190,14 @@ $ac_distutils_result]) + # Check for Python library path + # + AC_MSG_CHECKING([for Python library path]) +- if test -z "$PYTHON_LDFLAGS"; then ++ if test -z "$PYTHON_LIBS"; then + # (makes two attempts to ensure we've got a version number + # from the interpreter) + ac_python_version=`cat</dev/null))) + else + ingit=no +- beta=yes +- tmp="-unknown" ++ tmp="" + rev="0000000" + rvd="0" + fi diff --git a/gpgme.changes b/gpgme.changes new file mode 100644 index 0000000..407a583 --- /dev/null +++ b/gpgme.changes @@ -0,0 +1,1423 @@ +------------------------------------------------------------------- +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----- + +mQGNBFjLuq4BDACnM7zNSIaVMAacTwjXa5TGYe13i6ilHe4VL0NShzrgzjcQg531 +3cRgiiiNA7OSOypMqVs73Jez6ZUctn2GVsHBrS/io9NcuC9pVwf8a61WlcEa+EtB +a3G7HlBmEWnwaUdAtWKNuAi9Xn+Ir7H2xEdksmmd5a0/QnL+sX705boVPF/tpYtb +L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S7I7288NGHCa2ul8sD6vA9C4mM +4Zxaole9P9wwJe1zZFtCIy88zHM9vqv+YM9DxMCaW24+rUztr7eD4bCRdG+QlSh+ +7R/TaqSxY1eAAd1J5tma9CNJO73pTKU+/JhTBGFpSqMTCSskAwMCCAEBBwIDBF6X +D9NmUQDgiyYNbhs1DMJ14mIw812wY1HVx/4QWYWiBunhrvSFxVbzsjD7/Wv+v3bm +MPrL+M2DLyFiSewNmcS0JEdudVBHLmNvbSAoUmVsZWFzZSBTaWduaW5nIEtleSAy +MDIxKYiaBBMTCABCFiEEAvON/3Mf+XywOaHaVJ5pXpBboggFAmFpSqMCGwMFCQ9x +14oFCwkIBwIDIgIBBhUKCQgLAgQWAgMBAh4HAheAAAoJEFSeaV6QW6IITkoA/RYa +jaTl1eEBU/Gdm12o3jrI55N5xZK2XTqSx25clVyjAP0XwMW/Og5+ND1ri3bAqADV +WlBDUswz8wYxsb0C4kYBkoh1BBAWCgAdFiEEbapuZKdtKEBXG0kCUoiXuCZAOtoF +AmFpTvEACgkQUoiXuCZAOtrJQAEAh7YyykjAy/Qs1yC3ji8iBfIVnPXvblrIx3SR +RyDwRC8BAKtZbEuKTtPlgkLUgMleTcZJ/vEhJE+GvfQ9o5gWCqEFiHUEEBYKAB0W +IQTB00tpIZ5K7sC6HCHj/f8hjkW3KwUCYWlPWgAKCRDj/f8hjkW3Kx4eAQDp6aGS +N/fU4xLl8RSvQUVjVA+aCTrMQR3hRwqw8liF2wEA3O3ECxz6e1+DoItYoJBBLKLw +eiInsGZ/+h5XYrpXTgA= +=4+Sn +-----END PGP PUBLIC KEY BLOCK----- diff --git a/gpgme.spec b/gpgme.spec new file mode 100644 index 0000000..be6ecf8 --- /dev/null +++ b/gpgme.spec @@ -0,0 +1,378 @@ +# +# spec file +# +# Copyright (c) 2023 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/ +# + + +%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 +Name: gpgme%{psuffix} +Version: 1.23.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-UPSTREAM support python 3.10 -- https://dev.gnupg.org/D545 +Patch1: gpgme-D545-python310.patch +# PATCH-FIX-OPENSUSE gpgme-suse-nobetasuffix.patch code@bnavigator.de -- remove "-unknown" betasuffix boo#1205197 +Patch2: gpgme-suse-nobetasuffix.patch +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc-c++ +BuildRequires: gpg2 >= 2.0.10 +BuildRequires: libassuan-devel >= 2.4.2 +BuildRequires: libgpg-error-devel >= 1.36 +BuildRequires: pkgconfig +BuildRequires: swig +%if %{with python3} +BuildRequires: %{python_module devel} +BuildRequires: python-rpm-macros +%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} +%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 -p1 -n gpgme-%{version} + +%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 + +%configure \ + --disable-silent-rules \ + --disable-static \ + --disable-fd-passing \ + --enable-languages="${languages}" \ + --enable-build-timestamp="${build_timestamp}" +%make_build + +%install +%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* +%endif + +%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* + +%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 +%endif + +%if %{with python3} +%files %{python_files gpg} +%license COPYING COPYING.LESSER LICENSES +%{python_sitearch}/gpg +%{python_sitearch}/gpg-%{version}-py%{python_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/ +%{_includedir}/QGpgME/ +%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/ +%{_includedir}/QGpgME/ +%dir %{_libdir}/cmake +%dir %{_libdir}/cmake/QGpgmeQt6 +%{_libdir}/cmake/QGpgmeQt6/*.cmake +%{_libdir}/libqgpgmeqt6.so +%endif + +%changelog