malaga-suomi/malaga-suomi.spec
OBS User autobuild 9b3ea03978 Accepting request 21113 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/malaga-suomi based on submit request 21113 from user pmladek

OBS-URL: https://build.opensuse.org/request/show/21113
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/malaga-suomi?expand=0&rev=3
2009-09-26 22:11:27 +00:00

79 lines
2.0 KiB
RPMSpec

#
# spec file for package malaga-suomi (Version 1.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: malaga-suomi
%define _name suomi-malaga
Version: 1.3
Release: 1
License: GPL v2 or later
Group: Productivity/Text/Spell
Source: %{_name}-%{version}.tar.bz2
Url: http://voikko.sourceforge.net/
Summary: Description of Finnish Morphology Written in Malaga
BuildRequires: malaga python-xml
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
Suomi-Malaga is a description of Finnish morphology written in Malaga.
Authors:
--------
Harri Järvi
Tero Kuparinen
Kalle Lampila
Teemu Likonen
Harri Pitkänen
Reijo Tomperi
Hannu Väisänen
Jarno Kiuttu
Reijo Tomperi
Harri Pitkänen
Martin Vermeer
Pauli Virtanen
Jukka Nikulainen
Research Institute for the Languages of Finland
%prep
%setup -q -n %{_name}-%{version}
%build
CFLAGS="$RPM_OPT_FLAGS" \
CXXFLAGS="$RPM_OPT_FLAGS" \
make voikko
%install
make voikko-install DESTDIR=$RPM_BUILD_ROOT%{_datadir}/malaga/1/mor-standard
# compat symlinks
cd $RPM_BUILD_ROOT%{_datadir}/malaga
ln -s -t. 1/mor-standard/*
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc CONTRIBUTORS COPYING ChangeLog README README.fi
%{_datadir}/malaga/*
%changelog