]>
Commit | Line | Data |
---|---|---|
de8808b6 | 1 | Summary: Hunspell - a spell checker and morphological analyzer |
ad9822ea | 2 | Summary(hu.UTF-8): Hunspell egy helyesírás-ellenőrző és morfológiai elemző könyvtár és program |
de8808b6 | 3 | Summary(pl.UTF-8): hunspell - narzędzie do sprawdzania pisowni i analizy morfologicznej |
98ee914a | 4 | Name: hunspell |
1bb5fd70 | 5 | Version: 1.4.1 |
419bd0a9 | 6 | Release: 2 |
0bbc0412 | 7 | License: MPL v1.1 or GPL v2+ or LGPL v2.1+ |
de8808b6 | 8 | Group: Applications/Text |
eb6f6d0a JB |
9 | #Source0Download: https://github.com/hunspell/hunspell/releases |
10 | Source0: https://github.com/hunspell/hunspell/archive/v%{version}/%{name}-%{version}.tar.gz | |
1bb5fd70 | 11 | # Source0-md5: 33d370f7fe5a030985e445a5672b2067 |
954dfa9c | 12 | Patch0: %{name}-install.patch |
eb6f6d0a | 13 | URL: http://hunspell.github.io/ |
0bbc0412 | 14 | BuildRequires: autoconf >= 2.59 |
28da8f2a | 15 | BuildRequires: automake |
6da01039 | 16 | BuildRequires: gettext-tools >= 0.17 |
0bbc0412 JB |
17 | BuildRequires: libstdc++-devel |
18 | BuildRequires: libtool >= 2:1.5 | |
9016b99f JB |
19 | BuildRequires: ncurses-devel >= 5.0 |
20 | BuildRequires: readline-devel | |
de8808b6 | 21 | Requires: %{name}-libs = %{version}-%{release} |
98ee914a ER |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
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. | |
30 | ||
de8808b6 JB |
31 | This package contains base programs (hunspell, hzip, hunzip). |
32 | ||
ad9822ea ZU |
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. | |
39 | ||
28da8f2a JB |
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 | |
46 | OpenOffice.org. | |
47 | ||
de8808b6 JB |
48 | Ten pakiet zawiera podstawowe programy (hunspell, hzip, hunzip). |
49 | ||
98ee914a ER |
50 | %package tools |
51 | Summary: hunspell tools | |
28da8f2a | 52 | Summary(pl.UTF-8): Narzędzia hunspella |
de8808b6 | 53 | Group: Development/Tools |
98ee914a | 54 | Requires: %{name} = %{version}-%{release} |
1bb5fd70 | 55 | Obsoletes: myspell-tools |
98ee914a ER |
56 | |
57 | %description tools | |
c00b9849 | 58 | This package contains hunspell utilities, including munch and unmunch. |
e2921d5c | 59 | |
9d5b58b7 | 60 | %description tools -l pl.UTF-8 |
c00b9849 JB |
61 | Ten pakiet zawiera narzędzia dla hunspella, w tym programy munch i |
62 | unmunch. | |
28da8f2a | 63 | |
de8808b6 JB |
64 | %package libs |
65 | Summary: Hunspell spell checker and morphological analyzer library | |
66 | Summary(pl.UTF-8): Biblioteka Hunspell do sprawdzania pisowni i analizy morfologicznej | |
67 | Group: Libraries | |
68 | ||
69 | %description libs | |
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. | |
75 | ||
76 | This package contains the shared library. | |
77 | ||
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 | |
84 | OpenOffice.org. | |
85 | ||
86 | Ten pakiet zawiera bibliotekę współdzieloną. | |
87 | ||
98ee914a ER |
88 | %package devel |
89 | Summary: Files for developing with hunspell | |
28da8f2a | 90 | Summary(pl.UTF-8): Pliki do programowania z użyciem hunspella |
98ee914a | 91 | Group: Development/Libraries |
de8808b6 | 92 | Requires: %{name}-libs = %{version}-%{release} |
0bbc0412 | 93 | Requires: libstdc++-devel |
98ee914a ER |
94 | |
95 | %description devel | |
28da8f2a JB |
96 | Includes and definitions for developing with hunspell. |
97 | ||
e2921d5c ZU |
98 | %description devel -l hu.UTF-8 |
99 | Header-fájlok és definíciók hunspell-lel való fejlesztéshez. | |
100 | ||
28da8f2a JB |
101 | %description devel -l pl.UTF-8 |
102 | Pliki nagłówkowe i definicje do programowania z użyciem hunspella. | |
98ee914a ER |
103 | |
104 | %package static | |
105 | Summary: Static hunspell library | |
28da8f2a | 106 | Summary(pl.UTF-8): Statyczna biblioteka hunspella |
98ee914a ER |
107 | Group: Development/Libraries |
108 | Requires: %{name}-devel = %{version}-%{release} | |
109 | ||
110 | %description static | |
111 | Static hunspell library. | |
112 | ||
e2921d5c ZU |
113 | %description static -l hu.UTF-8 |
114 | Hunspell statikus könyvtár. | |
115 | ||
28da8f2a JB |
116 | %description static -l pl.UTF-8 |
117 | Statyczna biblioteka hunspella. | |
118 | ||
98ee914a | 119 | %prep |
2314dade | 120 | %setup -q |
954dfa9c | 121 | %patch0 -p1 |
98ee914a | 122 | |
eb6f6d0a JB |
123 | # stale file in source tarball (even though *.gmo are not included), breaks locale install |
124 | %{__rm} po/stamp-po | |
125 | ||
98ee914a | 126 | %build |
e315881a | 127 | %{__gettextize} |
98ee914a ER |
128 | %{__libtoolize} |
129 | %{__aclocal} -I m4 | |
130 | %{__autoconf} | |
eb6f6d0a | 131 | %{__autoheader} |
98ee914a | 132 | %{__automake} |
eb6f6d0a | 133 | CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses" |
c7625025 | 134 | %configure \ |
de8808b6 JB |
135 | --with-readline \ |
136 | --with-ui | |
c7625025 | 137 | |
98ee914a ER |
138 | %{__make} |
139 | ||
140 | %install | |
141 | rm -rf $RPM_BUILD_ROOT | |
a2ba26f5 | 142 | |
98ee914a ER |
143 | %{__make} install \ |
144 | DESTDIR=$RPM_BUILD_ROOT | |
145 | ||
1bb5fd70 JB |
146 | # obsoleted by pkg-config |
147 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libhunspell-*.la | |
148 | ||
98ee914a ER |
149 | %find_lang %{name} |
150 | ||
98ee914a ER |
151 | %clean |
152 | rm -rf $RPM_BUILD_ROOT | |
153 | ||
de8808b6 JB |
154 | %post libs -p /sbin/ldconfig |
155 | %postun libs -p /sbin/ldconfig | |
98ee914a ER |
156 | |
157 | %files -f %{name}.lang | |
158 | %defattr(644,root,root,755) | |
98ee914a | 159 | %attr(755,root,root) %{_bindir}/hunspell |
d3b023bc AM |
160 | %attr(755,root,root) %{_bindir}/hunzip |
161 | %attr(755,root,root) %{_bindir}/hzip | |
2314dade AM |
162 | %{_mandir}/man1/hunzip.1* |
163 | %{_mandir}/man1/hzip.1* | |
98ee914a | 164 | %{_mandir}/man1/hunspell.1* |
954dfa9c | 165 | %{_mandir}/man5/hunspell.5* |
98ee914a | 166 | %lang(hu) %{_mandir}/hu/man1/hunspell.1* |
954dfa9c | 167 | %lang(hu) %{_mandir}/hu/man5/hunspell.5* |
98ee914a ER |
168 | |
169 | %files tools | |
170 | %defattr(644,root,root,755) | |
c00b9849 | 171 | %attr(755,root,root) %{_bindir}/affixcompress |
c7625025 MP |
172 | %attr(755,root,root) %{_bindir}/analyze |
173 | %attr(755,root,root) %{_bindir}/chmorph | |
c00b9849 JB |
174 | %attr(755,root,root) %{_bindir}/ispellaff2myspell |
175 | %attr(755,root,root) %{_bindir}/makealias | |
98ee914a ER |
176 | %attr(755,root,root) %{_bindir}/munch |
177 | %attr(755,root,root) %{_bindir}/unmunch | |
c00b9849 JB |
178 | %attr(755,root,root) %{_bindir}/wordforms |
179 | %attr(755,root,root) %{_bindir}/wordlist2hunspell | |
98ee914a | 180 | |
de8808b6 JB |
181 | %files libs |
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 | |
186 | ||
98ee914a ER |
187 | %files devel |
188 | %defattr(644,root,root,755) | |
1bb5fd70 | 189 | %attr(755,root,root) %{_libdir}/libhunspell-1.4.so |
c00b9849 | 190 | %{_includedir}/hunspell |
98ee914a | 191 | %{_pkgconfigdir}/hunspell.pc |
2314dade | 192 | %{_mandir}/man3/hunspell.3* |
98ee914a ER |
193 | |
194 | %files static | |
195 | %defattr(644,root,root,755) | |
1bb5fd70 | 196 | %{_libdir}/libhunspell-1.4.a |