hunspell/hunspell.spec

298 lines
9.4 KiB
RPMSpec
Raw Normal View History

2007-02-09 11:47:49 +00:00
Name: hunspell
2008-11-23 14:24:35 +00:00
Summary: A spell checker and morphological analyzer library
2010-05-06 13:39:58 +00:00
Version: 1.2.11
2010-07-05 09:52:42 +00:00
Release: 3%{?dist}
2010-03-03 20:42:03 +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
2010-03-03 20:42:03 +00:00
BuildRequires: ncurses-devel
2010-06-22 10:28:53 +00:00
%ifarch %{ix86} x86_64
BuildRequires: valgrind
%endif
Patch0: hunspell-1.2.11-valgrind.patch
2010-07-05 09:52:42 +00:00
Patch1: hunspell-1.2.11-koreansupport.patch
%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
Summary: Files for developing with hunspell
Group: Development/Libraries
%description devel
Includes and definitions for developing with hunspell
%prep
2008-07-27 11:00:51 +00:00
%setup -q
2010-06-22 10:28:53 +00:00
%patch0 -p1 -b .valgrind
2010-07-05 09:52:42 +00:00
%patch1 -p0 -b .koreansupport
%build
2009-07-09 08:11:07 +00:00
%configure --disable-rpath --disable-static --with-ui --with-readline
2007-02-09 11:47:49 +00:00
make %{?_smp_mflags}
2009-07-22 14:24:26 +00:00
%check
2010-07-05 10:00:08 +00:00
chmod u+x tests/korean.test
2010-06-22 10:28:53 +00:00
%ifarch %{ix86} x86_64
VALGRIND=memcheck make check
%else
make check
%endif
2009-07-22 14:24:26 +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:13:58 +00:00
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la
mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell
2009-07-09 08:11:07 +00:00
%find_lang %{name}
%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,-)
%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
%lang(hu) %{_mandir}/hu/man1/hunspell.1.gz
%lang(hu) %{_mandir}/hu/man4/hunspell.4.gz
%files devel
2007-02-09 11:47:49 +00:00
%defattr(-,root,root,-)
%{_includedir}/%{name}
%{_libdir}/*.so
2008-09-23 21:52:09 +00:00
%{_bindir}/affixcompress
%{_bindir}/makealias
%{_bindir}/munch
%{_bindir}/unmunch
2007-11-05 14:36:04 +00:00
%{_bindir}/analyze
%{_bindir}/chmorph
2008-04-18 17:52:54 +00:00
%{_bindir}/hzip
%{_bindir}/hunzip
2008-03-05 09:47:16 +00:00
%{_bindir}/ispellaff2myspell
2008-09-09 08:59:14 +00:00
%{_bindir}/wordlist2hunspell
2008-11-02 14:36:29 +00:00
%{_bindir}/wordforms
2007-01-19 19:06:29 +00:00
%{_libdir}/pkgconfig/hunspell.pc
2008-06-17 19:22:17 +00:00
%{_mandir}/man1/hunzip.1.gz
%{_mandir}/man1/hzip.1.gz
%{_mandir}/man3/hunspell.3.gz
%changelog
2010-07-05 09:52:42 +00:00
* Mon Jul 05 2010 Caolán McNamara <caolanm@redhat.com> - 1.2.11-3
- add korean Hangul syllable support
2010-06-22 10:28:53 +00:00
* Tue Jun 22 2010 Caolán McNamara <caolanm@redhat.com> - 1.2.11-2
- use valgrind in make check
* Thu May 06 2010 Caolán McNamara <caolanm@redhat.com> - 1.2.11-1
2010-05-06 13:39:58 +00:00
- Resolves: rhbz#589326 wrong malloc
2010-06-22 10:28:53 +00:00
* Fri Apr 30 2010 Caolán McNamara <caolanm@redhat.com> - 1.2.10-1
2010-04-30 10:12:49 +00:00
- latest version
2010-06-22 10:28:53 +00:00
* Thu Mar 04 2010 Caolán McNamara <caolanm@redhat.com> - 1.2.9-2
- Resolves: ooo#107768 hunspell-1.2.9-stacksmash.patch
2010-06-22 10:28:53 +00:00
* Wed Mar 03 2010 Caolán McNamara <caolanm@redhat.com> - 1.2.9-1
2010-03-03 20:42:03 +00:00
- latest version, drop all upstreamed patchs
2010-06-22 10:28:53 +00:00
* Mon Mar 01 2010 Caolán McNamara <caolanm@redhat.com> - 1.2.8-17
- Resolves: rhbz#569449 hu man dir now exists in filesystem
2010-06-22 10:28:53 +00:00
* Mon Jan 18 2010 Caolán McNamara <caolanm@redhat.com> - 1.2.8-16
- Resolves: rhbz#554876 fix suggestmgr crash
2010-06-22 10:28:53 +00:00
* Tue Jan 05 2010 Caolán McNamara <caolanm@redhat.com> - 1.2.8-15
2010-01-05 11:27:13 +00:00
- Remove bad const warnings
2010-06-22 10:28:53 +00:00
* Mon Dec 21 2009 Caolán McNamara <caolanm@redhat.com> - 1.2.8-14
2009-12-21 12:26:03 +00:00
- Preserve timestamps
2010-06-22 10:28:53 +00:00
* Tue Dec 08 2009 Caolán McNamara <caolanm@redhat.com> - 1.2.8-13
- Resolves: rhbz#544372 survive having no HOME
2010-06-22 10:28:53 +00:00
* Thu Jul 30 2009 Caolán McNamara <caolanm@redhat.com> - 1.2.8-12
- handle some other interesting edge-cases
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.8-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2010-06-22 10:28:53 +00:00
* Thu Jul 23 2009 Caolán McNamara <caolanm@redhat.com> - 1.2.8-10
2009-07-22 14:24:26 +00:00
- run tests in check
2010-06-22 10:28:53 +00:00
* Thu Jul 09 2009 Caolán McNamara <caolanm@redhat.com> - 1.2.8-9
2009-07-09 09:13:20 +00:00
- Resolves: rhbz#510360 unowned dirs
2009-07-09 08:13:52 +00:00
- fix up rpmlint warnings
2010-06-22 10:28:53 +00:00
* Tue Jul 07 2009 Caolán McNamara <caolanm@redhat.com> - 1.2.8-8
- Resolves: rhbz#509882 ignore an empty LANGUAGE variable
2010-06-22 10:28:53 +00:00
* Fri Jun 26 2009 Caolán McNamara <caolanm@redhat.com> - 1.2.8-7
- Related: rhbz#498556 default to something sensible in "C" locale
for language
2010-06-22 10:28:53 +00:00
* Wed Jun 24 2009 Caolán McNamara <caolanm@redhat.com> - 1.2.8-6
2009-06-24 15:09:16 +00:00
- Resolves: rhbz#507829 fortify fixes
2010-06-22 10:28:53 +00:00
* Fri May 01 2009 Caolán McNamara <caolanm@redhat.com> - 1.2.8-5
- Resolves: rhbz#498556 fix default language detection
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
2010-06-22 10:28:53 +00:00
* Sun Nov 23 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.8-3
2008-11-23 14:24:35 +00:00
- tweak summary
2010-06-22 10:28:53 +00:00
* Wed Nov 19 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.8-2
- Resolves: rhbz#471085 in ispell compatible mode (-a), ignore
-m option which means something different to ispell
2010-06-22 10:28:53 +00:00
* Sun Nov 02 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.8-1
2008-11-02 14:36:29 +00:00
- latest version
2010-06-22 10:28:53 +00:00
* Sat Oct 18 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.7-5
2008-10-18 16:12:30 +00:00
- sort as per "C" locale
2010-06-22 10:28:53 +00:00
* Fri Oct 17 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.7-4
2008-10-17 08:23:58 +00:00
- make wordlist2hunspell remove blank lines
2010-06-22 10:28:53 +00:00
* Mon Sep 15 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.7-3
- Workaround rhbz#462184 uniq/sort problems with viramas
2010-06-22 10:28:53 +00:00
* Tue Sep 09 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.7-2
2008-09-09 08:59:14 +00:00
- add wordlist2hunspell
2010-06-22 10:28:53 +00:00
* Sat Aug 23 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.7-1
2008-08-23 18:54:33 +00:00
- latest version
2010-06-22 10:28:53 +00:00
* Tue Jul 29 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.6-1
2008-07-29 08:19:28 +00:00
- latest version
2010-06-22 10:28:53 +00:00
* Sun Jul 27 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.5-1
2008-07-27 11:00:51 +00:00
- latest version
* Tue Jul 22 2008 Kristian Høgsberg <krh@redhat.com> - 1.2.4.2-2
- Drop ABI breaking hunspell-1.2.2-xulrunner.pita.patch and fix the
hunspell include in xulrunner.
2010-06-22 10:28:53 +00:00
* Fri Jun 18 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.4.2-1
2008-06-19 07:56:24 +00:00
- latest version
2010-06-22 10:28:53 +00:00
* Thu Jun 17 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.4-1
2008-06-17 19:22:17 +00:00
- latest version
2010-06-22 10:28:53 +00:00
* Fri May 16 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.2-3
2008-05-16 13:59:29 +00:00
- Resolves: rhbz#446821 fix crash
2010-06-22 10:28:53 +00:00
* Wed May 14 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.2-2
- give xulrunner what it needs so we can get on with it
2010-06-22 10:28:53 +00:00
* Fri Apr 18 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.2-1
2008-04-18 17:52:54 +00:00
- latest version
- drop integrated hunspell-1.2.1-1863239.badstructs.patch
2010-06-22 10:28:53 +00:00
* Wed Mar 05 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.1-6
2008-03-05 09:47:16 +00:00
- add ispellaff2myspell to devel
2008-02-18 22:18:41 +00:00
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.1-5
- Autorebuild for GCC 4.3
2010-06-22 10:28:53 +00:00
* Thu Jan 03 2008 Caolán McNamara <caolanm@redhat.com> - 1.2.1-4
- add hunspell-1.2.1-1863239.badstructs.patch
2010-06-22 10:28:53 +00:00
* Fri Nov 09 2007 Caolán McNamara <caolanm@redhat.com> - 1.2.1-2
2007-11-09 14:26:47 +00:00
- pkg-config cockup
2010-06-22 10:28:53 +00:00
* Mon Nov 05 2007 Caolán McNamara <caolanm@redhat.com> - 1.2.1-1
2007-11-05 14:36:04 +00:00
- latest version
2010-06-22 10:28:53 +00:00
* Mon Oct 08 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.12.2-2
- lang fix for man pages from Ville Skyttä
2010-06-22 10:28:53 +00:00
* Wed Sep 05 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.12.2-1
2007-09-05 16:32:47 +00:00
- next version
2010-06-22 10:28:53 +00:00
* Tue Aug 28 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.11.2-1
2007-08-28 07:15:28 +00:00
- next version
2010-06-22 10:28:53 +00:00
* Fri Aug 24 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.10-1
2007-08-24 15:45:18 +00:00
- next version
2010-06-22 10:28:53 +00:00
* Thu Aug 02 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.9-2
2007-08-02 19:53:48 +00:00
- clarify license
2010-06-22 10:28:53 +00:00
* Wed Jul 25 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.9-1
2007-07-25 13:26:09 +00:00
- latest version
2010-06-22 10:28:53 +00:00
* Wed Jul 18 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.8.2-1
2007-07-18 12:03:57 +00:00
- latest version
2010-06-22 10:28:53 +00:00
* Tue Jul 17 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.8-1
2007-07-17 11:28:19 +00:00
- latest version
2010-06-22 10:28:53 +00:00
* Sat Jul 07 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.7-1
2007-07-07 16:29:32 +00:00
- latest version
- drop integrated hunspell-1.1.5.freem.patch
2010-06-22 10:28:53 +00:00
* Fri Jun 29 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.6-1
2007-06-29 13:03:22 +00:00
- 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
2010-06-22 10:28:53 +00:00
* Fri Jun 29 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.5.3-5
2007-06-29 11:31:21 +00:00
- fix memory leak
http://sourceforge.net/tracker/index.php?func=detail&aid=1745263&group_id=143754&atid=756395
2010-06-22 10:28:53 +00:00
* Wed Jun 06 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.5.3-4
- Resolves: rhbz#212984 discovered problem with missing wordchars
2010-06-22 10:28:53 +00:00
* Tue May 22 2007 Caolán 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
2010-06-22 10:28:53 +00:00
* Mon May 21 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.5.3-2
- Resolves: rhbz#240696 add hunspell-1.1.5.encoding.patch
2010-06-22 10:28:53 +00:00
* Mon May 21 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.5.3-1
2007-05-21 08:25:41 +00:00
- patchlevel release
2010-06-22 10:28:53 +00:00
* Tue Mar 20 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.5-2
2007-03-20 10:51:37 +00:00
- some junk in delivered headers
2010-06-22 10:28:53 +00:00
* Tue Mar 20 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.5-1
2007-03-20 09:08:14 +00:00
- next version
2010-06-22 10:28:53 +00:00
* Fri Feb 09 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.4-6
2007-02-09 11:47:49 +00:00
- some spec cleanups
2010-06-22 10:28:53 +00:00
* Fri Jan 19 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.4-5
2007-01-19 19:06:29 +00:00
- .pc
2010-06-22 10:28:53 +00:00
* Thu Jan 11 2007 Caolán McNamara <caolanm@redhat.com> - 1.1.4-4
2007-01-11 17:17:41 +00:00
- fix out of range
2010-06-22 10:28:53 +00:00
* Fri Dec 15 2006 Caolán McNamara <caolanm@redhat.com> - 1.1.4-3
- hunspell#1616353 simple c api for hunspell
2010-06-22 10:28:53 +00:00
* Wed Nov 29 2006 Caolán McNamara <caolanm@redhat.com> - 1.1.4-2
2006-11-29 19:52:35 +00:00
- add hunspell-1.1.4-defaultdictfromlang.patch to take locale as default
dictionary
2010-06-22 10:28:53 +00:00
* Wed Oct 25 2006 Caolán McNamara <caolanm@redhat.com> - 1.1.4-1
- initial version