2008-07-31 04:40:46 +02:00
|
|
|
#
|
2011-02-22 20:27:20 +01:00
|
|
|
# spec file for package libvoikko
|
2008-07-31 04:40:46 +02:00
|
|
|
#
|
2017-05-02 15:44:19 +02:00
|
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
2008-07-31 04:40:46 +02:00
|
|
|
#
|
2008-09-08 18:03:56 +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:40:46 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-02-28 21:37:28 +01:00
|
|
|
|
2008-07-31 04:40:46 +02:00
|
|
|
Name: libvoikko
|
2017-05-02 15:44:19 +02:00
|
|
|
Version: 4.1.1
|
2011-12-27 14:29:04 +01:00
|
|
|
Release: 0
|
2008-07-31 04:40:46 +02:00
|
|
|
Summary: Spellchecker and Hyphenator for Finnish Language
|
2011-12-27 14:29:04 +01:00
|
|
|
License: GPL-2.0+
|
2008-07-31 04:40:46 +02:00
|
|
|
Group: Productivity/Text/Spell
|
2014-01-27 10:37:59 +01:00
|
|
|
Url: http://voikko.puimula.org
|
2015-08-05 17:57:21 +02:00
|
|
|
Source0: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
Source1: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz.asc
|
|
|
|
Source2: %{name}.keyring
|
2011-02-22 20:26:57 +01:00
|
|
|
Source99: baselibs.conf
|
2011-12-27 14:29:04 +01:00
|
|
|
BuildRequires: gcc-c++
|
|
|
|
BuildRequires: glib2-devel
|
2017-05-02 15:44:19 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: python3
|
|
|
|
BuildRequires: python3-xml
|
|
|
|
BuildRequires: pkgconfig(hfstospell)
|
2008-07-31 04:40:46 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
|
|
|
Suomi-Malaga.
|
|
|
|
|
|
|
|
%package -n libvoikko1
|
|
|
|
Summary: Spellchecker and Hyphenator for Finnish Language
|
2011-12-27 14:29:04 +01:00
|
|
|
Group: System/Libraries
|
2008-07-31 04:40:46 +02:00
|
|
|
Requires: malaga-suomi
|
|
|
|
|
|
|
|
%description -n libvoikko1
|
|
|
|
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
|
|
|
Suomi-Malaga.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Spellchecker and Hyphenator for Finnish Language
|
2011-12-27 14:29:04 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2014-01-27 10:37:59 +01:00
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: libvoikko1 = %{version}
|
2008-07-31 04:40:46 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
|
|
|
Suomi-Malaga.
|
|
|
|
|
|
|
|
%package -n voikkospell
|
|
|
|
Summary: Spellchecker and Hyphenator for Finnish Language
|
2011-12-27 14:29:04 +01:00
|
|
|
Group: Productivity/Text/Spell
|
2008-08-04 12:05:08 +02:00
|
|
|
Requires: libvoikko1 = %{version}
|
2008-07-31 04:40:46 +02:00
|
|
|
|
|
|
|
%description -n voikkospell
|
|
|
|
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
|
|
|
Suomi-Malaga.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2014-01-27 10:37:59 +01:00
|
|
|
%configure \
|
2017-05-02 15:44:19 +02:00
|
|
|
--disable-silent_rules \
|
2014-01-27 10:37:59 +01:00
|
|
|
--with-pic \
|
|
|
|
--disable-static \
|
2017-05-02 15:44:19 +02:00
|
|
|
--with-dictionary-path=%{_libexecdir}/voikko:%{_datadir}/voikko
|
2011-11-23 23:25:21 +01:00
|
|
|
make %{?_smp_mflags}
|
2008-07-31 04:40:46 +02:00
|
|
|
|
2014-01-27 10:37:59 +01:00
|
|
|
%check
|
2017-05-02 15:44:19 +02:00
|
|
|
make %{?_smp_mflags} check || :
|
2014-01-27 10:37:59 +01:00
|
|
|
|
2008-07-31 04:40:46 +02:00
|
|
|
%install
|
2017-05-02 15:44:19 +02:00
|
|
|
%make_install
|
2014-01-27 10:37:59 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2008-07-31 04:40:46 +02:00
|
|
|
|
|
|
|
%post -n libvoikko1 -p /sbin/ldconfig
|
|
|
|
%postun -n libvoikko1 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libvoikko1
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc COPYING ChangeLog README
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
%files -n voikkospell
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/*
|
2017-05-02 15:44:19 +02:00
|
|
|
%{_mandir}/man?/*%{ext_man}
|
2008-07-31 04:40:46 +02:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/libvoikko
|
|
|
|
%{_libdir}/*.so
|
2008-09-08 18:03:56 +02:00
|
|
|
%{_libdir}/pkgconfig/libvoikko.pc
|
2008-07-31 04:40:46 +02:00
|
|
|
|
|
|
|
%changelog
|