[packages/enchant2] - updated to 2.5.0
qboosh
qboosh at pld-linux.org
Mon Jul 24 20:23:22 CEST 2023
commit e3be4d8c04436f8e8b2926f008861906b0c588e2
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jul 24 20:05:11 2023 +0200
- updated to 2.5.0
enchant2-link.patch | 12 ++++++------
enchant2.spec | 9 +++++----
2 files changed, 11 insertions(+), 10 deletions(-)
---
diff --git a/enchant2.spec b/enchant2.spec
index e23b98a..a58d864 100644
--- a/enchant2.spec
+++ b/enchant2.spec
@@ -5,17 +5,17 @@
Summary: libenchant - generic spell checking library
Summary(pl.UTF-8): libenchant - ogólna biblioteka sprawdzania pisowni
Name: enchant2
-Version: 2.3.3
-Release: 3
+Version: 2.5.0
+Release: 1
License: LGPL v2+
Group: Libraries
#Source0Download: https://github.com/AbiWord/enchant/releases
Source0: https://github.com/AbiWord/enchant/releases/download/v%{version}/enchant-%{version}.tar.gz
-# Source0-md5: 9b8519d43a711dae47b47a82fe78b194
+# Source0-md5: 3cbf29a5d7f31107adb4e584e0bdfebb
Patch0: %{name}-link.patch
URL: https://github.com/AbiWord/enchant
BuildRequires: aspell-devel >= 2:0.50.0
-BuildRequires: autoconf >= 2.50
+BuildRequires: autoconf >= 2.71
BuildRequires: automake
BuildRequires: dbus-glib-devel >= 0.62
BuildRequires: glib2-devel >= 1:2.12.0
@@ -232,6 +232,7 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/enchant-2
%{_mandir}/man1/enchant-2.1*
%{_mandir}/man1/enchant-lsmod-2.1*
+%{_mandir}/man5/enchant.5*
%files devel
%defattr(644,root,root,755)
diff --git a/enchant2-link.patch b/enchant2-link.patch
index 630510a..091393b 100644
--- a/enchant2-link.patch
+++ b/enchant2-link.patch
@@ -1,6 +1,6 @@
---- enchant-2.2.8/configure.ac.orig 2020-02-27 16:32:32.000000000 +0100
-+++ enchant-2.2.8/configure.ac 2020-03-01 21:32:41.372171295 +0100
-@@ -189,7 +189,7 @@
+--- enchant-2.5.0/configure.ac.orig 2023-05-24 11:23:45.000000000 +0200
++++ enchant-2.5.0/configure.ac 2023-07-24 19:59:56.784094186 +0200
+@@ -169,7 +169,7 @@ AC_DEFUN([ENCHANT_CHECK_LIB_PROVIDER],
[_enchant_header=m4_default([$6], [$1[].h])
AC_CHECK_HEADERS([$_enchant_header], [_header_found=yes], [_header_found=no], [])
if test "$3" != NOLIB; then
@@ -9,17 +9,17 @@
else
ac_cv_lib_[]$1[]_[]$3=yes
fi
-@@ -201,7 +201,10 @@
+@@ -181,7 +181,10 @@ AC_DEFUN([ENCHANT_CHECK_LIB_PROVIDER],
else
with_[]$1=yes
build_providers="$build_providers $1"
- LIBS="$LIBS $5"
+ if test "$3" != NOLIB; then
-+ $2[]_LIBS="-l$1 $5"
++ $2[]_LIBS="-l$1 $5"
+ fi
+ AC_SUBST($2[]_LIBS)
fi])
- AM_CONDITIONAL(WITH_[]$2, test "x$with_[]$1" = xyes)])
+ AM_CONDITIONAL(WITH_[]$2, test "$with_[]$1" = yes)])
--- enchant-2.2.8/providers/Makefile.am.orig 2020-02-27 14:05:18.000000000 +0100
+++ enchant-2.2.8/providers/Makefile.am 2020-03-01 21:34:09.391694452 +0100
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/enchant2.git/commitdiff/e3be4d8c04436f8e8b2926f008861906b0c588e2
More information about the pld-cvs-commit
mailing list