|
@@ -1,17 +1,17 @@
|
|
|
Name: hunspell
|
|
|
Summary: A spell checker and morphological analyzer library
|
|
|
-Version: 1.3.2
|
|
|
+Version: 1.7.0
|
|
|
Release: 1%{?_dist_release}
|
|
|
-Source0: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
|
|
|
+Group: System Environment/Libraries
|
|
|
+
|
|
|
+License: LGPLv2+ or GPLv2+ or MPLv1.1
|
|
|
+URL: https://github.com/hunspell/hunspell
|
|
|
+Source: https://github.com/hunspell/hunspell/archive/v%{version}.tar.gz#/hunspell-%{version}.tar.gz
|
|
|
Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell
|
|
|
Source2: http://people.redhat.com/caolanm/hunspell/wordlist2hunspell
|
|
|
Source100: find-requires-hunspell.sh
|
|
|
-Group: System Environment/Libraries
|
|
|
-URL: http://hunspell.sourceforge.net/
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
-License: LGPLv2+ or GPLv2+ or MPLv1.1
|
|
|
BuildRequires: libtool, ncurses-devel
|
|
|
-Patch0: hunspell.rhbz759647.patch
|
|
|
|
|
|
#define __find_requires %{SOURCE100}
|
|
|
%define __perl_requires %{SOURCE100}
|
|
@@ -32,20 +32,15 @@ Includes and definitions for developing with hunspell
|
|
|
|
|
|
%prep
|
|
|
%setup -q
|
|
|
-%patch0 -p0 -b .rhbz759647
|
|
|
|
|
|
%build
|
|
|
-libtoolize --automake --force
|
|
|
-aclocal -I m4
|
|
|
-autoconf
|
|
|
-automake
|
|
|
-%configure --disable-static --with-ui --with-readline
|
|
|
-for i in man/*.? man/hu/*.?; do
|
|
|
- iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
|
|
|
- mv -f $i.new $i
|
|
|
-done
|
|
|
+autoreconf -vfi
|
|
|
+%configure --disable-rpath --disable-static --with-ui --with-readline
|
|
|
+
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
+cd po && make %{?_smp_mflags} update-gmo && cd ..
|
|
|
+
|
|
|
%install
|
|
|
rm -rf %{buildroot}
|
|
|
make DESTDIR=%{buildroot} install
|
|
@@ -72,14 +67,13 @@ make check
|
|
|
|
|
|
%files -f %{name}.lang
|
|
|
%defattr(-,root,root,-)
|
|
|
-%doc README README.myspell COPYING COPYING.LGPL COPYING.MPL AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS
|
|
|
+%license COPYING COPYING.LESSER COPYING.MPL
|
|
|
+%doc README AUTHORS license.hunspell license.myspell THANKS
|
|
|
%{_libdir}/*.so.*
|
|
|
%{_datadir}/myspell
|
|
|
%{_bindir}/hunspell
|
|
|
-%{_mandir}/man1/hunspell.1.gz
|
|
|
-%{_mandir}/man4/hunspell.4.gz
|
|
|
+%{_mandir}/man1/hunspell.1*
|
|
|
%lang(hu) %{_mandir}/hu/man1/hunspell.1.gz
|
|
|
-%lang(hu) %{_mandir}/hu/man4/hunspell.4.gz
|
|
|
|
|
|
%files devel
|
|
|
%defattr(-,root,root,-)
|
|
@@ -97,11 +91,15 @@ make check
|
|
|
%{_bindir}/wordlist2hunspell
|
|
|
%{_bindir}/wordforms
|
|
|
%{_libdir}/pkgconfig/hunspell.pc
|
|
|
-%{_mandir}/man1/hunzip.1.gz
|
|
|
-%{_mandir}/man1/hzip.1.gz
|
|
|
-%{_mandir}/man3/hunspell.3.gz
|
|
|
+%{_mandir}/man1/hunzip.1*
|
|
|
+%{_mandir}/man1/hzip.1*
|
|
|
+%{_mandir}/man3/hunspell.3*
|
|
|
+%{_mandir}/man5/hunspell.5*
|
|
|
|
|
|
%changelog
|
|
|
+* Tue Oct 22 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.7.0-1
|
|
|
+- new upstream release.
|
|
|
+
|
|
|
* Tue Mar 06 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.3.2-1
|
|
|
- updated to 1.3.2
|
|
|
- import Patch0 from Fedora (rhbz#759647 temp file name collision)
|
|
@@ -141,10 +139,10 @@ make check
|
|
|
- Drop ABI breaking hunspell-1.2.2-xulrunner.pita.patch and fix the
|
|
|
hunspell include in xulrunner.
|
|
|
|
|
|
-* Fri Jun 18 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4.2-1
|
|
|
+* Wed Jun 18 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4.2-1
|
|
|
- latest version
|
|
|
|
|
|
-* Thu Jun 17 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4-1
|
|
|
+* Tue Jun 17 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4-1
|
|
|
- latest version
|
|
|
|
|
|
* Fri May 16 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.2-3
|