libreoffice-voikko/libreoffice-voikko.spec
Michal Vyskocil d8c0b3cc18 Accepting request 221807 from home:fcrozat:branches:LibreOffice:Factory
- Fix license tag to GPL-3.0+ or MIT and package COPYING and
  README (which states both licenses can apply).

OBS-URL: https://build.opensuse.org/request/show/221807
OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/libreoffice-voikko?expand=0&rev=6
2014-02-19 08:34:01 +00:00

67 lines
2.0 KiB
RPMSpec

#
# spec file for package libreoffice-voikko
#
# Copyright (c) 2014 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/
#
Name: libreoffice-voikko
Version: 4.0
Release: 0
Summary: LibreOffice spellchecker/hyphenator for finnish language
License: MPL-2.0 or GPL-3.0+
Group: Productivity/Text/Spell
Url: http://voikko.puimula.org/
Source: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: java-devel
BuildRequires: libreoffice >= 4.1
BuildRequires: libreoffice-sdk >= 4.1
BuildRequires: libvoikko-devel
BuildRequires: unzip
BuildRequires: zip
Requires(post): coreutils
Requires(post): grep
Requires(post): libreoffice >= 4.1
Requires(postun): coreutils
Requires(postun): grep
Requires(postun): libreoffice >= 4.1
Provides: locale(libreoffice:fi)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
LibreOffice spellchecker/hyphenator for finnish language, which uses
libvoikko as backend.
%prep
%setup -q
%build
. %{_libdir}/libreoffice/sdk/setsdkenv_unix.sh
make oxt %{?_smp_mflags}
%install
cd build
mkdir -p %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko
cd %{buildroot}%{_libdir}/libreoffice/share/extensions/voikko
unzip voikko.oxt
%files
%defattr(-,root,root,0755)
%doc COPYING README
%{_libdir}/libreoffice/share/extensions/voikko
%changelog