1 Summary: Hunspell is a spell checker and morphological analyzer library
5 Source0: http://dl.sourceforge.net/hunspell/%{name}-%{version}.tar.gz
6 # Source0-md5: 4cf2dfb89dd58392ad5a1183c69eb628
9 URL: http://hunspell.sourceforge.net/
10 Patch0: %{name}-sharedlibs.patch
11 Patch1: %{name}-defaultdictfromlang.patch
12 Patch2: %{name}-capi.patch
13 BuildRequires: libtool
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Hunspell is a spell checker and morphological analyzer library and
18 program designed for languages with rich morphology and complex word
19 compounding or character encoding. Hunspell interfaces: Ispell-like
20 terminal interface using Curses library, Ispell pipe interface,
21 OpenOffice.org UNO module.
23 # NOTE: munch,unmunch collide with myspell-devel
25 Summary: hunspell tools
26 Group: Development/Libraries
27 Requires: %{name} = %{version}-%{release}
30 This package contains munch and unmunch programs.
33 Summary: Files for developing with hunspell
34 Group: Development/Libraries
35 Requires: %{name} = %{version}-%{release}
38 Includes and definitions for developing with hunspell
41 Summary: Static hunspell library
42 Group: Development/Libraries
43 Requires: %{name}-devel = %{version}-%{release}
46 Static hunspell library.
63 rm -rf $RPM_BUILD_ROOT
65 DESTDIR=$RPM_BUILD_ROOT
69 rm -f $RPM_BUILD_ROOT%{_bindir}/example
72 rm -rf $RPM_BUILD_ROOT
74 %post -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
77 %files -f %{name}.lang
78 %defattr(644,root,root,755)
79 %doc README README.myspell AUTHORS AUTHORS.myspell license.hunspell license.myspell THANKS
80 %attr(755,root,root) %{_bindir}/hunmorph
81 %attr(755,root,root) %{_bindir}/hunspell
82 %attr(755,root,root) %{_bindir}/hunstem
83 %attr(755,root,root) %{_libdir}/libhunspell.so.*.*.*
84 %{_mandir}/man1/hunspell.1*
85 %{_mandir}/man4/hunspell.4*
86 %lang(hu) %{_mandir}/hu/man1/hunspell.1*
87 %lang(hu) %{_mandir}/hu/man4/hunspell.4*
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_bindir}/munch
92 %attr(755,root,root) %{_bindir}/unmunch
95 %defattr(644,root,root,755)
96 %{_libdir}/libhunspell.so
97 %{_libdir}/libhunspell.la
98 %{_includedir}/%{name}
99 %{_pkgconfigdir}/hunspell.pc
102 %defattr(644,root,root,755)
103 %{_libdir}/libhunspell.a
104 %{_libdir}/libparsers.a