Accepting request 492490 from devel:libraries:c_c++
1 OBS-URL: https://build.opensuse.org/request/show/492490 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/malaga-suomi?expand=0&rev=21
This commit is contained in:
commit
ba0fd7e168
@ -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
|
Tue Nov 24 17:22:23 UTC 2015 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package malaga-suomi
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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
|
Name: malaga-suomi
|
||||||
Version: 1.19
|
Version: 2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Description of Finnish Morphology Written in Malaga
|
Summary: Description of Finnish Morphology Written in Malaga
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: Productivity/Text/Spell
|
Group: Productivity/Text/Spell
|
||||||
Url: http://voikko.puimula.org/
|
Url: http://voikko.puimula.org/
|
||||||
Source: http://www.puimula.org/voikko-sources/%{_name}/%{_name}-%{version}.tar.gz
|
Source: http://www.puimula.org/voikko-sources/%{_name}/%{_name}-%{version}.tar.gz
|
||||||
BuildRequires: malaga
|
BuildRequires: foma
|
||||||
BuildRequires: python-xml
|
BuildRequires: python3
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: voikkospell >= 4.0
|
||||||
|
Provides: %{_name} = %{version}
|
||||||
|
Obsoletes: %{_name} < %{version}
|
||||||
|
Provides: %{_altname} = %{version}
|
||||||
|
Obsoletes: %{_altname} < %{version}
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n %{_name}-%{version}
|
||||||
@ -39,17 +47,15 @@ Suomi-Malaga is a description of Finnish morphology written in Malaga.
|
|||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" \
|
CFLAGS="%{optflags}" \
|
||||||
CXXFLAGS="%{optflags}" \
|
CXXFLAGS="%{optflags}" \
|
||||||
make voikko %{?_smp_mflags}
|
make %{?_smp_mflags} vvfst EXTRA_LEX=vocabulary/erikoisalat/linux-distributions.lex
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make voikko-install DESTDIR=%{buildroot}%{_datadir}/malaga/1/mor-standard
|
make vvfst-install DESTDIR=%{buildroot}%{_datadir}/voikko
|
||||||
# compat symlinks
|
|
||||||
cd %{buildroot}%{_datadir}/malaga
|
|
||||||
ln -s -t. 1/mor-standard/*
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc CONTRIBUTORS COPYING ChangeLog README README.fi
|
%doc CONTRIBUTORS COPYING ChangeLog README README.fi
|
||||||
%{_datadir}/malaga/*
|
%dir %{_datadir}/voikko/
|
||||||
|
%{_datadir}/voikko/*
|
||||||
|
|
||||||
%changelog
|
%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