|
|
fca9437 |
Name: libvoikko
|
|
|
e06cc3a |
Version: 1.6
|
|
|
fb1db80 |
Release: 0.4.rc4%{?dist}
|
|
|
fca9437 |
Summary: Voikko is a library for spellcheckers and hyphenators
|
|
|
fca9437 |
|
|
|
fca9437 |
Group: System Environment/Libraries
|
|
|
fca9437 |
License: GPLv2+
|
|
|
fca9437 |
URL: http://voikko.sourceforge.net/
|
|
|
fb1db80 |
Source0: http://www.puimula.org/htp/testing/libvoikko-1.6rc4.tar.gz
|
|
|
fca9437 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
fca9437 |
|
|
|
fca9437 |
BuildRequires: malaga-devel malaga-suomi-voikko
|
|
|
fca9437 |
Requires: malaga-suomi-voikko
|
|
|
fca9437 |
|
|
|
fca9437 |
%description
|
|
|
fca9437 |
This is libvoikko, library for spellcheckers and hyphenators using Malaga
|
|
|
fca9437 |
natural language grammar development tool. The library is written in C.
|
|
|
fca9437 |
|
|
|
fca9437 |
Currently only Finnish is supported, but the API of the library has been
|
|
|
fca9437 |
designed to allow adding support for other languages later. Note however that
|
|
|
fca9437 |
Malaga is rather low level tool that requires implementing the whole morphology
|
|
|
fca9437 |
of a language as a left associative grammar. Therefore languages that have
|
|
|
fca9437 |
simple or even moderately complex morphologies and do not require morphological
|
|
|
fca9437 |
analysis in their hyphenators should be implemented using other tools such as
|
|
|
fca9437 |
Hunspell.
|
|
|
fca9437 |
|
|
|
fca9437 |
%package devel
|
|
|
fca9437 |
Summary: Development files for %{name}
|
|
|
fca9437 |
Group: Development/Libraries
|
|
|
fca9437 |
Requires: %{name} = %{version}-%{release}
|
|
|
fca9437 |
|
|
|
fca9437 |
%description devel
|
|
|
fca9437 |
The %{name}-devel package contains libraries and header files for
|
|
|
fca9437 |
developing applications that use %{name}.
|
|
|
fca9437 |
|
|
|
fca9437 |
|
|
|
fca9437 |
%prep
|
|
|
fca9437 |
%setup -q
|
|
|
fca9437 |
|
|
|
fca9437 |
|
|
|
fca9437 |
%build
|
|
|
fca9437 |
# The dictionary path must be the same where malaga-suomi-voikko is installed
|
|
|
fca9437 |
%configure --with-dictionary-path=%{_libdir}/voikko
|
|
|
fca9437 |
make %{?_smp_mflags}
|
|
|
fca9437 |
|
|
|
fca9437 |
|
|
|
fca9437 |
%install
|
|
|
fca9437 |
rm -rf $RPM_BUILD_ROOT
|
|
|
fca9437 |
make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT
|
|
|
fca9437 |
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
fca9437 |
# Remove static archive
|
|
|
fca9437 |
find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';'
|
|
|
fca9437 |
|
|
|
fca9437 |
|
|
|
fca9437 |
%clean
|
|
|
fca9437 |
rm -rf $RPM_BUILD_ROOT
|
|
|
fca9437 |
|
|
|
fca9437 |
|
|
|
fca9437 |
%post -p /sbin/ldconfig
|
|
|
fca9437 |
|
|
|
fca9437 |
%postun -p /sbin/ldconfig
|
|
|
fca9437 |
|
|
|
fca9437 |
|
|
|
fca9437 |
%files
|
|
|
fca9437 |
%defattr(-,root,root,-)
|
|
|
fca9437 |
%doc ChangeLog COPYING README
|
|
|
fca9437 |
%{_libdir}/*.so.*
|
|
|
fca9437 |
%{_bindir}/voikkospell
|
|
|
fca9437 |
%{_bindir}/voikkohyphenate
|
|
|
fca9437 |
%{_mandir}/man1/voikkohyphenate.1.gz
|
|
|
fca9437 |
%{_mandir}/man1/voikkospell.1.gz
|
|
|
fca9437 |
|
|
|
fca9437 |
%files devel
|
|
|
fca9437 |
%defattr(-,root,root,-)
|
|
|
fca9437 |
%doc
|
|
|
fca9437 |
%{_includedir}/*
|
|
|
fca9437 |
%{_libdir}/*.so
|
|
|
fca9437 |
|
|
|
fca9437 |
%changelog
|
|
|
fb1db80 |
* Mon Dec 03 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.6-0.4.rc4
|
|
|
fb1db80 |
- Upstream released a new release candidate
|
|
|
fb1db80 |
|
|
|
b649352 |
* Wed Nov 28 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.6-0.3.rc3
|
|
|
b649352 |
- Upstream released a new release candidate
|
|
|
b649352 |
|
|
|
83cccb2 |
* Wed Nov 28 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.6-0.2.rc2
|
|
|
83cccb2 |
- Upstream released a new release candidate
|
|
|
83cccb2 |
|
|
|
e06cc3a |
* Tue Nov 27 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.6-0.1.rc1
|
|
|
e06cc3a |
- Upstream released a new release candidate
|
|
|
e06cc3a |
|
|
|
fca9437 |
* Thu Nov 08 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.5-1
|
|
|
fca9437 |
- Bump Release for the first Fedora build
|
|
|
fca9437 |
|
|
|
fca9437 |
* Wed Nov 07 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.5-0.3
|
|
|
fca9437 |
- libvoikko-devel: remove unneeded Requires: malaga-devel
|
|
|
fca9437 |
- install with -p so that timestamps are preserved
|
|
|
fca9437 |
|
|
|
fca9437 |
* Wed Nov 07 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.5-0.2
|
|
|
fca9437 |
- Requires only malaga-suomi-voikko, BR malaga-devel and malaga-suomi-voikko
|
|
|
fca9437 |
- Remove static archive
|
|
|
fca9437 |
|
|
|
fca9437 |
* Wed Oct 24 2007 - Ville-Pekka Vainio <vpivaini AT cs.helsinki.fi> 1.5-0.1
|
|
|
fca9437 |
- Initial package
|