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 pl.UTF-8
59 Ten pakiet zawiera programy munch i unmunch.
62 Summary: Files for developing with hunspell
63 Summary(pl.UTF-8): Pliki do programowania z użyciem hunspella
64 Group: Development/Libraries
65 Requires: %{name} = %{version}-%{release}
66 Requires: libstdc++-devel
69 Includes and definitions for developing with hunspell.
71 %description devel -l pl.UTF-8
72 Pliki nagłówkowe i definicje do programowania z użyciem hunspella.
75 Summary: Static hunspell library
76 Summary(pl.UTF-8): Statyczna biblioteka hunspella
77 Group: Development/Libraries
78 Requires: %{name}-devel = %{version}-%{release}
81 Static hunspell library.
83 %description static -l pl.UTF-8
84 Statyczna biblioteka hunspella.
96 CPPFLAGS="-I/usr/include/ncurses"
104 rm -rf $RPM_BUILD_ROOT
107 DESTDIR=$RPM_BUILD_ROOT
109 ln -s $(basename $RPM_BUILD_ROOT%{_libdir}/libhunspell-1.2.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libhunspell.so.1
112 rm -f $RPM_BUILD_ROOT%{_bindir}/example
115 rm -rf $RPM_BUILD_ROOT
117 %post -p /sbin/ldconfig
118 %postun -p /sbin/ldconfig
120 %files -f %{name}.lang
121 %defattr(644,root,root,755)
122 %doc AUTHORS AUTHORS.myspell COPYING ChangeLog NEWS README README.myspell THANKS license.hunspell license.myspell
123 %attr(755,root,root) %{_bindir}/hunspell
124 %attr(755,root,root) %{_bindir}/hunzip
125 %attr(755,root,root) %{_bindir}/hzip
126 %attr(755,root,root) %{_libdir}/libhunspell-*.*.so.*.*.*
127 %attr(755,root,root) %ghost %{_libdir}/libhunspell-*.*.so.0
128 %attr(755,root,root) %{_libdir}/libhunspell.so.1
129 %{_mandir}/man1/hunzip.1*
130 %{_mandir}/man1/hzip.1*
131 %{_mandir}/man1/hunspell.1*
132 %{_mandir}/man4/hunspell.4*
133 %lang(hu) %{_mandir}/hu/man1/hunspell.1*
134 %lang(hu) %{_mandir}/hu/man4/hunspell.4*
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_bindir}/analyze
139 %attr(755,root,root) %{_bindir}/chmorph
140 %attr(755,root,root) %{_bindir}/munch
141 %attr(755,root,root) %{_bindir}/unmunch
144 %defattr(644,root,root,755)
145 %attr(755,root,root) %{_libdir}/libhunspell-*.*.so
146 %{_libdir}/libhunspell-*.*.la
147 %{_libdir}/libparsers.a
148 %{_includedir}/%{name}
149 %{_includedir}/munch.h
150 %{_includedir}/unmunch.h
151 %{_pkgconfigdir}/hunspell.pc
152 %{_mandir}/man3/hunspell.3*
155 %defattr(644,root,root,755)
156 %{_libdir}/libhunspell-*.*.a