Accepting request 491243 from LibreOffice:Factory
- Version update to 2.1 * Switches from malaga to libvoikko completely OBS-URL: https://build.opensuse.org/request/show/491243 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/malaga-suomi?expand=0&rev=18
This commit is contained in:
parent
0966d111d0
commit
4a88bd9962
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 25 16:25:17 UTC 2017 - tchvatal@suse.com
|
||||
|
||||
- Version update to 2.1
|
||||
* Switches from malaga to libvoikko completely
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 24 17:22:23 UTC 2015 - p.drouand@gmail.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package malaga-suomi
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -16,22 +16,30 @@
|
||||
#
|
||||
|
||||
|
||||
%define _name suomi-malaga
|
||||
%define _name voikko-fi
|
||||
%define _altname suomi-malaga
|
||||
Name: malaga-suomi
|
||||
Version: 1.19
|
||||
Version: 2.1
|
||||
Release: 0
|
||||
Summary: Description of Finnish Morphology Written in Malaga
|
||||
License: GPL-2.0+
|
||||
Group: Productivity/Text/Spell
|
||||
Url: http://voikko.puimula.org/
|
||||
Source: http://www.puimula.org/voikko-sources/%{_name}/%{_name}-%{version}.tar.gz
|
||||
BuildRequires: malaga
|
||||
BuildRequires: python-xml
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: foma
|
||||
BuildRequires: python3
|
||||
BuildRequires: voikkospell >= 4.0
|
||||
Provides: %{_name} = %{version}
|
||||
Obsoletes: %{_name} < %{version}
|
||||
Provides: %{_altname} = %{version}
|
||||
Obsoletes: %{_altname} < %{version}
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
Suomi-Malaga is a description of Finnish morphology written in Malaga.
|
||||
This package contains a compiled version of Voikko-fi using the new
|
||||
unweighted VFST dictionary format. It is suitable for use in spell checking,
|
||||
grammar checking and hyphenation system Voikko, provided by the libvoikko
|
||||
library.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{_name}-%{version}
|
||||
@ -39,17 +47,15 @@ Suomi-Malaga is a description of Finnish morphology written in Malaga.
|
||||
%build
|
||||
CFLAGS="%{optflags}" \
|
||||
CXXFLAGS="%{optflags}" \
|
||||
make voikko %{?_smp_mflags}
|
||||
make %{?_smp_mflags} vvfst EXTRA_LEX=vocabulary/erikoisalat/linux-distributions.lex
|
||||
|
||||
%install
|
||||
make voikko-install DESTDIR=%{buildroot}%{_datadir}/malaga/1/mor-standard
|
||||
# compat symlinks
|
||||
cd %{buildroot}%{_datadir}/malaga
|
||||
ln -s -t. 1/mor-standard/*
|
||||
make vvfst-install DESTDIR=%{buildroot}%{_datadir}/voikko
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc CONTRIBUTORS COPYING ChangeLog README README.fi
|
||||
%{_datadir}/malaga/*
|
||||
%dir %{_datadir}/voikko/
|
||||
%{_datadir}/voikko/*
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:5c4c15dd87a82e9b8ab74f9c570c6db011e3fd824db4de47ffeb71c4261451cc
|
||||
size 972762
|
3
voikko-fi-2.1.tar.gz
Normal file
3
voikko-fi-2.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:71a823120a35ade6f20eaa7d00db27ec7355aa46a45a5b1a4a1f687a42134496
|
||||
size 984857
|
Loading…
Reference in New Issue
Block a user