hunspell/hunspell.spec

262 lines
8.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
2008-11-02 14:36:29 +00:00
Version: 1.2.8
2009-06-24 15:09:16 +00:00
Release: 6%{?dist}
2008-07-27 11:00:51 +00:00
Source0: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
2008-03-05 09:47:16 +00:00
Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell
2008-09-09 08:59:14 +00:00
Source2: http://people.redhat.com/caolanm/hunspell/wordlist2hunspell
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
Patch1: hunspell-1.2.7-2314461.ispell-alike.patch
Patch2: hunspell-1.2.8-2784983.defaultlanguage.patch
2009-06-25 09:53:50 +00:00
Patch3: hunspell-1.2.8-2812045.warnings.fortify.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
%patch1 -p1 -b .ispell-alike.patch
%patch2 -p1 -b .defaultlanguage.patch
2009-06-24 15:09:16 +00:00
%patch3 -p1 -b .warnings.fortify.patch
2008-06-17 19:22:17 +00:00
# Filter unwanted Requires for the "use explicitely" string in ispellaff2myspell
2008-03-05 09:47:16 +00:00
cat << \EOF > %{name}-req
#!/bin/sh
%{__perl_requires} $* |\
sed -e '/perl(explicitely)/d'
EOF
2008-07-27 11:00:51 +00:00
%define __perl_requires %{_builddir}/%{name}-%{version}/%{name}-req
2008-03-05 09:47:16 +00:00
chmod +x %{__perl_requires}
%build
libtoolize --automake --force
aclocal -I m4
autoconf
automake
2007-05-21 08:25:41 +00:00
%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
2007-02-09 11:47:49 +00:00
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
2007-02-09 11:47:49 +00:00
make DESTDIR=$RPM_BUILD_ROOT install
%find_lang %{name}
2006-11-28 17:13:58 +00:00
rm -f $RPM_BUILD_ROOT/%{_libdir}/*.a
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}
2008-09-23 21:52:09 +00:00
install -m 755 src/tools/affixcompress $RPM_BUILD_ROOT/%{_bindir}/affixcompress
install -m 755 src/tools/makealias $RPM_BUILD_ROOT/%{_bindir}/makealias
2008-11-02 14:36:29 +00:00
install -m 755 src/tools/wordforms $RPM_BUILD_ROOT/%{_bindir}/wordforms
2008-03-05 09:47:16 +00:00
install -m 755 %{SOURCE1} $RPM_BUILD_ROOT/%{_bindir}/ispellaff2myspell
2008-09-09 08:59:14 +00:00
install -m 755 %{SOURCE2} $RPM_BUILD_ROOT/%{_bindir}/wordlist2hunspell
%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
2009-06-24 15:09:16 +00:00
* Wed Jun 24 2009 Caolan McNamara <caolanm@redhat.com> - 1.2.8-6
- Resolves: rhbz#507829 fortify fixes
* Fri May 01 2009 Caolan 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
2008-11-23 14:24:35 +00:00
* Sun Nov 23 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.8-3
- tweak summary
* Wed Nov 19 2008 Caolan 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
2008-11-02 14:36:29 +00:00
* Sun Nov 02 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.8-1
- latest version
2008-10-18 16:12:30 +00:00
* Sat Oct 18 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.7-5
- sort as per "C" locale
2008-10-17 08:23:58 +00:00
* Fri Oct 17 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.7-4
- make wordlist2hunspell remove blank lines
* Mon Sep 15 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.7-3
- Workaround rhbz#462184 uniq/sort problems with viramas
2008-09-09 08:59:14 +00:00
* Tue Sep 09 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.7-2
- add wordlist2hunspell
2008-08-23 18:54:33 +00:00
* Sat Aug 23 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.7-1
- latest version
2008-07-29 08:19:28 +00:00
* Tue Jul 29 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.6-1
- latest version
2008-07-27 11:00:51 +00:00
* Sun Jul 27 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.5-1
- 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.
2008-06-19 07:56:24 +00:00
* Fri Jun 18 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4.2-1
- latest version
2008-06-17 19:22:17 +00:00
* Thu Jun 17 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.4-1
- latest version
2008-05-16 13:59:29 +00:00
* Fri May 16 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.2-3
- Resolves: rhbz#446821 fix crash
* Wed May 14 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.2-2
- give xulrunner what it needs so we can get on with it
2008-04-18 17:54:54 +00:00
* Fri Apr 18 2008 Caolan 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
2008-03-05 09:47:16 +00:00
* Wed Mar 05 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.1-6
- 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
2008-01-03 16:07:16 +00:00
* Thu Jan 03 2008 Caolan McNamara <caolanm@redhat.com> - 1.2.1-4
- add hunspell-1.2.1-1863239.badstructs.patch
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
* 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
* Wed Jun 06 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-4
- Resolves: rhbz#212984 discovered problem with missing wordchars
* 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
* 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
* 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
* Wed Oct 25 2006 Caolan McNamara <caolanm@redhat.com> - 1.1.4-1
- initial version