]> git.pld-linux.org Git - packages/hunspell.git/blame - hunspell.spec
- rebuild with readline 7.0
[packages/hunspell.git] / hunspell.spec
CommitLineData
de8808b6 1Summary: Hunspell - a spell checker and morphological analyzer
ad9822ea 2Summary(hu.UTF-8): Hunspell egy helyesírás-ellenőrző és morfológiai elemző könyvtár és program
de8808b6 3Summary(pl.UTF-8): hunspell - narzędzie do sprawdzania pisowni i analizy morfologicznej
98ee914a 4Name: hunspell
1bb5fd70 5Version: 1.4.1
419bd0a9 6Release: 2
0bbc0412 7License: MPL v1.1 or GPL v2+ or LGPL v2.1+
de8808b6 8Group: Applications/Text
eb6f6d0a
JB
9#Source0Download: https://github.com/hunspell/hunspell/releases
10Source0: https://github.com/hunspell/hunspell/archive/v%{version}/%{name}-%{version}.tar.gz
1bb5fd70 11# Source0-md5: 33d370f7fe5a030985e445a5672b2067
954dfa9c 12Patch0: %{name}-install.patch
eb6f6d0a 13URL: http://hunspell.github.io/
0bbc0412 14BuildRequires: autoconf >= 2.59
28da8f2a 15BuildRequires: automake
6da01039 16BuildRequires: gettext-tools >= 0.17
0bbc0412
JB
17BuildRequires: libstdc++-devel
18BuildRequires: libtool >= 2:1.5
9016b99f
JB
19BuildRequires: ncurses-devel >= 5.0
20BuildRequires: readline-devel
de8808b6 21Requires: %{name}-libs = %{version}-%{release}
98ee914a
ER
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Hunspell is a spell checker and morphological analyzer library and
26program designed for languages with rich morphology and complex word
27compounding or character encoding. Hunspell interfaces: Ispell-like
28terminal interface using Curses library, Ispell pipe interface,
29OpenOffice.org UNO module.
30
de8808b6
JB
31This package contains base programs (hunspell, hzip, hunzip).
32
ad9822ea
ZU
33%description -l hu.UTF-8
34Hunspell is a spell checker and morphological analyzer library and
35program designed for languages with rich morphology and complex word
36compounding or character encoding. Hunspell interfaces: Ispell-like
37terminal interface using Curses library, Ispell pipe interface,
38OpenOffice.org UNO module.
39
28da8f2a
JB
40%description -l pl.UTF-8
41hunspell to biblioteka oraz program do sprawdzania pisowni i analizy
42morfologicznej zaprojektowany dla języków z bogatą morfologią i
43zkomplikowanym składaniem słów lub kodowaniem znaków. Interfejsy
44hunspella to: interfejs terminalowy w stylu Ispella korzystający z
45biblioteki Curses, interfejs potokowy Ispella, moduł UNO
46OpenOffice.org.
47
de8808b6
JB
48Ten pakiet zawiera podstawowe programy (hunspell, hzip, hunzip).
49
98ee914a
ER
50%package tools
51Summary: hunspell tools
28da8f2a 52Summary(pl.UTF-8): Narzędzia hunspella
de8808b6 53Group: Development/Tools
98ee914a 54Requires: %{name} = %{version}-%{release}
1bb5fd70 55Obsoletes: myspell-tools
98ee914a
ER
56
57%description tools
c00b9849 58This package contains hunspell utilities, including munch and unmunch.
e2921d5c 59
9d5b58b7 60%description tools -l pl.UTF-8
c00b9849
JB
61Ten pakiet zawiera narzędzia dla hunspella, w tym programy munch i
62unmunch.
28da8f2a 63
de8808b6
JB
64%package libs
65Summary: Hunspell spell checker and morphological analyzer library
66Summary(pl.UTF-8): Biblioteka Hunspell do sprawdzania pisowni i analizy morfologicznej
67Group: Libraries
68
69%description libs
70Hunspell is a spell checker and morphological analyzer library and
71program designed for languages with rich morphology and complex word
72compounding or character encoding. Hunspell interfaces: Ispell-like
73terminal interface using Curses library, Ispell pipe interface,
74OpenOffice.org UNO module.
75
76This package contains the shared library.
77
78%description libs -l pl.UTF-8
79hunspell to biblioteka oraz program do sprawdzania pisowni i analizy
80morfologicznej zaprojektowany dla języków z bogatą morfologią i
81zkomplikowanym składaniem słów lub kodowaniem znaków. Interfejsy
82hunspella to: interfejs terminalowy w stylu Ispella korzystający z
83biblioteki Curses, interfejs potokowy Ispella, moduł UNO
84OpenOffice.org.
85
86Ten pakiet zawiera bibliotekę współdzieloną.
87
98ee914a
ER
88%package devel
89Summary: Files for developing with hunspell
28da8f2a 90Summary(pl.UTF-8): Pliki do programowania z użyciem hunspella
98ee914a 91Group: Development/Libraries
de8808b6 92Requires: %{name}-libs = %{version}-%{release}
0bbc0412 93Requires: libstdc++-devel
98ee914a
ER
94
95%description devel
28da8f2a
JB
96Includes and definitions for developing with hunspell.
97
e2921d5c
ZU
98%description devel -l hu.UTF-8
99Header-fájlok és definíciók hunspell-lel való fejlesztéshez.
100
28da8f2a
JB
101%description devel -l pl.UTF-8
102Pliki nagłówkowe i definicje do programowania z użyciem hunspella.
98ee914a
ER
103
104%package static
105Summary: Static hunspell library
28da8f2a 106Summary(pl.UTF-8): Statyczna biblioteka hunspella
98ee914a
ER
107Group: Development/Libraries
108Requires: %{name}-devel = %{version}-%{release}
109
110%description static
111Static hunspell library.
112
e2921d5c
ZU
113%description static -l hu.UTF-8
114Hunspell statikus könyvtár.
115
28da8f2a
JB
116%description static -l pl.UTF-8
117Statyczna 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 133CPPFLAGS="%{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
141rm -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
152rm -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
This page took 0.154547 seconds and 4 git commands to generate.