]> git.pld-linux.org Git - packages/hfst-ospell.git/blame - hfst-ospell.spec
icu rebuild
[packages/hfst-ospell.git] / hfst-ospell.spec
CommitLineData
f7cc4b3c
JB
1Summary: hfst-ospell library and toy commandline tester
2Summary(pl.UTF-8): Biblioteka hfst-ospell i program testowy
3Name: hfst-ospell
d6008a61 4Version: 0.5.2
8b5e2ac8 5Release: 4
f7cc4b3c
JB
6License: Apache v2.0
7Group: Applications/Text
91f33cf9 8#Source0Download: https://github.com/hfst/hfst-ospell/releases
d6008a61
JP
9Source0: https://github.com/hfst/hfst-ospell/archive/v%{version}/hfstospell-%{version}.tar.gz
10# Source0-md5: f625099c311cabe6aa595668e60431ac
c2b287cf 11Patch0: %{name}-demos.patch
91f33cf9 12URL: http://hfst.github.io/
a48cdded
JB
13BuildRequires: autoconf >= 2.62
14BuildRequires: automake >= 1:1.11
ef825f11 15BuildRequires: libarchive-devel >= 3.0.1
c2b287cf 16BuildRequires: libicu-devel >= 4
ef825f11
JB
17# -std=c++14
18BuildRequires: libstdc++-devel >= 6:5.0
e91afc40 19BuildRequires: libxml++2-devel >= 2.10.0
a48cdded
JB
20BuildRequires: libtool >= 2:2.2.6
21BuildRequires: pkgconfig
e91afc40 22Requires: libxml++2 >= 2.10.0
f7cc4b3c
JB
23BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24
25%description
26This is a minimal hfst optimized lookup format based spell checker
27library and a demonstrational implementation of command line based
28spell checker.
29
30%description -l pl.UTF-8
31Ten pakiet zawiera minimalną bibliotekę do sprawdzania pisowni przy
32użyciu zoptymalizowanego wyszukiwania hfst oraz demonstracyjną
33implementację działającego z linii poleceń programu do sprawdzania
34pisowni.
35
36%package devel
37Summary: Header files for hfst-ospell library
38Summary(pl.UTF-8): Pliki nagłówkowe biblioteki hfst-ospell
39Group: Development/Libraries
40Requires: %{name} = %{version}-%{release}
ef825f11 41Requires: libarchive-devel >= 3.0.1
c2b287cf 42Requires: libicu-devel >= 4
ef825f11 43Requires: libstdc++-devel >= 6:5.0
e91afc40 44Requires: libxml++2-devel >= 2.10.0
f7cc4b3c
JB
45
46%description devel
47Header files for hfst-ospell library.
48
49%description devel -l pl.UTF-8
50Pliki nagłówkowe biblioteki hfst-ospell.
51
52%package static
53Summary: Static hfst-ospell library
54Summary(pl.UTF-8): Statyczna biblioteka hfst-ospell
55Group: Development/Libraries
56Requires: %{name}-devel = %{version}-%{release}
57
58%description static
59Static hfst-ospell library.
60
61%description static -l pl.UTF-8
62Statyczna biblioteka hfst-ospell.
63
64%prep
d6008a61 65%setup -q
a48cdded 66%patch0 -p1
f7cc4b3c
JB
67
68%build
a48cdded
JB
69%{__libtoolize}
70%{__aclocal}
71%{__autoconf}
72%{__autoheader}
73%{__automake}
f7cc4b3c 74%configure \
a48cdded
JB
75 HFST_TXT2FST=/usr/bin/hfst-txt2fst \
76 HFST_FST2FST=/usr/bin/hfst-fst2fst \
77 ZIP=/usr/bin/zip \
c2b287cf 78 --enable-extra-demos \
f7cc4b3c
JB
79 --disable-silent-rules
80%{__make}
81
82%install
83rm -rf $RPM_BUILD_ROOT
84
85%{__make} install \
86 DESTDIR=$RPM_BUILD_ROOT
87
91f33cf9
JB
88# obsoleted by pkg-config
89%{__rm} $RPM_BUILD_ROOT%{_libdir}/libhfstospell.la
90
f7cc4b3c
JB
91%clean
92rm -rf $RPM_BUILD_ROOT
93
d02d855f
JB
94%post -p /sbin/ldconfig
95%postun -p /sbin/ldconfig
96
f7cc4b3c
JB
97%files
98%defattr(644,root,root,755)
99%doc AUTHORS ChangeLog NEWS README
c2b287cf 100%attr(755,root,root) %{_bindir}/hfst-ispell
f7cc4b3c 101%attr(755,root,root) %{_bindir}/hfst-ospell
a48cdded
JB
102%attr(755,root,root) %{_bindir}/hfst-ospell-cicling
103%attr(755,root,root) %{_bindir}/hfst-ospell-fsmnlp-2012
c2b287cf 104%attr(755,root,root) %{_bindir}/hfst-ospell-lrec2013
a48cdded 105%attr(755,root,root) %{_bindir}/hfst-ospell-norvig
c2b287cf 106%attr(755,root,root) %{_bindir}/hfst-ospell-office
a48cdded 107%attr(755,root,root) %{_bindir}/hfst-ospell-survey
f7cc4b3c 108%attr(755,root,root) %{_libdir}/libhfstospell.so.*.*.*
ef825f11 109%attr(755,root,root) %ghost %{_libdir}/libhfstospell.so.11
c2b287cf 110%{_mandir}/man1/hfst-ospell.1*
91f33cf9 111%{_mandir}/man1/hfst-ospell-office.1*
f7cc4b3c
JB
112
113%files devel
114%defattr(644,root,root,755)
115%attr(755,root,root) %{_libdir}/libhfstospell.so
a48cdded 116%{_includedir}/ZHfstOspeller*.h
f7cc4b3c 117%{_includedir}/hfst-ol.h
e33c5a5a 118%{_includedir}/hfstol-stdafx.h
a48cdded 119%{_includedir}/ol-exceptions.h
f7cc4b3c
JB
120%{_includedir}/ospell.h
121%{_pkgconfigdir}/hfstospell.pc
122
123%files static
124%defattr(644,root,root,755)
125%{_libdir}/libhfstospell.a
This page took 0.181669 seconds and 4 git commands to generate.