1 Summary: Hunspell - a spell checker and morphological analyzer
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 - narzędzie do sprawdzania pisowni i analizy morfologicznej
7 License: MPL v1.1 or GPL v2+ or LGPL v2.1+
8 Group: Applications/Text
9 #Source0Download: https://github.com/hunspell/hunspell/releases
10 Source0: https://github.com/hunspell/hunspell/archive/v%{version}/%{name}-%{version}.tar.gz
11 # Source0-md5: 33d370f7fe5a030985e445a5672b2067
12 Patch0: %{name}-install.patch
13 URL: http://hunspell.github.io/
14 BuildRequires: autoconf >= 2.59
15 BuildRequires: automake
16 BuildRequires: gettext-tools >= 0.17
17 BuildRequires: libstdc++-devel
18 BuildRequires: libtool >= 2:1.5
19 BuildRequires: ncurses-devel >= 5.0
20 BuildRequires: readline-devel
21 Requires: %{name}-libs = %{version}-%{release}
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Hunspell is a spell checker and morphological analyzer library and
26 program designed for languages with rich morphology and complex word
27 compounding or character encoding. Hunspell interfaces: Ispell-like
28 terminal interface using Curses library, Ispell pipe interface,
29 OpenOffice.org UNO module.
31 This package contains base programs (hunspell, hzip, hunzip).
33 %description -l hu.UTF-8
34 Hunspell is a spell checker and morphological analyzer library and
35 program designed for languages with rich morphology and complex word
36 compounding or character encoding. Hunspell interfaces: Ispell-like
37 terminal interface using Curses library, Ispell pipe interface,
38 OpenOffice.org UNO module.
40 %description -l pl.UTF-8
41 hunspell to biblioteka oraz program do sprawdzania pisowni i analizy
42 morfologicznej zaprojektowany dla języków z bogatą morfologią i
43 zkomplikowanym składaniem słów lub kodowaniem znaków. Interfejsy
44 hunspella to: interfejs terminalowy w stylu Ispella korzystający z
45 biblioteki Curses, interfejs potokowy Ispella, moduł UNO
48 Ten pakiet zawiera podstawowe programy (hunspell, hzip, hunzip).
51 Summary: hunspell tools
52 Summary(pl.UTF-8): Narzędzia hunspella
53 Group: Development/Tools
54 Requires: %{name} = %{version}-%{release}
55 Obsoletes: myspell-tools
58 This package contains hunspell utilities, including munch and unmunch.
60 %description tools -l pl.UTF-8
61 Ten pakiet zawiera narzędzia dla hunspella, w tym programy munch i
65 Summary: Hunspell spell checker and morphological analyzer library
66 Summary(pl.UTF-8): Biblioteka Hunspell do sprawdzania pisowni i analizy morfologicznej
70 Hunspell is a spell checker and morphological analyzer library and
71 program designed for languages with rich morphology and complex word
72 compounding or character encoding. Hunspell interfaces: Ispell-like
73 terminal interface using Curses library, Ispell pipe interface,
74 OpenOffice.org UNO module.
76 This package contains the shared library.
78 %description libs -l pl.UTF-8
79 hunspell to biblioteka oraz program do sprawdzania pisowni i analizy
80 morfologicznej zaprojektowany dla języków z bogatą morfologią i
81 zkomplikowanym składaniem słów lub kodowaniem znaków. Interfejsy
82 hunspella to: interfejs terminalowy w stylu Ispella korzystający z
83 biblioteki Curses, interfejs potokowy Ispella, moduł UNO
86 Ten pakiet zawiera bibliotekę współdzieloną.
89 Summary: Files for developing with hunspell
90 Summary(pl.UTF-8): Pliki do programowania z użyciem hunspella
91 Group: Development/Libraries
92 Requires: %{name}-libs = %{version}-%{release}
93 Requires: libstdc++-devel
96 Includes and definitions for developing with hunspell.
98 %description devel -l hu.UTF-8
99 Header-fájlok és definíciók hunspell-lel való fejlesztéshez.
101 %description devel -l pl.UTF-8
102 Pliki nagłówkowe i definicje do programowania z użyciem hunspella.
105 Summary: Static hunspell library
106 Summary(pl.UTF-8): Statyczna biblioteka hunspella
107 Group: Development/Libraries
108 Requires: %{name}-devel = %{version}-%{release}
111 Static hunspell library.
113 %description static -l hu.UTF-8
114 Hunspell statikus könyvtár.
116 %description static -l pl.UTF-8
117 Statyczna biblioteka hunspella.
123 # stale file in source tarball (even though *.gmo are not included), breaks locale install
133 CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
141 rm -rf $RPM_BUILD_ROOT
144 DESTDIR=$RPM_BUILD_ROOT
146 # obsoleted by pkg-config
147 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libhunspell-*.la
152 rm -rf $RPM_BUILD_ROOT
154 %post libs -p /sbin/ldconfig
155 %postun libs -p /sbin/ldconfig
157 %files -f %{name}.lang
158 %defattr(644,root,root,755)
159 %attr(755,root,root) %{_bindir}/hunspell
160 %attr(755,root,root) %{_bindir}/hunzip
161 %attr(755,root,root) %{_bindir}/hzip
162 %{_mandir}/man1/hunzip.1*
163 %{_mandir}/man1/hzip.1*
164 %{_mandir}/man1/hunspell.1*
165 %{_mandir}/man5/hunspell.5*
166 %lang(hu) %{_mandir}/hu/man1/hunspell.1*
167 %lang(hu) %{_mandir}/hu/man5/hunspell.5*
170 %defattr(644,root,root,755)
171 %attr(755,root,root) %{_bindir}/affixcompress
172 %attr(755,root,root) %{_bindir}/analyze
173 %attr(755,root,root) %{_bindir}/chmorph
174 %attr(755,root,root) %{_bindir}/ispellaff2myspell
175 %attr(755,root,root) %{_bindir}/makealias
176 %attr(755,root,root) %{_bindir}/munch
177 %attr(755,root,root) %{_bindir}/unmunch
178 %attr(755,root,root) %{_bindir}/wordforms
179 %attr(755,root,root) %{_bindir}/wordlist2hunspell
182 %defattr(644,root,root,755)
183 %doc AUTHORS AUTHORS.myspell BUGS COPYING ChangeLog NEWS README README.myspell THANKS TODO license.hunspell license.myspell
184 %attr(755,root,root) %{_libdir}/libhunspell-1.4.so.*.*.*
185 %attr(755,root,root) %ghost %{_libdir}/libhunspell-1.4.so.0
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/libhunspell-1.4.so
190 %{_includedir}/hunspell
191 %{_pkgconfigdir}/hunspell.pc
192 %{_mandir}/man3/hunspell.3*
195 %defattr(644,root,root,755)
196 %{_libdir}/libhunspell-1.4.a