2008-07-31 04:41:44 +02:00
|
|
|
#
|
2012-01-29 21:44:43 +01:00
|
|
|
# spec file for package malaga-suomi
|
2008-07-31 04:41:44 +02:00
|
|
|
#
|
2015-02-11 14:51:41 +01:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2008-07-31 04:41:44 +02:00
|
|
|
#
|
2009-06-19 00:49:44 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2008-07-31 04:41:44 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
%define _name suomi-malaga
|
2014-01-27 10:39:49 +01:00
|
|
|
Name: malaga-suomi
|
2015-02-11 14:51:41 +01:00
|
|
|
Version: 1.18
|
2013-01-11 13:32:39 +01:00
|
|
|
Release: 0
|
2008-07-31 04:41:44 +02:00
|
|
|
Summary: Description of Finnish Morphology Written in Malaga
|
2013-01-11 13:32:39 +01:00
|
|
|
License: GPL-2.0+
|
|
|
|
Group: Productivity/Text/Spell
|
2014-01-27 10:39:49 +01:00
|
|
|
Url: http://voikko.puimula.org/
|
|
|
|
Source: http://www.puimula.org/voikko-sources/%{_name}/%{_name}-%{version}.tar.gz
|
2013-01-11 13:32:39 +01:00
|
|
|
BuildRequires: malaga
|
|
|
|
BuildRequires: python-xml
|
2008-07-31 04:41:44 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Suomi-Malaga is a description of Finnish morphology written in Malaga.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
2014-01-27 10:39:49 +01:00
|
|
|
CFLAGS="%{optflags}" \
|
|
|
|
CXXFLAGS="%{optflags}" \
|
2012-01-29 21:44:43 +01:00
|
|
|
make voikko %{?_smp_mflags}
|
2008-07-31 04:41:44 +02:00
|
|
|
|
|
|
|
%install
|
2014-01-27 10:39:49 +01:00
|
|
|
make voikko-install DESTDIR=%{buildroot}%{_datadir}/malaga/1/mor-standard
|
2009-09-27 00:11:27 +02:00
|
|
|
# compat symlinks
|
2014-01-27 10:39:49 +01:00
|
|
|
cd %{buildroot}%{_datadir}/malaga
|
2009-09-27 00:11:27 +02:00
|
|
|
ln -s -t. 1/mor-standard/*
|
2008-07-31 04:41:44 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc CONTRIBUTORS COPYING ChangeLog README README.fi
|
|
|
|
%{_datadir}/malaga/*
|
|
|
|
|
|
|
|
%changelog
|