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://dl.sourceforge.net/hunspell/%{name}-%{version}.tar.gz
10 # Source0-md5: 1177af54a09e320d2c24015f29c3a93e
11 Patch0: %{name}-as-needed.patch
12 URL: http://hunspell.sourceforge.net/
13 BuildRequires: autoconf >= 2.59
14 BuildRequires: automake
15 BuildRequires: libstdc++-devel
16 BuildRequires: libtool >= 2:1.5
17 BuildRequires: ncurses-devel >= 5.0
18 BuildRequires: readline-devel
19 %ifarch %{x8664} ia64 ppc64 s390x sparc64
20 Provides: libhunspell.so.1()(64bit)
22 Provides: libhunspell.so.1
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Hunspell is a spell checker and morphological analyzer library and
28 program designed for languages with rich morphology and complex word
29 compounding or character encoding. Hunspell interfaces: Ispell-like
30 terminal interface using Curses library, Ispell pipe interface,
31 OpenOffice.org UNO module.
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 # NOTE: munch,unmunch collide with myspell-tools
50 Summary: hunspell tools
51 Summary(pl.UTF-8): Narzędzia hunspella
52 Group: Development/Libraries
53 Requires: %{name} = %{version}-%{release}
56 This package contains munch and unmunch programs.
58 %description tools -l hu.UTF-8
59 Ez a csomag a munch és unmunch programokat tartalmazza.
61 %description tools -l pl.UTF-8
62 Ten pakiet zawiera programy munch i unmunch.
65 Summary: Files for developing with hunspell
66 Summary(pl.UTF-8): Pliki do programowania z użyciem hunspella
67 Group: Development/Libraries
68 Requires: %{name} = %{version}-%{release}
69 Requires: libstdc++-devel
72 Includes and definitions for developing with hunspell.
74 %description devel -l hu.UTF-8
75 Header-fájlok és definíciók hunspell-lel való fejlesztéshez.
77 %description devel -l pl.UTF-8
78 Pliki nagłówkowe i definicje do programowania z użyciem hunspella.
81 Summary: Static hunspell library
82 Summary(pl.UTF-8): Statyczna biblioteka hunspella
83 Group: Development/Libraries
84 Requires: %{name}-devel = %{version}-%{release}
87 Static hunspell library.
89 %description static -l hu.UTF-8
90 Hunspell statikus könyvtár.
92 %description static -l pl.UTF-8
93 Statyczna biblioteka hunspella.
105 CPPFLAGS="-I/usr/include/ncurses"
113 rm -rf $RPM_BUILD_ROOT
116 DESTDIR=$RPM_BUILD_ROOT
118 ln -s $(basename $RPM_BUILD_ROOT%{_libdir}/libhunspell-1.2.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libhunspell.so.1
121 rm -f $RPM_BUILD_ROOT%{_bindir}/example
124 rm -rf $RPM_BUILD_ROOT
126 %post -p /sbin/ldconfig
127 %postun -p /sbin/ldconfig
129 %files -f %{name}.lang
130 %defattr(644,root,root,755)
131 %doc AUTHORS AUTHORS.myspell COPYING ChangeLog NEWS README README.myspell THANKS license.hunspell license.myspell
132 %attr(755,root,root) %{_bindir}/hunspell
133 %attr(755,root,root) %{_bindir}/hunzip
134 %attr(755,root,root) %{_bindir}/hzip
135 %attr(755,root,root) %{_libdir}/libhunspell-*.*.so.*.*.*
136 %attr(755,root,root) %ghost %{_libdir}/libhunspell-*.*.so.0
137 %attr(755,root,root) %{_libdir}/libhunspell.so.1
138 %{_mandir}/man1/hunzip.1*
139 %{_mandir}/man1/hzip.1*
140 %{_mandir}/man1/hunspell.1*
141 %{_mandir}/man4/hunspell.4*
142 %lang(hu) %{_mandir}/hu/man1/hunspell.1*
143 %lang(hu) %{_mandir}/hu/man4/hunspell.4*
146 %defattr(644,root,root,755)
147 %attr(755,root,root) %{_bindir}/analyze
148 %attr(755,root,root) %{_bindir}/chmorph
149 %attr(755,root,root) %{_bindir}/munch
150 %attr(755,root,root) %{_bindir}/unmunch
153 %defattr(644,root,root,755)
154 %attr(755,root,root) %{_libdir}/libhunspell-*.*.so
155 %{_libdir}/libhunspell-*.*.la
156 %{_libdir}/libparsers.a
157 %{_includedir}/%{name}
158 %{_includedir}/munch.h
159 %{_includedir}/unmunch.h
160 %{_pkgconfigdir}/hunspell.pc
161 %{_mandir}/man3/hunspell.3*
164 %defattr(644,root,root,755)
165 %{_libdir}/libhunspell-*.*.a