[packages/gmime3] - new Source URL (developed outside GNOME now), updated to 3.2.15
qboosh
qboosh at pld-linux.org
Tue Mar 4 18:36:44 CET 2025
commit a378e38d7b03b44fea4014bc0a4d705d20148be6
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Tue Mar 4 18:14:46 2025 +0100
- new Source URL (developed outside GNOME now), updated to 3.2.15
gmime3-am.patch | 19 -------------------
gmime3-largefile.patch | 15 ---------------
gmime3-link.patch | 18 ------------------
gmime3.spec | 23 +++++++++--------------
4 files changed, 9 insertions(+), 66 deletions(-)
---
diff --git a/gmime3.spec b/gmime3.spec
index 86eb654..208dbd1 100644
--- a/gmime3.spec
+++ b/gmime3.spec
@@ -1,32 +1,30 @@
Summary: GMIME library
Summary(pl.UTF-8): Biblioteka GMIME
Name: gmime3
-Version: 3.2.7
+Version: 3.2.15
Release: 1
License: LGPL v2.1+
Group: Libraries
-Source0: https://download.gnome.org/sources/gmime/3.2/gmime-%{version}.tar.xz
-# Source0-md5: 7ecd9aa75e0cd2e8668206b1d53df874
-Patch0: %{name}-link.patch
-Patch1: %{name}-am.patch
-Patch2: %{name}-largefile.patch
+#Source0Download: https://github.com/jstedfast/gmime/releases
+Source0: https://github.com/jstedfast/gmime/releases/download/%{version}/gmime-%{version}.tar.xz
+# Source0-md5: f7d6b4ad3253e73c72237fde5bced617
URL: https://github.com/jstedfast/gmime
-BuildRequires: autoconf >= 2.54
+BuildRequires: autoconf >= 2.71
BuildRequires: automake >= 1:1.9
BuildRequires: docbook-utils
BuildRequires: gettext-tools
-BuildRequires: glib2-devel >= 1:2.32.0
+BuildRequires: glib2-devel >= 1:2.68
BuildRequires: gobject-introspection-devel >= 1.30.0
BuildRequires: gpgme-devel >= 1:1.6.0
BuildRequires: gtk-doc >= 1.8
BuildRequires: libidn2-devel >= 2.0.0
-BuildRequires: libtool
+BuildRequires: libtool >= 2:2
BuildRequires: pkgconfig
BuildRequires: rpm-build >= 4.6
BuildRequires: tar >= 1:1.22
BuildRequires: xz
BuildRequires: zlib-devel
-Requires: glib2 >= 1:2.32.0
+Requires: glib2 >= 1:2.68
Requires: gpgme >= 1:1.6.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,7 +39,7 @@ Summary: Header files to develop libgmime applications
Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia programów z użyciem libgmime
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: glib2-devel >= 1:2.32.0
+Requires: glib2-devel >= 1:2.68
Requires: gpgme-devel >= 1:1.6.0
Requires: libidn2-devel >= 2.0.0
Requires: zlib-devel
@@ -93,9 +91,6 @@ API języka Vala do biblioteki gmime.
%prep
%setup -q -n gmime-%{version}
-%patch -P0 -p1
-%patch -P1 -p1
-%patch -P2 -p1
%build
%{__libtoolize}
diff --git a/gmime3-am.patch b/gmime3-am.patch
deleted file mode 100644
index 5afb653..0000000
--- a/gmime3-am.patch
+++ /dev/null
@@ -1,19 +0,0 @@
---- gmime-3.2.7/configure.ac.orig 2025-03-03 21:09:23.146825748 +0100
-+++ gmime-3.2.7/configure.ac 2025-03-03 21:27:12.767697781 +0100
-@@ -55,7 +55,7 @@ AC_SUBST([ACLOCAL_AMFLAGS], ["-I m4 \${A
- m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])],
- [AC_SUBST([AM_DEFAULT_VERBOSITY], [1])])
- dnl m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
--AM_CONFIG_HEADER([config.h])
-+AC_CONFIG_HEADERS([config.h])
- AM_MAINTAINER_MODE
-
-
-@@ -134,7 +134,6 @@ AM_CONDITIONAL(MS_LIB_AVAILABLE, [test x
- dnl Checks for programs.
- AC_ISC_POSIX
- AC_PROG_CC
--AM_PROG_CC_STDC
- AC_C_INLINE
- dnl AC_HEADER_STDC
- AC_STDC_HEADERS
diff --git a/gmime3-largefile.patch b/gmime3-largefile.patch
deleted file mode 100644
index 66fc1b7..0000000
--- a/gmime3-largefile.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- gmime-3.2.7/configure.ac.orig 2025-03-03 21:27:25.380962782 +0100
-+++ gmime-3.2.7/configure.ac 2025-03-04 17:36:32.177943048 +0100
-@@ -458,9 +458,11 @@ if test "x$enable_largefile" != "xno"; t
- enable_largefile="yes"
- fi
-
-- if test "x$ac_cv_sys_file_offset_bits" != "xno"; then
-+ if test "x$ac_cv_sys_file_offset_bits" != "xno" && test -n "$ac_cv_sys_file_offset_bits"; then
- LFS_CFLAGS="$LFS_CFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
- enable_largefile="yes"
-+ elif test -n "$ac_cv_sys_largefile_opts"; then
-+ LFS_CFLAGS="$LFS_CFLAGS $ac_cv_sys_largefile_opts"
- fi
- else
- LFS_CFLAGS=""
diff --git a/gmime3-link.patch b/gmime3-link.patch
deleted file mode 100644
index b106c56..0000000
--- a/gmime3-link.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- gmime-3.2.7/configure.ac.orig 2025-03-03 20:31:22.015850362 +0100
-+++ gmime-3.2.7/configure.ac 2025-03-03 21:09:08.510238374 +0100
-@@ -484,13 +484,13 @@ dnl ****************************
- dnl *** Checks for libsocket ***
- dnl ****************************
- LIBSOCKET=""
--AC_CHECK_LIB(socket, getaddrinfo, LIBSOCKET="-lsocket")
-+AC_CHECK_FUNC(getaddrinfo,,[AC_CHECK_LIB(socket, getaddrinfo, LIBSOCKET="-lsocket")])
-
- dnl *************************
- dnl *** Checks for libnsl ***
- dnl *************************
- LIBNSL=""
--AC_CHECK_LIB(nsl, getaddrinfo, LIBNSL="-lnsl")
-+AC_CHECK_FUNC(getaddrinfo,,[AC_CHECK_LIB(nsl, getaddrinfo, LIBNSL="-lnsl")])
-
- dnl **************************************************
- dnl *** Checks for GpgME needed for PGP and S/MIME ***
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gmime3.git/commitdiff/a378e38d7b03b44fea4014bc0a4d705d20148be6
More information about the pld-cvs-commit
mailing list