[packages/hunspell] - updated to 1.3.3 - added install patch (fixes hunspell(5) hu man installation) - ncurses interface

qboosh qboosh at pld-linux.org
Sun Jun 29 10:27:27 CEST 2014


commit 954dfa9c0dc44130c38e5a465fb5f4ef127d2362
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Jun 29 10:31:49 2014 +0200

    - updated to 1.3.3
    - added install patch (fixes hunspell(5) hu man installation)
    - ncurses interface is now built

 hunspell-install.patch |  9 +++++++++
 hunspell.spec          | 18 ++++++++----------
 2 files changed, 17 insertions(+), 10 deletions(-)
---
diff --git a/hunspell.spec b/hunspell.spec
index 66492e3..5af8b45 100644
--- a/hunspell.spec
+++ b/hunspell.spec
@@ -1,20 +1,18 @@
-# TODO:
-# $ LC_ALL=C hunspell -d hu_HU foo
-# Hunspell has been compiled without Ncurses user interface.
 Summary:	Hunspell - a spell checker and morphological analyzer library
 Summary(hu.UTF-8):	Hunspell egy helyesírás-ellenőrző és morfológiai elemző könyvtár és program
 Summary(pl.UTF-8):	hunspell - biblioteka do sprawdzania pisowni i analizy morfologicznej
 Name:		hunspell
-Version:	1.3.2
-Release:	2
+Version:	1.3.3
+Release:	1
 License:	MPL v1.1 or GPL v2+ or LGPL v2.1+
 Group:		Libraries
 Source0:	http://downloads.sourceforge.net/hunspell/%{name}-%{version}.tar.gz
-# Source0-md5:	3121aaf3e13e5d88dfff13fb4a5f1ab8
+# Source0-md5:	4967da60b23413604c9e563beacc63b4
+Patch0:		%{name}-install.patch
 URL:		http://hunspell.sourceforge.net/
 BuildRequires:	autoconf >= 2.59
 BuildRequires:	automake
-BuildRequires:	gettext-devel
+BuildRequires:	gettext-devel >= 0.17
 BuildRequires:	libstdc++-devel
 BuildRequires:	libtool >= 2:1.5
 BuildRequires:	ncurses-devel >= 5.0
@@ -95,6 +93,7 @@ Statyczna biblioteka hunspella.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__gettextize}
@@ -136,9 +135,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man1/hunzip.1*
 %{_mandir}/man1/hzip.1*
 %{_mandir}/man1/hunspell.1*
-%{_mandir}/man4/hunspell.4*
+%{_mandir}/man5/hunspell.5*
 %lang(hu) %{_mandir}/hu/man1/hunspell.1*
-%lang(hu) %{_mandir}/hu/man4/hunspell.4*
+%lang(hu) %{_mandir}/hu/man5/hunspell.5*
 
 %files tools
 %defattr(644,root,root,755)
@@ -156,7 +155,6 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/libhunspell-1.3.so
 %{_libdir}/libhunspell-1.3.la
-%{_libdir}/libparsers.a
 %{_includedir}/hunspell
 %{_pkgconfigdir}/hunspell.pc
 %{_mandir}/man3/hunspell.3*
diff --git a/hunspell-install.patch b/hunspell-install.patch
new file mode 100644
index 0000000..1cb9a45
--- /dev/null
+++ b/hunspell-install.patch
@@ -0,0 +1,9 @@
+--- hunspell-1.3.3/man/hu/Makefile.am.orig	2014-05-28 10:59:11.000000000 +0200
++++ hunspell-1.3.3/man/hu/Makefile.am	2014-06-29 10:01:33.835124410 +0200
+@@ -1,5 +1,5 @@
+ #mandir = $(DESTDIR)/share
+ man1dir = $(mandir)/hu/man1
+-man4dir = $(mandir)/hu/man4
++man5dir = $(mandir)/hu/man5
+ man_MANS = hunspell.1 hunspell.5
+ EXTRA_DIST = $(man_MANS)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/hunspell.git/commitdiff/954dfa9c0dc44130c38e5a465fb5f4ef127d2362



More information about the pld-cvs-commit mailing list