commit 73e0a1d9dfa61a24474a5eb7feb6a4a5ad4f5073 Author: MSVSphere Packaging Team Date: Fri Oct 25 15:02:54 2024 +0300 import gpgme-1.23.2-5.el10 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e3011ca --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +SOURCES/gpgme-1.23.2.tar.bz2 +SOURCES/gpgme-1.23.2.tar.bz2.sig diff --git a/.gpgme.metadata b/.gpgme.metadata new file mode 100644 index 0000000..39feaf7 --- /dev/null +++ b/.gpgme.metadata @@ -0,0 +1,2 @@ +b3a938939a9fb2182684aa9ba094c8e8ecd6167b SOURCES/gpgme-1.23.2.tar.bz2 +bab786f29527fddab32dc4afe57c726c7437d45d SOURCES/gpgme-1.23.2.tar.bz2.sig diff --git a/SOURCES/0001-don-t-add-extra-libraries-for-linking.patch b/SOURCES/0001-don-t-add-extra-libraries-for-linking.patch new file mode 100644 index 0000000..39298db --- /dev/null +++ b/SOURCES/0001-don-t-add-extra-libraries-for-linking.patch @@ -0,0 +1,47 @@ +From 07a8ac908cbadb22c344895ebf9cc00c6a8fd3f7 Mon Sep 17 00:00:00 2001 +From: Igor Gnatenko +Date: Wed, 29 Mar 2017 07:05:41 +0200 +Subject: [PATCH] don't add extra libraries for linking + +Signed-off-by: Igor Gnatenko +--- + lang/cpp/src/GpgmeppConfig.cmake.in.in | 2 +- + src/gpgme-config.in | 6 +++--- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/lang/cpp/src/GpgmeppConfig.cmake.in.in b/lang/cpp/src/GpgmeppConfig.cmake.in.in +index 73f5eaad..3104d715 100644 +--- a/lang/cpp/src/GpgmeppConfig.cmake.in.in ++++ b/lang/cpp/src/GpgmeppConfig.cmake.in.in +@@ -63,7 +63,7 @@ add_library(Gpgmepp SHARED IMPORTED) + + set_target_properties(Gpgmepp PROPERTIES + INTERFACE_INCLUDE_DIRECTORIES "@resolved_includedir@/gpgme++;@resolved_includedir@" +- INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme@libsuffix@;@LIBASSUAN_LIBS@" ++ INTERFACE_LINK_LIBRARIES "pthread;@resolved_libdir@/libgpgme@libsuffix@" + IMPORTED_LOCATION "@resolved_libdir@/libgpgmepp@libsuffix@" + ) + +diff --git a/src/gpgme-config.in b/src/gpgme-config.in +index a4d152e1..6a854e4a 100644 +--- a/src/gpgme-config.in ++++ b/src/gpgme-config.in +@@ -22,12 +22,12 @@ cflags="-I@includedir@" + libs="-L@libdir@" + + # Network libraries. +-assuan_cflags="@LIBASSUAN_CFLAGS@" +-assuan_libs="@LIBASSUAN_LIBS@" ++#assuan_cflags="@LIBASSUAN_CFLAGS@" ++#assuan_libs="@LIBASSUAN_LIBS@" + + # Configure libgpg-error. + gpg_error_cflags="@GPG_ERROR_CFLAGS@" +-gpg_error_libs="@GPG_ERROR_LIBS@" ++#gpg_error_libs="@GPG_ERROR_LIBS@" + + # Configure thread packages. + thread_modules="" +-- +2.15.1 + diff --git a/SOURCES/0001-fix-stupid-ax_python_devel.patch b/SOURCES/0001-fix-stupid-ax_python_devel.patch new file mode 100644 index 0000000..c4f87c5 --- /dev/null +++ b/SOURCES/0001-fix-stupid-ax_python_devel.patch @@ -0,0 +1,112 @@ +From b0eabea4b1232ee7f45d13b8add928d463f37444 Mon Sep 17 00:00:00 2001 +From: Igor Gnatenko +Date: Wed, 29 Mar 2017 07:13:35 +0200 +Subject: [PATCH] fix stupid ax_python_devel + +References: https://git.savannah.gnu.org/gitweb/?p=autoconf-archive.git;a=commit;h=883a2abd5af5c96be894d5ef7ee6e9a2b8e64307 +Signed-off-by: Igor Gnatenko +--- + m4/ax_python_devel.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) +diff -up gpgme-1.22.0/configure.stupid gpgme-1.22.0/configure +--- gpgme-1.22.0/configure.stupid 2023-08-21 09:46:33.000000000 +0200 ++++ gpgme-1.22.0/configure 2023-10-10 12:31:08.317796779 +0200 +@@ -23374,7 +23374,7 @@ variable to configure. See \`\`configure + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 + printf %s "checking for the distutils Python package... " >&6; } + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + else +@@ -24146,7 +24146,7 @@ variable to configure. See \`\`configure + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 + printf %s "checking for the distutils Python package... " >&6; } + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + else +@@ -24918,7 +24918,7 @@ variable to configure. See \`\`configure + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 + printf %s "checking for the distutils Python package... " >&6; } + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + else +@@ -25690,7 +25690,7 @@ variable to configure. See \`\`configure + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 + printf %s "checking for the distutils Python package... " >&6; } + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + else +@@ -26462,7 +26462,7 @@ variable to configure. See \`\`configure + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 + printf %s "checking for the distutils Python package... " >&6; } + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + else +@@ -27234,7 +27234,7 @@ variable to configure. See \`\`configure + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 + printf %s "checking for the distutils Python package... " >&6; } + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + else +@@ -28006,7 +28006,7 @@ variable to configure. See \`\`configure + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 + printf %s "checking for the distutils Python package... " >&6; } + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + else +@@ -28778,7 +28778,7 @@ variable to configure. See \`\`configure + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 + printf %s "checking for the distutils Python package... " >&6; } + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + else +@@ -29550,7 +29550,7 @@ variable to configure. See \`\`configure + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 + printf %s "checking for the distutils Python package... " >&6; } + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + else +@@ -30322,7 +30322,7 @@ variable to configure. See \`\`configure + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 + printf %s "checking for the distutils Python package... " >&6; } + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + else +@@ -31094,7 +31094,7 @@ variable to configure. See \`\`configure + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the distutils Python package" >&5 + printf %s "checking for the distutils Python package... " >&6; } + ac_distutils_result=`$PYTHON -c "import distutils" 2>&1` +- if test -z "$ac_distutils_result"; then ++ if test $? -eq 0; then + { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5 + printf "%s\n" "yes" >&6; } + else diff --git a/SOURCES/0002-setup_py_extra_opts.patch b/SOURCES/0002-setup_py_extra_opts.patch new file mode 100644 index 0000000..dbcd4a7 --- /dev/null +++ b/SOURCES/0002-setup_py_extra_opts.patch @@ -0,0 +1,12 @@ +diff --git a/lang/python/Makefile.in b/lang/python/Makefile.in +index c0fc091..d567ecb 100644 +--- a/lang/python/Makefile.in ++++ b/lang/python/Makefile.in +@@ -802,6 +802,7 @@ install-exec-local: + --build-base="$$(basename "$${PYTHON}")-gpg" \ + install \ + --prefix "$(DESTDIR)$(prefix)" \ ++ $${SETUP_PY_EXTRA_OPTS:-} \ + --verbose ; \ + done + diff --git a/SOURCES/1001-qt-skip-test-remarks-for-gnupg2-2.4.patch b/SOURCES/1001-qt-skip-test-remarks-for-gnupg2-2.4.patch new file mode 100644 index 0000000..5588205 --- /dev/null +++ b/SOURCES/1001-qt-skip-test-remarks-for-gnupg2-2.4.patch @@ -0,0 +1,58 @@ +diff --git a/lang/qt/tests/t-remarks.cpp b/lang/qt/tests/t-remarks.cpp +index f9a901a..4b2f2ab 100644 +--- a/lang/qt/tests/t-remarks.cpp ++++ b/lang/qt/tests/t-remarks.cpp +@@ -47,6 +47,12 @@ + + #include "t-support.h" + ++#define SKIP_ON_2_4() do { \ ++ if (GpgME::engineInfo(GpgME::GpgEngine).engineVersion() >= "2.4.0") { \ ++ QSKIP("The test does not work well with gnupg 2.4+."); \ ++ } \ ++} while (false) ++ + using namespace QGpgME; + using namespace GpgME; + +@@ -105,6 +111,7 @@ private Q_SLOTS: + + void testRemarkReplaceSingleUIDExportable() + { ++ SKIP_ON_2_4(); + if (!loopbackSupported()) { + return; + } +@@ -187,6 +194,7 @@ private Q_SLOTS: + + void testMultipleRemarks() + { ++ SKIP_ON_2_4(); + if (!loopbackSupported()) { + return; + } +@@ -269,6 +277,7 @@ private Q_SLOTS: + + void testRemarkReplaceSingleUID() + { ++ SKIP_ON_2_4(); + if (!loopbackSupported()) { + return; + } +@@ -350,6 +359,7 @@ private Q_SLOTS: + + void testRemarkReplaceMultiUID() + { ++ SKIP_ON_2_4(); + if (!loopbackSupported()) { + return; + } +@@ -466,6 +476,8 @@ private: + QTemporaryDir mDir; + }; + ++#undef SKIP_ON_2_4 ++ + QTEST_MAIN(TestRemarks) + + #include "t-remarks.moc" diff --git a/SOURCES/gpgme-1.23.2-sast_fix1.patch b/SOURCES/gpgme-1.23.2-sast_fix1.patch new file mode 100644 index 0000000..d38ddcd --- /dev/null +++ b/SOURCES/gpgme-1.23.2-sast_fix1.patch @@ -0,0 +1,67 @@ +diff --git a/src/gpgme-tool.c b/src/gpgme-tool.c +index 0aa24510..c276202e 100644 +--- a/src/gpgme-tool.c ++++ b/src/gpgme-tool.c +@@ -1440,7 +1440,7 @@ gt_set_keylist_mode (gpgme_tool_t gt, gpgme_keylist_mode_t keylist_mode) + gpg_error_t + gt_get_keylist_mode (gpgme_tool_t gt) + { +-#define NR_KEYLIST_MODES 6 ++#define NR_KEYLIST_MODES 11 + const char *modes[NR_KEYLIST_MODES + 1]; + int idx = 0; + gpgme_keylist_mode_t mode = gpgme_get_keylist_mode (gt->ctx); +@@ -1455,16 +1455,23 @@ gt_get_keylist_mode (gpgme_tool_t gt) + modes[idx++] = "sig_notations"; + if (mode & GPGME_KEYLIST_MODE_WITH_SECRET) + modes[idx++] = "with_secret"; ++ if (mode & GPGME_KEYLIST_MODE_WITH_TOFU) ++ modes[idx++] = "with_tofu"; ++ if (mode & GPGME_KEYLIST_MODE_WITH_KEYGRIP) ++ modes[idx++] = "with_keygrip"; + if (mode & GPGME_KEYLIST_MODE_EPHEMERAL) + modes[idx++] = "ephemeral"; + if (mode & GPGME_KEYLIST_MODE_VALIDATE) + modes[idx++] = "validate"; + if (mode & GPGME_KEYLIST_MODE_FORCE_EXTERN) + modes[idx++] = "force_extern"; ++ if (mode & GPGME_KEYLIST_MODE_WITH_V5FPR) ++ modes[idx++] = "with_v5fpr"; + modes[idx++] = NULL; + + gt_write_status (gt, STATUS_KEYLIST_MODE, modes[0], modes[1], modes[2], +- modes[3], modes[4], modes[5], modes[6], NULL); ++ modes[3], modes[4], modes[5], modes[6], modes[7], modes[8], ++ modes[9], modes[10], NULL); + + return 0; + } +@@ -2188,7 +2195,8 @@ cmd_include_certs (assuan_context_t ctx, char *line) + + static const char hlp_keylist_mode[] = + "KEYLIST_MODE [local] [extern] [sigs] [sig_notations]\n" +- " [ephemeral] [validate]\n" ++ " [with_secret] [with_tofu] [with_keygrip] [ephemeral]\n" ++ " [validate] [force_extern] [with_v5fpr]\n" + "\n" + "Set the mode for the next KEYLIST command."; + static gpg_error_t +@@ -2210,12 +2218,18 @@ cmd_keylist_mode (assuan_context_t ctx, char *line) + mode |= GPGME_KEYLIST_MODE_SIG_NOTATIONS; + if (strstr (line, "with_secret")) + mode |= GPGME_KEYLIST_MODE_WITH_SECRET; ++ if (strstr (line, "with_tofu")) ++ mode |= GPGME_KEYLIST_MODE_WITH_TOFU; ++ if (strstr (line, "with_keygrip")) ++ mode |= GPGME_KEYLIST_MODE_WITH_KEYGRIP; + if (strstr (line, "ephemeral")) + mode |= GPGME_KEYLIST_MODE_EPHEMERAL; + if (strstr (line, "validate")) + mode |= GPGME_KEYLIST_MODE_VALIDATE; + if (strstr (line, "force_extern")) + mode |= GPGME_KEYLIST_MODE_FORCE_EXTERN; ++ if (strstr (line, "with_v5fpr")) ++ mode |= GPGME_KEYLIST_MODE_WITH_V5FPR; + + return gt_set_keylist_mode (server->gt, mode); + } diff --git a/SOURCES/gpgme-1.23.2-sast_fix2.patch b/SOURCES/gpgme-1.23.2-sast_fix2.patch new file mode 100644 index 0000000..cb9800e --- /dev/null +++ b/SOURCES/gpgme-1.23.2-sast_fix2.patch @@ -0,0 +1,39 @@ +diff -up gpgme-1.23.2/src/engine.c.sast_fix2 gpgme-1.23.2/src/engine.c +--- gpgme-1.23.2/src/engine.c.sast_fix2 2024-08-05 17:31:46.790089148 +0200 ++++ gpgme-1.23.2/src/engine.c 2024-08-05 17:34:55.788069948 +0200 +@@ -73,7 +73,7 @@ static char *engine_minimal_version; + static const char * + engine_get_file_name (gpgme_protocol_t proto) + { +- if (proto > DIM (engine_ops)) ++ if (proto >= DIM (engine_ops)) + return NULL; + + if (engine_ops[proto] && engine_ops[proto]->get_file_name) +@@ -103,7 +103,7 @@ engine_get_home_dir (gpgme_protocol_t pr + static char * + engine_get_version (gpgme_protocol_t proto, const char *file_name) + { +- if (proto > DIM (engine_ops)) ++ if (proto >= DIM (engine_ops)) + return NULL; + + if (engine_ops[proto] && engine_ops[proto]->get_version) +@@ -118,7 +118,7 @@ engine_get_version (gpgme_protocol_t pro + static const char * + engine_get_req_version (gpgme_protocol_t proto) + { +- if (proto > DIM (engine_ops)) ++ if (proto >= DIM (engine_ops)) + return NULL; + + if (engine_ops[proto] && engine_ops[proto]->get_req_version) +@@ -403,7 +403,7 @@ _gpgme_set_engine_info (gpgme_engine_inf + char *new_version; + + /* FIXME: Use some PROTO_MAX definition. */ +- if (proto > DIM (engine_ops)) ++ if (proto >= DIM (engine_ops)) + return gpg_error (GPG_ERR_INV_VALUE); + + while (info && info->protocol != proto) diff --git a/SOURCES/gpgme-1.3.2-largefile.patch b/SOURCES/gpgme-1.3.2-largefile.patch new file mode 100644 index 0000000..bbf88de --- /dev/null +++ b/SOURCES/gpgme-1.3.2-largefile.patch @@ -0,0 +1,24 @@ +diff -up gpgme-1.3.2/src/gpgme-config.in.largefile gpgme-1.3.2/src/gpgme-config.in +--- gpgme-1.3.2/src/gpgme-config.in.largefile 2012-09-26 10:10:37.882744198 +0200 ++++ gpgme-1.3.2/src/gpgme-config.in 2012-09-26 10:16:02.558762827 +0200 +@@ -41,6 +41,10 @@ cflags_pthread="" + cflags_glib="@GLIB_CFLAGS@" + with_glib= + ++if test "0@NEED__FILE_OFFSET_BITS@" -gt "0" ; then ++ cflags_lfs="-D_FILE_OFFSET_BITS=@NEED__FILE_OFFSET_BITS@" ++fi ++ + output="" + + usage() +@@ -105,6 +109,9 @@ while test $# -gt 0; do + exit 0 + ;; + --cflags) ++ if test "x$cflags_lfs" != "x"; then ++ output="$output $cflags_lfs" ++ fi + result= + tmp_c= + tmp_g= diff --git a/SOURCES/gpgme-multilib.h b/SOURCES/gpgme-multilib.h new file mode 100644 index 0000000..574f09d --- /dev/null +++ b/SOURCES/gpgme-multilib.h @@ -0,0 +1,20 @@ +/* gpgme-multilib.h */ +/* This file is here to prevent a file conflict on multiarch systems. A + * conflict will occur because gpgme.h has arch-specific definitions. + * + * DO NOT INCLUDE THE NEW FILE DIRECTLY -- ALWAYS INCLUDE THIS ONE INSTEAD. */ + +#ifndef GPGME_MULTILIB_H +#define GPGME_MULTILIB_H +#include + +#if __WORDSIZE == 32 +#include "gpgme-32.h" +#elif __WORDSIZE == 64 +#include "gpgme-64.h" +#else +#error "unexpected value for __WORDSIZE macro" +#endif + +#endif + diff --git a/SOURCES/signature_key.asc b/SOURCES/signature_key.asc new file mode 100644 index 0000000..151e8fa --- /dev/null +++ b/SOURCES/signature_key.asc @@ -0,0 +1,86 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQGNBFjLuq4BDACnM7zNSIaVMAacTwjXa5TGYe13i6ilHe4VL0NShzrgzjcQg531 +3cRgiiiNA7OSOypMqVs73Jez6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 +t+nFB9JyDbBOZAR8DK4pN1mAxG/yLDt4oKcUQsP2xlEFum+phxyR8KyYCpkwKRxY +eK+6lfilQuveoUwp/Xx5wXPNUy6q4eOOovCW7gS7I7288NGHCa2ul8sD6vA9C4mM +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/SPECS/gpgme.spec b/SPECS/gpgme.spec new file mode 100644 index 0000000..7b25993 --- /dev/null +++ b/SPECS/gpgme.spec @@ -0,0 +1,761 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autochangelog +## END: Set by rpmautospec + +%bcond check 1 +# No Qt5 on RHEL 10 and higher +%bcond qt5 %[ 0%{?rhel} < 10 ] +%bcond qt6 1 + +%global gnupg2_min_ver 2.2.24 +%global libgpg_error_min_ver 1.36 + +# we are doing out of source build +%global _configure ../configure + +Name: gpgme +Summary: GnuPG Made Easy - high level crypto API +Version: 1.23.2 +Release: 5%{?dist} + +# MIT: src/cJSON.{c,h} (used by gpgme-json) +License: LGPL-2.1-or-later AND MIT +URL: https://gnupg.org/related_software/gpgme/ +Source0: https://gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2 +Source1: https://gnupg.org/ftp/gcrypt/gpgme/gpgme-%{version}.tar.bz2.sig +Source3: https://gnupg.org/signature_key.asc +Source2: gpgme-multilib.h + +## downstream patches +# Don't add extra libs/cflags in gpgme-config/cmake equivalent +Patch1001: 0001-don-t-add-extra-libraries-for-linking.patch +# add -D_FILE_OFFSET_BITS... to gpgme-config, upstreamable +Patch1002: gpgme-1.3.2-largefile.patch +# Let's fix stupid AX_PYTHON_DEVEL +Patch1003: 0001-fix-stupid-ax_python_devel.patch +# Allow extra options to be passed to setup.py during installation +Patch1004: 0002-setup_py_extra_opts.patch + +# from upstream for gpgme <= 1.23.2 fix sast issue #RHEL-44468 +Patch1005: gpgme-1.23.2-sast_fix1.patch +# second part of sast fix, not yet upstream atm, #RHEL-44468 +Patch1006: gpgme-1.23.2-sast_fix2.patch + +## temporary downstream fixes +# Skip lang/qt/tests/t-remarks on gnupg 2.4+ +Patch3001: 1001-qt-skip-test-remarks-for-gnupg2-2.4.patch + +BuildRequires: make +BuildRequires: cmake +BuildRequires: gcc +BuildRequires: gcc-c++ +BuildRequires: gawk +BuildRequires: texinfo +BuildRequires: gnupg2 >= %{gnupg2_min_ver} +BuildRequires: gnupg2-smime +BuildRequires: libgpg-error-devel >= %{libgpg_error_min_ver} +BuildRequires: libassuan-devel >= 2.4.2 + +# For python bindings +BuildRequires: swig + +# to remove RPATH +BuildRequires: chrpath + +# For AutoReq cmake-filesystem +BuildRequires: cmake + +Requires: gnupg2 >= %{gnupg2_min_ver} + +# On the following architectures workaround multiarch conflict of -devel packages: +%define multilib_arches %{ix86} x86_64 ia64 ppc ppc64 s390 s390x %{sparc} + +%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. + +%package devel +Summary: Development headers and libraries for %{name} +Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: libgpg-error-devel%{?_isa} >= %{libgpg_error_min_ver} + +%description devel +%{summary}. + +%package -n %{name}pp +Summary: C++ bindings/wrapper for GPGME +Obsoletes: gpgme-pp < 1.8.0-7 +Provides: gpgme-pp = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: gpgme-pp%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n %{name}pp +%{summary}. + +%package -n %{name}pp-devel +Summary: Development libraries and header files for %{name}-pp +Obsoletes: gpgme-pp-devel < 1.8.0-7 +Provides: gpgme-pp-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: gpgme-pp-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}pp%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: %{name}-devel%{?_isa} + +%description -n %{name}pp-devel +%{summary} + +%if %{with qt5} +%package -n q%{name}-qt5 +Summary: Qt5 API bindings/wrapper for GPGME +Requires: %{name}pp%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildRequires: pkgconfig(Qt5Core) +BuildRequires: pkgconfig(Qt5Test) +Obsoletes: q%{name} < 1.20.0 +Provides: q%{name} + +%description -n q%{name}-qt5 +%{summary}. +%endif + +%if %{with qt6} +%package -n q%{name}-qt6 +Summary: Qt6 API bindings/wrapper for GPGME +Requires: %{name}pp%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildRequires: pkgconfig(Qt6Core) +BuildRequires: pkgconfig(Qt6Test) + +%description -n q%{name}-qt6 +%{summary}. +%endif + +%if %{with qt5} || %{with qt6} +%package -n q%{name}-common-devel +Summary: Common development header files for %{name}-qt5 and %{name}-qt6 +Requires: %{name}pp-devel%{?_isa} + +%description -n q%{name}-common-devel +%{summary}. +%endif + +%if %{with qt5} +%package -n q%{name}-qt5-devel +Summary: Development libraries and header files for %{name}-qt5 +# before libqgpgme.so symlink was moved to avoid conflict +Conflicts: kdepimlibs-devel < 4.14.10-17 +Requires: q%{name}-qt5%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: q%{name}-common-devel%{?_isa} +Obsoletes: q%{name}-devel < 1.20.0 +Provides: q%{name}-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: q%{name}-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description -n q%{name}-qt5-devel +%{summary}. +%endif + +%if %{with qt6} +%package -n q%{name}-qt6-devel +Summary: Development libraries and header files for %{name}-qt6 +Requires: q%{name}-qt6%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Requires: q%{name}-common-devel%{?_isa} + +%description -n q%{name}-qt6-devel +%{summary}. +%endif + +%package -n python3-gpg +Summary: %{name} bindings for Python 3 +BuildRequires: python3-devel +# Needed since Python 3.12+ drops distutils +BuildRequires: python3-setuptools +Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: platform-python-gpg < %{version}-%{release} + +%description -n python3-gpg +%{summary}. + +%prep +%autosetup -p1 +gpg2 --import --import-options import-export,import-minimal %{SOURCE3} > ./gpg-keyring.gpg +gpgv2 --keyring ./gpg-keyring.gpg %{SOURCE1} %{SOURCE0} + +## HACK ALERT +# The config script already suppresses the -L if it's /usr/lib, so cheat and +# set it to a value which we know will be suppressed. +sed -i -e 's|^libdir=@libdir@$|libdir=@exec_prefix@/lib|g' src/gpgme-config.in + +# The build machinery does not support Python 3.9+ yet +# https://github.com/gpg/gpgme/pull/4 +sed -i 's/3.8/%{python3_version}/g' configure + +%build +# People neeed to learn that you can't run autogen.sh anymore +#./autogen.sh + +# Since 1.16.0, we need to explicitly pass -D_LARGEFILE_SOURCE and +# -D_FILE_OFFSET_BITS=64 for the QT binding to build successfully on 32-bit +# platforms. +export CFLAGS='%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' +export CXXFLAGS='%{optflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64' +# Explicit new lines in C(XX)FLAGS can break naive build scripts +export CFLAGS="$(echo ${CFLAGS} | tr '\n\\' ' ')" +export CXXFLAGS="$(echo ${CXXFLAGS} | tr '\n\\' ' ')" +export SETUPTOOLS_USE_DISTUTILS=local +#export PYTHON=%{python3} +#export PYTHON_VERSION=%{python3_version} + +# Also build either qt5 or qt6 +mkdir build +pushd build +%configure --disable-static --disable-silent-rules --enable-languages=cpp,%{?with_qt5:qt,}%{!?with_qt5:%{?with_qt6:qt6,}}python +%make_build +popd + +# Build qt6 in extra step if qt5 has been build +%if %{with qt5} && %{with qt6} +mkdir build-qt6 +pushd build-qt6 +%configure --disable-static --disable-silent-rules --enable-languages=cpp,qt6,python +%make_build +popd +%endif + +%install +# When using distutils from setuptools 60+, ./setup.py install use +# the .egg format. This forces setuptools to use .egg-info format. +# SETUP_PY_EXTRA_OPTS is introduced by the Patch1004 above. +export SETUPTOOLS_USE_DISTUTILS=local +export SETUP_PY_EXTRA_OPTS="--single-version-externally-managed --root=/" +# Aliso install either qt5 or qt6 +pushd build +%make_install +popd +# Install qt6 in extra step if qt5 has been installed +%if %{with qt5} && %{with qt6} +pushd build-qt6 +%make_install +popd +%endif + +# unpackaged files +rm -fv %{buildroot}%{_infodir}/dir +rm -fv %{buildroot}%{_libdir}/lib*.la + +# Hack to resolve multiarch conflict (#341351) +%ifarch %{multilib_arches} +mv %{buildroot}%{_bindir}/gpgme-config{,.%{_target_cpu}} +cat > gpgme-config-multilib.sh <<__END__ +#!/bin/sh +exec %{_bindir}/gpgme-config.\$(arch) \$@ +__END__ +install -D -p gpgme-config-multilib.sh %{buildroot}%{_bindir}/gpgme-config +mv %{buildroot}%{_includedir}/gpgme.h \ + %{buildroot}%{_includedir}/gpgme-%{__isa_bits}.h +install -m644 -p -D %{SOURCE2} %{buildroot}%{_includedir}/gpgme.h +%endif +chrpath -d %{buildroot}%{_bindir}/%{name}-tool +chrpath -d %{buildroot}%{_bindir}/%{name}-json +chrpath -d %{buildroot}%{_libdir}/lib%{name}pp.so* +# qt5 +%if %{with qt5} +chrpath -d %{buildroot}%{_libdir}/libq%{name}.so* +%endif +# qt6 +%if %{with qt6} +chrpath -d %{buildroot}%{_libdir}/libq%{name}qt6.so* +%endif + +# autofoo installs useless stuff for uninstall +rm -vf %{buildroot}%{python2_sitelib}/gpg/install_files.txt +rm -vf %{buildroot}%{python3_sitelib}/gpg/install_files.txt + +%if %{with check} +%check +pushd build +make check +popd +%endif + +%files +%license COPYING* LICENSES +%doc AUTHORS NEWS README* +%{_bindir}/%{name}-json +%{_libdir}/lib%{name}.so.11* + +%files devel +%{_bindir}/%{name}-config +%{_bindir}/%{name}-tool +%ifarch %{multilib_arches} +%{_bindir}/%{name}-config.%{_target_cpu} +%{_includedir}/%{name}-%{__isa_bits}.h +%endif +%{_includedir}/%{name}.h +%{_libdir}/lib%{name}.so +%{_datadir}/aclocal/%{name}.m4 +%{_infodir}/%{name}.info* +%{_libdir}/pkgconfig/%{name}*.pc + +%files -n %{name}pp +%doc lang/cpp/README +%{_libdir}/lib%{name}pp.so.6* + +%files -n %{name}pp-devel +%{_includedir}/%{name}++/ +%{_libdir}/lib%{name}pp.so +%{_libdir}/cmake/Gpgmepp/ + +%if %{with qt5} +%files -n q%{name}-qt5 +%doc lang/qt/README +%{_libdir}/libq%{name}.so.15* +%endif + +%if %{with qt6} +%files -n q%{name}-qt6 +%{_libdir}/libq%{name}qt6.so.15* +%endif + +%if %{with qt5} || %{with qt6} +%files -n q%{name}-common-devel +%{_includedir}/q%{name}/ +%{_includedir}/QGpgME/ +%endif + +%if %{with qt5} +%files -n q%{name}-qt5-devel +%{_libdir}/libq%{name}.so +%{_libdir}/cmake/QGpgme/ +%endif + +%if %{with qt6} +%files -n q%{name}-qt6-devel +%{_libdir}/libq%{name}qt6.so +%{_libdir}/cmake/QGpgmeQt6/ +%endif + +%files -n python3-gpg +%doc lang/python/README +%{python3_sitearch}/gpg-*.egg-info/ +%{python3_sitearch}/gpg/ + +%changelog +## START: Generated by rpmautospec +* Mon Aug 05 2024 Michal Hlavinka - 1.23.2-6 +- fix static analysis findings (RHEL-44568) + +* Fri Jul 26 2024 Evgeny Fedin - 1.23.2-5 +- Related: RHELMISC-3914 - add gating.yaml file + +* Mon Jun 24 2024 Troy Dawson - 1.23.2-4 +- Bump release for June 2024 mass rebuild + +* Sat Jan 13 2024 Marie Loise Nolden - 1.23.2-2 +- add signature file + +* Sat Jan 13 2024 Marie Loise Nolden - 1.23.2-1 +- Update to 1.23.2 + +* Wed Oct 11 2023 Michal Hlavinka - 1.22.0-2 +- add tarball signature verification + +* Tue Oct 10 2023 Michal Hlavinka - 1.22.0-1 +- updated to 1.22.0 + +* Thu Jul 20 2023 Fedora Release Engineering - 1.20.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Tue Jun 27 2023 Python Maint - 1.20.0-4 +- Rebuilt for Python 3.12 + +* Mon Jun 26 2023 Jiri Kucera - 1.20.0-3 +- Drop unused patches + +* Mon Jun 26 2023 Jiri Kucera - 1.20.0-2 +- Build only Qt6 on RHEL + +* Fri Jun 16 2023 FAS Marie Loise Nolden - 1.20.0-1 +- update to 1.20.0 and enable qt6 build + +* Fri Jun 16 2023 Marie Loise Nolden - 1.20.0-1 +- Update to 1.20.0 and enable/add qt6 build for qgpgme. The qt5 and qt6 + rpms have been split out into separate libs and -devel rpms for compatibility. + +* Tue Nov 02 2021 Frantisek Sumsal - 1.15.1-6 +- Fix build with glibc >=2.34 (RHBZ#1984691, RHBZ#1987561) + +* Thu Jul 22 2021 Fedora Release Engineering - 1.15.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jun 03 2021 Python Maint - 1.15.1-4 +- Rebuilt for Python 3.10 + +* Wed Jun 02 2021 Miro Hrončok - 1.15.1-3 +- Also remove RPATH from /usr/bin/gpgme-json + +* Tue Jan 26 2021 Fedora Release Engineering - 1.15.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Jan 24 2021 Igor Raits - 1.15.1-1 +- Update to 1.15.1 + +* Tue Jul 28 2020 Fedora Release Engineering - 1.14.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Jul 18 2020 Igor Raits - 1.14.0-1 +- Update to 1.14.0 + +* Fri May 22 2020 Miro Hrončok - 1.13.1-8 +- Rebuilt for Python 3.9 + +* Thu Apr 30 2020 Tomáš Mráz - 1.13.1-7 +- Fix FTBFS with gnupg-2.2.19 and above + +* Wed Jan 29 2020 Fedora Release Engineering - 1.13.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 1.13.1-5 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Thu Aug 15 2019 Miro Hrončok - 1.13.1-4 +- Rebuilt for Python 3.8 + +* Sat Aug 10 2019 Igor Gnatenko - 1.13.1-3 +- Set real VERSION + +* Sat Aug 3 2019 Peter Robinson 1.13.1-2 +- Move .pc files to devel so the base library doesn't pull in devel packages + +* Mon Jul 29 18:46:42 CEST 2019 Igor Gnatenko - 1.13.1-1 +- Update to 1.13.1 + +* Thu Jul 25 2019 Fedora Release Engineering - 1.12.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Jun 05 2019 Miro Hrončok - 1.12.0-2 +- Subpackage python2-gpg has been removed + See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal + +* Sat Feb 16 2019 Igor Gnatenko - 1.12.0-1 +- Update to 1.12.0 + +* Fri Feb 01 2019 Fedora Release Engineering - 1.11.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Jul 13 2018 Fedora Release Engineering - 1.11.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 15 2018 Miro Hrončok - 1.11.1-2 +- Rebuilt for Python 3.7 + +* Fri Apr 20 2018 Igor Gnatenko - 1.11.1-1 +- Update to 1.11.1 + +* Thu Apr 19 2018 Igor Gnatenko - 1.11.0-1 +- Update to 1.11.0 + +* Tue Apr 17 2018 Jonathan Lebon - 1.10.0-4 +- Backport patch to tweak STATUS_FAILURE handling + +* Wed Feb 07 2018 Fedora Release Engineering - 1.10.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Tue Jan 30 2018 Igor Gnatenko - 1.10.0-2 +- Switch to %%ldconfig_scriptlets + +* Wed Dec 13 2017 Igor Gnatenko - 1.10.0-1 +- Update to 1.10.0 + +* Tue Nov 07 2017 Igor Gnatenko - 1.9.0-8 +- Use better Obsoletes for platform-python + +* Fri Nov 03 2017 Igor Gnatenko - 1.9.0-7 +- Remove platform-python subpackages + +* Thu Aug 10 2017 Petr Viktorin - 1.9.0-6 +- Add subpackage for platform-python (https://fedoraproject.org/wiki/Changes/Platform_Python_Stack) + +* Mon Aug 07 2017 Igor Gnatenko - 1.9.0-5 +- Remove BuildRequires: pth-devel, it is not needed for long time + +* Mon Aug 07 2017 Björn Esser - 1.9.0-4 +- Rebuilt for AutoReq cmake-filesystem + +* Wed Aug 02 2017 Fedora Release Engineering - 1.9.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.9.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Mar 29 2017 Igor Gnatenko - 1.9.0-1 +- Update to 1.9.0 + +* Sat Feb 11 2017 Igor Gnatenko - 1.8.0-12 +- Fix FTBFS + +* Fri Feb 10 2017 Fedora Release Engineering - 1.8.0-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Jan 18 2017 Rex Dieter - 1.8.0-10 +- patch out LIBASSUAN_LIBRARIES in cmake too + +* Wed Jan 18 2017 Rex Dieter - 1.8.0-9 +- gpgmepp-devel: Requires: libassuan-devel + +* Mon Jan 16 2017 Rex Dieter - 1.8.0-8 +- qgpgme-devel: Conflicts: kdepimlibs-devel < 4.14.10-17 + +* Sun Jan 01 2017 Rex Dieter - 1.8.0-7 +- rename gpgme-pp to gpgmepp, simplify -devel deps + +* Sun Jan 01 2017 Rex Dieter - 1.8.0-6 +- backport upstream cmake-related fix + +* Thu Dec 22 2016 Miro Hrončok - 1.8.0-5 +- Rebuild for Python 3.6 + +* Sun Dec 11 2016 Igor Gnatenko - 1.8.0-4 +- Rename pythonX-gpgme into pythonX-gpg + +* Sun Dec 11 2016 Igor Gnatenko - 1.8.0-3 +- Add Qt and C++ subpackages + +* Sat Dec 10 2016 Igor Gnatenko - 1.8.0-2 +- Enable tests + +* Sat Dec 10 2016 Igor Gnatenko - 1.8.0-1 +- Update to 1.8.0 + +* Wed Sep 21 2016 Igor Gnatenko - 1.7.0-1 +- Update to 1.7.0 + +* Mon Jul 25 2016 Igor Gnatenko - 1.6.0-3 +- Set min ver for libgpg-error + +* Mon Jul 25 2016 Igor Gnatenko - 1.6.0-2 +- Backport patch for STATUS_KEY_CONSIDERED (RHBZ #1359521) + +* Wed Jul 13 2016 Igor Gnatenko - 1.6.0-1 +- Update to 1.6.0 (RHBZ #1167656) + +* Wed Feb 03 2016 Fedora Release Engineering - 1.4.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.4.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Dec 06 2014 Frantisek Kluknavsky - 1.4.3-5 +- CVE-2014-3564, rhbz#1125170, gpgme-1.3.2-bufferoverflow.patch + +* Sat Aug 16 2014 Fedora Release Engineering - 1.4.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jul 12 2014 Tom Callaway - 1.4.3-3 +- fix license handling + +* Sat Jun 07 2014 Fedora Release Engineering - 1.4.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Wed Oct 09 2013 Rex Dieter - 1.4.3-1 +- gpgme-1.4.3 +- cleanup .spec, trim changelog + +* Sat Aug 03 2013 Fedora Release Engineering - 1.3.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Tue Jul 09 2013 Karsten Hopp 1.3.2-3 +- rebuild to fix some f20 dependency issues on PPC + +* Thu Feb 14 2013 Fedora Release Engineering - 1.3.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Tue Nov 20 2012 Frantisek Kluknavsky - 1.3.2-2 +- minor spec cleanup + +* Wed Sep 26 2012 Tomas Mraz - 1.3.2-1 +- new upstream version +- re-enable gpg tests (original patch by John Morris ) +- quiet configure warning 'could not find g13' +- there is no libgpgme-pth anymore + +* Thu Jul 19 2012 Fedora Release Engineering - 1.3.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Apr 22 2012 Rex Dieter 1.3.0-8 +- -devel: make Requires: libgpg-error-devel arch'd +- ensure gpgme-config wrapper is executable + +* Sun Apr 22 2012 Rex Dieter 1.3.0-7 +- gpgme.h: fatal error: gpgme-i386.h: No such file or directory compilation terminated (#815116) + +* Wed Feb 15 2012 Simon Lukasik - 1.3.0-6 +- Resolve multilib conflict of gpgme-config (#341351) +- Resolve multilib conflict of gpgme.h (#341351) + +* Fri Jan 13 2012 Fedora Release Engineering - 1.3.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Thu Mar 17 2011 Rex Dieter - 1.3.0-4 +- gpgme-config: remove libassuan-related flags as threatened (#676954) +\ +* Sun Feb 13 2011 Rex Dieter - 1.3.0-3 +- -devel: fix typo (broken dep) + +* Sat Feb 12 2011 Rex Dieter - 1.3.0-2 +- BR: libassuan2-devel +- gpgme-config outputs -lassuan (#676954) + +* Fri Feb 11 2011 Tomas Mraz - 1.3.0-1 +- new upstream version + +* Tue Feb 08 2011 Fedora Release Engineering - 1.2.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Wed Aug 18 2010 Tomas Mraz - 1.2.0-3 +- fix the condition for adding the -D_FILE_OFFSET_BITS... + +* Wed Aug 11 2010 Tomas Mraz - 1.2.0-2 +- add -D_FILE_OFFSET_BITS... to gpgme-config as appropriate (#621698) + +* Fri Jul 02 2010 Rex Dieter - 1.2.0-1 +- gpgme-1.2.0 (#610984) + +* Sun Feb 14 2010 Rex Dieter - 1.1.8-4 +- FTBFS gpgme-1.1.8-3.fc13: ImplicitDSOLinking (#564605) + +* Thu Nov 19 2009 Tomas Mraz - 1.1.8-3 +- Add buildrequires gnupg2-smime for the gpgsm + +* Fri Jul 24 2009 Fedora Release Engineering - 1.1.8-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat Jun 20 2009 Rex Dieter - 1.1.8-1 +- gpgme-1.1.8 +- -devel: s/postun/preun/ info scriptlet + +* Wed Mar 11 2009 Rex Dieter - 1.1.7-3 +- track shlib sonames closer, to highlight future abi/soname changes +- _with_gpg macro, to potentially conditionalize gnupg vs gnupg2 defaults + for various os/releases (ie, fedora vs rhel) + +* Tue Feb 24 2009 Fedora Release Engineering - 1.1.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Oct 18 2008 Rex Dieter 1.1.7-1 +- gpgme-1.1.7 + +* Sun Feb 17 2008 Rex Dieter 1.1.6-3 +- --with-gpg=%%_bindir/gpg2 (#432445) +- drop Requires: gnupg (#432445) + +* Fri Feb 08 2008 Rex Dieter 1.1.6-2 +- respin (gcc43) + +* Fri Jan 04 2008 Rex Dieter 1.1.6-1 +- gpgme-1.1.6 +- multiarch conflicts in gpgme (#341351) + +* Sat Aug 25 2007 Rex Dieter 1.1.5-4 +- BR: gawk + +* Sat Aug 25 2007 Rex Dieter 1.1.5-3 +- respin (BuildID) + +* Thu Aug 09 2007 Rex Dieter 1.1.5-2 +- License: LGPLv2+ + +* Mon Jul 09 2007 Rex Dieter 1.1.5-1 +- gpgme-1.1.5 + +* Mon Mar 05 2007 Rex Dieter 1.1.4-1 +- gpgme-1.1.4 + +* Sat Feb 03 2007 Rex Dieter 1.1.3-1 +- gpgme-1.1.3 + +* Tue Oct 03 2006 Rex Dieter +- respin + +* Mon Sep 18 2006 Rex Dieter 1.1.2-6 +- fix gpgme-config --thread=pthread --cflags + +* Tue Aug 29 2006 Rex Dieter 1.1.2-5 +- fc6 respin + +* Mon Mar 6 2006 Rex Dieter 1.1.2-4 +- add back support for gpgme-config --thread=pthread + +* Mon Mar 6 2006 Rex Dieter 1.1.2-2 +- drop extraneous libs from gpgme-config + +* Fri Mar 3 2006 Rex Dieter 1.1.2-1 +- 1.1.2 +- drop upstreamed gpgme-1.1.0-tests.patch + +* Wed Mar 1 2006 Rex Dieter +- fc5: gcc/glibc respin + +* Wed Nov 30 2005 Rex Dieter - 1.1.0-3 +- (re)build against (newer) libksba/gnupg2 + +* Thu Oct 06 2005 Rex Dieter - 1.1.0-2 +- 1.1.0 + +* Mon Aug 8 2005 Rex Dieter - 1.0.3-1 +- 1.0.3 +- --disable-static + +* Thu May 12 2005 Michael Schwendt - 1.0.2-3 +- rebuilt + +* Fri Mar 18 2005 Ville Skyttä - 1.0.2-2 +- Fix FC4 build. + +* Tue Feb 1 2005 Michael Schwendt - 0:1.0.2-1 +- LGPL used here, and made summary more explicit. +- Remove dirmngr dependency (gpgsm interfaces with it). +- Obsolete cryptplug as gpgme >= 0.4.5 provides what we used cryptplug for. + +* Thu Jan 06 2005 Rex Dieter 0:1.0.2-0.fdr.1 +- 1.0.2 + +* Thu Oct 21 2004 Rex Dieter 0:1.0.0-0.fdr.1 +- 1.0.0 +- Requires: dirmngr + +* Tue Oct 19 2004 Rex Dieter 0:0.4.7-0.fdr.1 +- 0.4.7 + +* Sun May 2 2004 Ville Skyttä - 0:0.4.3-0.fdr.3 +- Require %%{_bindir}/gpgsm instead of newpg. +- Cosmetic spec file improvements. + +* Thu Oct 23 2003 Ville Skyttä - 0:0.4.3-0.fdr.2 +- Update description. + +* Tue Oct 7 2003 Ville Skyttä - 0:0.4.3-0.fdr.1 +- Update to 0.4.3. + +* Fri Aug 15 2003 Ville Skyttä - 0:0.4.2-0.fdr.1 +- Update to 0.4.2. +- make check in the %%check section. + +* Thu Jul 10 2003 Ville Skyttä - 0:0.4.1-0.fdr.1 +- Update to 0.4.1. +- Make -devel cooperate with --excludedocs. + +* Sat Apr 19 2003 Ville Skyttä - 0:0.4.0-0.fdr.2 +- BuildRequire pth-devel, fix missing epoch in -devel Requires (#169). +- Save .spec in UTF-8. + +* Sat Mar 22 2003 Ville Skyttä - 0:0.4.0-0.fdr.1 +- Update to current Fedora guidelines. +- Exclude %%{_libdir}/*.la. + +* Tue Feb 12 2003 Warren Togami 0.4.0-1.fedora.3 +- info/dir temporary workaround + +* Sat Feb 8 2003 Ville Skyttä - 0.4.0-1.fedora.1 +- First Fedora release. + +## END: Generated by rpmautospec