--- /dev/null
+--- 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)
-# 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
%prep
%setup -q
+%patch0 -p1
%build
%{__gettextize}
%{_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)
%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*