From ae834a46cb6dd8fe2078cb56c623341caee3df6a Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Tue, 9 Sep 2008 08:59:14 +0000 Subject: [PATCH] add wordlist2hunspell --- .cvsignore | 1 + hunspell.spec | 8 +++++++- sources | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.cvsignore b/.cvsignore index 22cf8e3..d918df0 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1,3 @@ ispellaff2myspell +wordlist2hunspell hunspell-1.2.7.tar.gz diff --git a/hunspell.spec b/hunspell.spec index 1939f72..207944b 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -1,9 +1,10 @@ Name: hunspell Summary: Hunspell is a spell checker and morphological analyzer library Version: 1.2.7 -Release: 1%{?dist} +Release: 2%{?dist} Source0: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell +Source2: http://people.redhat.com/caolanm/hunspell/wordlist2hunspell Group: System Environment/Libraries URL: http://hunspell.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -58,6 +59,7 @@ rm -f $RPM_BUILD_ROOT/%{_bindir}/example mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell mv $RPM_BUILD_ROOT/%{_includedir}/*munch* $RPM_BUILD_ROOT/%{_includedir}/%{name} install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/ispellaff2myspell +install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/%{_bindir}/wordlist2hunspell %clean rm -rf $RPM_BUILD_ROOT @@ -88,12 +90,16 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/hzip %{_bindir}/hunzip %{_bindir}/ispellaff2myspell +%{_bindir}/wordlist2hunspell %{_libdir}/pkgconfig/hunspell.pc %{_mandir}/man1/hunzip.1.gz %{_mandir}/man1/hzip.1.gz %{_mandir}/man3/hunspell.3.gz %changelog +* Tue Sep 09 2008 Caolan McNamara - 1.2.7-2 +- add wordlist2hunspell + * Sat Aug 23 2008 Caolan McNamara - 1.2.7-1 - latest version diff --git a/sources b/sources index a12dc75..a67d75b 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ 1c5ea5ecd2481ddc116d65ea294acae3 ispellaff2myspell +74ff5f41aaffbe5cda060ba67b179fed wordlist2hunspell 9a4f345c3cfaeb8e6306285488a3127a hunspell-1.2.7.tar.gz