1 Summary: Hunspell - a spell checker and morphological analyzer library
2 Summary(hu.UTF-8): Hunspell egy helyesírás-ellenőrző és morfológiai elemző könyvtár és program
3 Summary(pl.UTF-8): hunspell - biblioteka do sprawdzania pisowni i analizy morfologicznej
7 License: MPL v1.1 or GPL v2+ or LGPL v2.1+
9 Source0: http://downloads.sourceforge.net/hunspell/%{name}-%{version}.tar.gz
10 # Source0-md5: 4967da60b23413604c9e563beacc63b4
11 Patch0: %{name}-install.patch
12 URL: http://hunspell.sourceforge.net/
13 BuildRequires: autoconf >= 2.59
14 BuildRequires: automake
15 BuildRequires: gettext-devel >= 0.17
16 BuildRequires: libstdc++-devel
17 BuildRequires: libtool >= 2:1.5
18 BuildRequires: ncurses-devel >= 5.0
19 BuildRequires: readline-devel
20 %ifarch %{x8664} ia64 ppc64 s390x sparc64
21 Provides: libhunspell.so.1()(64bit)
23 Provides: libhunspell.so.1
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 Hunspell is a spell checker and morphological analyzer library and
29 program designed for languages with rich morphology and complex word
30 compounding or character encoding. Hunspell interfaces: Ispell-like
31 terminal interface using Curses library, Ispell pipe interface,
32 OpenOffice.org UNO module.
34 %description -l hu.UTF-8
35 Hunspell is a spell checker and morphological analyzer library and
36 program designed for languages with rich morphology and complex word
37 compounding or character encoding. Hunspell interfaces: Ispell-like
38 terminal interface using Curses library, Ispell pipe interface,
39 OpenOffice.org UNO module.
41 %description -l pl.UTF-8
42 hunspell to biblioteka oraz program do sprawdzania pisowni i analizy
43 morfologicznej zaprojektowany dla języków z bogatą morfologią i
44 zkomplikowanym składaniem słów lub kodowaniem znaków. Interfejsy
45 hunspella to: interfejs terminalowy w stylu Ispella korzystający z
46 biblioteki Curses, interfejs potokowy Ispella, moduł UNO
49 # NOTE: munch,unmunch collide with myspell-tools
51 Summary: hunspell tools
52 Summary(pl.UTF-8): Narzędzia hunspella
53 Group: Development/Libraries
54 Requires: %{name} = %{version}-%{release}
57 This package contains hunspell utilities, including munch and unmunch.
59 %description tools -l pl.UTF-8
60 Ten pakiet zawiera narzędzia dla hunspella, w tym programy munch i
64 Summary: Files for developing with hunspell
65 Summary(pl.UTF-8): Pliki do programowania z użyciem hunspella
66 Group: Development/Libraries
67 Requires: %{name} = %{version}-%{release}
68 Requires: libstdc++-devel
71 Includes and definitions for developing with hunspell.
73 %description devel -l hu.UTF-8
74 Header-fájlok és definíciók hunspell-lel való fejlesztéshez.
76 %description devel -l pl.UTF-8
77 Pliki nagłówkowe i definicje do programowania z użyciem hunspella.
80 Summary: Static hunspell library
81 Summary(pl.UTF-8): Statyczna biblioteka hunspella
82 Group: Development/Libraries
83 Requires: %{name}-devel = %{version}-%{release}
86 Static hunspell library.
88 %description static -l hu.UTF-8
89 Hunspell statikus könyvtár.
91 %description static -l pl.UTF-8
92 Statyczna biblioteka hunspella.
104 CPPFLAGS="-I/usr/include/ncurses"
112 rm -rf $RPM_BUILD_ROOT
115 DESTDIR=$RPM_BUILD_ROOT
117 ln -sf $(basename $RPM_BUILD_ROOT%{_libdir}/libhunspell-1.3.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libhunspell.so.1
121 rm -rf $RPM_BUILD_ROOT
123 %post -p /sbin/ldconfig
124 %postun -p /sbin/ldconfig
126 %files -f %{name}.lang
127 %defattr(644,root,root,755)
128 %doc AUTHORS AUTHORS.myspell COPYING ChangeLog NEWS README README.myspell THANKS license.hunspell license.myspell
129 %attr(755,root,root) %{_bindir}/hunspell
130 %attr(755,root,root) %{_bindir}/hunzip
131 %attr(755,root,root) %{_bindir}/hzip
132 %attr(755,root,root) %{_libdir}/libhunspell-1.3.so.*.*.*
133 %attr(755,root,root) %ghost %{_libdir}/libhunspell-1.3.so.0
134 %attr(755,root,root) %{_libdir}/libhunspell.so.1
135 %{_mandir}/man1/hunzip.1*
136 %{_mandir}/man1/hzip.1*
137 %{_mandir}/man1/hunspell.1*
138 %{_mandir}/man5/hunspell.5*
139 %lang(hu) %{_mandir}/hu/man1/hunspell.1*
140 %lang(hu) %{_mandir}/hu/man5/hunspell.5*
143 %defattr(644,root,root,755)
144 %attr(755,root,root) %{_bindir}/affixcompress
145 %attr(755,root,root) %{_bindir}/analyze
146 %attr(755,root,root) %{_bindir}/chmorph
147 %attr(755,root,root) %{_bindir}/ispellaff2myspell
148 %attr(755,root,root) %{_bindir}/makealias
149 %attr(755,root,root) %{_bindir}/munch
150 %attr(755,root,root) %{_bindir}/unmunch
151 %attr(755,root,root) %{_bindir}/wordforms
152 %attr(755,root,root) %{_bindir}/wordlist2hunspell
155 %defattr(644,root,root,755)
156 %attr(755,root,root) %{_libdir}/libhunspell-1.3.so
157 %{_libdir}/libhunspell-1.3.la
158 %{_includedir}/hunspell
159 %{_pkgconfigdir}/hunspell.pc
160 %{_mandir}/man3/hunspell.3*
163 %defattr(644,root,root,755)
164 %{_libdir}/libhunspell-1.3.a