2007-02-09 11:47:49 +00:00
|
|
|
Name: hunspell
|
|
|
|
Summary: Hunspell is a spell checker and morphological analyzer library
|
2007-11-05 14:36:04 +00:00
|
|
|
Version: 1.2.1
|
2007-11-09 14:26:47 +00:00
|
|
|
Release: 2%{?dist}
|
2007-11-05 14:36:04 +00:00
|
|
|
Source: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
|
2007-02-09 11:47:49 +00:00
|
|
|
Group: System Environment/Libraries
|
|
|
|
URL: http://hunspell.sourceforge.net/
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
2007-08-02 19:53:48 +00:00
|
|
|
License: LGPLv2+ or GPLv2+ or MPLv1.1
|
2007-06-29 13:03:22 +00:00
|
|
|
BuildRequires: libtool, ncurses-devel
|
2006-11-28 17:11:55 +00:00
|
|
|
|
2007-11-09 14:26:47 +00:00
|
|
|
Patch1: hunspell-pkgconfig.patch
|
|
|
|
|
2006-11-28 17:11:55 +00:00
|
|
|
%description
|
|
|
|
Hunspell is a spell checker and morphological analyzer library and program
|
|
|
|
designed for languages with rich morphology and complex word compounding or
|
|
|
|
character encoding. Hunspell interfaces: Ispell-like terminal interface using
|
|
|
|
Curses library, Ispell pipe interface, OpenOffice.org UNO module.
|
|
|
|
|
|
|
|
%package devel
|
2007-02-09 11:47:49 +00:00
|
|
|
Requires: hunspell = %{version}-%{release}, pkgconfig
|
2006-11-28 17:11:55 +00:00
|
|
|
Summary: Files for developing with hunspell
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Includes and definitions for developing with hunspell
|
|
|
|
|
|
|
|
%prep
|
2007-11-05 14:36:04 +00:00
|
|
|
%setup -q
|
2007-11-09 14:26:47 +00:00
|
|
|
%patch1 -p1 -b .pkgconfig.patch
|
2006-11-28 17:11:55 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
libtoolize --automake --force
|
|
|
|
aclocal -I m4
|
|
|
|
autoconf
|
|
|
|
automake
|
2007-05-21 08:25:41 +00:00
|
|
|
%configure --disable-static --with-ui --with-readline
|
2006-11-28 17:11:55 +00:00
|
|
|
for i in man/*.? man/hu/*.?; do
|
|
|
|
iconv -f ISO-8859-2 -t UTF-8 $i > $i.new
|
|
|
|
mv -f $i.new $i
|
|
|
|
done
|
2007-02-09 11:47:49 +00:00
|
|
|
make %{?_smp_mflags}
|
2006-11-28 17:11:55 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-02-09 11:47:49 +00:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2006-11-28 17:11:55 +00:00
|
|
|
%find_lang %{name}
|
2006-11-28 17:13:58 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
|
2006-11-28 17:11:55 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT/%{_bindir}/example
|
|
|
|
mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell
|
2007-05-21 08:25:41 +00:00
|
|
|
mv $RPM_BUILD_ROOT/%{_includedir}/*munch* $RPM_BUILD_ROOT/%{_includedir}/%{name}
|
2006-11-28 17:11:55 +00:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f %{name}.lang
|
2007-02-09 11:47:49 +00:00
|
|
|
%defattr(-,root,root,-)
|
2006-11-28 17:11:55 +00:00
|
|
|
%doc README README.myspell COPYING COPYING.LGPL COPYING.MPL AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_datadir}/myspell
|
|
|
|
%{_bindir}/hunspell
|
|
|
|
%{_mandir}/man1/hunspell.1.gz
|
|
|
|
%{_mandir}/man4/hunspell.4.gz
|
2007-10-08 07:31:28 +00:00
|
|
|
%lang(hu) %{_mandir}/hu/man1/hunspell.1.gz
|
|
|
|
%lang(hu) %{_mandir}/hu/man4/hunspell.4.gz
|
2006-11-28 17:11:55 +00:00
|
|
|
|
|
|
|
%files devel
|
2007-02-09 11:47:49 +00:00
|
|
|
%defattr(-,root,root,-)
|
2006-11-28 17:11:55 +00:00
|
|
|
%{_includedir}/%{name}
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_bindir}/munch
|
|
|
|
%{_bindir}/unmunch
|
2007-11-05 14:36:04 +00:00
|
|
|
%{_bindir}/analyze
|
|
|
|
%{_bindir}/chmorph
|
2007-01-19 19:06:29 +00:00
|
|
|
%{_libdir}/pkgconfig/hunspell.pc
|
2006-11-28 17:11:55 +00:00
|
|
|
|
|
|
|
%changelog
|
2007-11-09 14:26:47 +00:00
|
|
|
* Fri Nov 09 2007 Caolan McNamara <caolanm@redhat.com> - 1.2.1-2
|
|
|
|
- pkg-config cockup
|
|
|
|
|
2007-11-05 14:36:04 +00:00
|
|
|
* Mon Nov 05 2007 Caolan McNamara <caolanm@redhat.com> - 1.2.1-1
|
|
|
|
- latest version
|
|
|
|
|
2007-10-08 07:31:28 +00:00
|
|
|
* Mon Oct 08 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.12.2-2
|
|
|
|
- lang fix for man pages from Ville Skyttä
|
|
|
|
|
2007-09-05 16:32:47 +00:00
|
|
|
* Wed Sep 05 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.12.2-1
|
|
|
|
- next version
|
|
|
|
|
2007-08-28 07:15:28 +00:00
|
|
|
* Tue Aug 28 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.11.2-1
|
|
|
|
- next version
|
|
|
|
|
2007-08-24 15:45:18 +00:00
|
|
|
* Fri Aug 24 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.10-1
|
|
|
|
- next version
|
|
|
|
|
2007-08-02 19:53:48 +00:00
|
|
|
* Thu Aug 02 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.9-2
|
|
|
|
- clarify license
|
|
|
|
|
2007-07-25 13:26:09 +00:00
|
|
|
* Wed Jul 25 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.9-1
|
|
|
|
- latest version
|
|
|
|
|
2007-07-18 12:03:57 +00:00
|
|
|
* Wed Jul 18 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.8.2-1
|
|
|
|
- latest version
|
|
|
|
|
2007-07-17 11:28:19 +00:00
|
|
|
* Tue Jul 17 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.8-1
|
|
|
|
- latest version
|
|
|
|
|
2007-07-07 16:29:32 +00:00
|
|
|
* Sat Jul 07 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.7-1
|
|
|
|
- latest version
|
|
|
|
- drop integrated hunspell-1.1.5.freem.patch
|
|
|
|
|
2007-06-29 13:03:22 +00:00
|
|
|
* Fri Jun 29 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.6-1
|
|
|
|
- latest version
|
|
|
|
- drop integrated hunspell-1.1.4-defaultdictfromlang.patch
|
|
|
|
- drop integrated hunspell-1.1.5-badheader.patch
|
|
|
|
- drop integrated hunspell-1.1.5.encoding.patch
|
|
|
|
|
2007-06-29 11:31:21 +00:00
|
|
|
* Fri Jun 29 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-5
|
|
|
|
- fix memory leak
|
|
|
|
http://sourceforge.net/tracker/index.php?func=detail&aid=1745263&group_id=143754&atid=756395
|
|
|
|
|
2007-06-06 11:07:19 +00:00
|
|
|
* Wed Jun 06 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-4
|
|
|
|
- Resolves: rhbz#212984 discovered problem with missing wordchars
|
|
|
|
|
2007-05-22 11:42:41 +00:00
|
|
|
* Tue May 22 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-3
|
|
|
|
- Resolves: rhbz#240696 extend encoding patch to promote and add
|
|
|
|
dictionary 8bit WORDCHARS to the ucs-2 word char list
|
|
|
|
|
2007-05-21 12:42:17 +00:00
|
|
|
* Mon May 21 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-2
|
|
|
|
- Resolves: rhbz#240696 add hunspell-1.1.5.encoding.patch
|
|
|
|
|
2007-05-21 08:25:41 +00:00
|
|
|
* Mon May 21 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-1
|
|
|
|
- patchlevel release
|
|
|
|
|
2007-03-20 10:51:37 +00:00
|
|
|
* Tue Mar 20 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5-2
|
|
|
|
- some junk in delivered headers
|
|
|
|
|
2007-03-20 09:08:14 +00:00
|
|
|
* Tue Mar 20 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5-1
|
|
|
|
- next version
|
|
|
|
|
2007-02-09 11:47:49 +00:00
|
|
|
* Fri Feb 09 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.4-6
|
|
|
|
- some spec cleanups
|
|
|
|
|
2007-01-19 19:06:29 +00:00
|
|
|
* Fri Jan 19 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.4-5
|
|
|
|
- .pc
|
|
|
|
|
2007-01-11 17:17:41 +00:00
|
|
|
* Thu Jan 11 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.4-4
|
|
|
|
- fix out of range
|
|
|
|
|
2006-12-15 12:37:11 +00:00
|
|
|
* Fri Dec 15 2006 Caolan McNamara <caolanm@redhat.com> - 1.1.4-3
|
|
|
|
- hunspell#1616353 simple c api for hunspell
|
|
|
|
|
2006-11-29 19:52:35 +00:00
|
|
|
* Wed Nov 29 2006 Caolan McNamara <caolanm@redhat.com> - 1.1.4-2
|
|
|
|
- add hunspell-1.1.4-defaultdictfromlang.patch to take locale as default
|
|
|
|
dictionary
|
|
|
|
|
2006-11-28 17:11:55 +00:00
|
|
|
* Wed Oct 25 2006 Caolan McNamara <caolanm@redhat.com> - 1.1.4-1
|
|
|
|
- initial version
|