2008-07-31 04:40:46 +02:00
|
|
|
|
#
|
2008-09-08 18:03:56 +02:00
|
|
|
|
# spec file for package libvoikko (Version 2.0)
|
2008-07-31 04:40:46 +02:00
|
|
|
|
#
|
2009-02-03 22:59:28 +01:00
|
|
|
|
# Copyright (c) 2009 SUSE LINUX Products 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/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: libvoikko
|
2008-09-08 18:03:56 +02:00
|
|
|
|
Version: 2.0
|
2009-02-03 22:59:28 +01:00
|
|
|
|
Release: 3
|
2008-07-31 04:40:46 +02:00
|
|
|
|
Url: http://voikko.sourceforge.net/
|
|
|
|
|
License: GPL v2 or later
|
|
|
|
|
Summary: Spellchecker and Hyphenator for Finnish Language
|
|
|
|
|
Group: Productivity/Text/Spell
|
|
|
|
|
Source: libvoikko-%{version}.tar.bz2
|
|
|
|
|
BuildRequires: glib2-devel libmalaga-devel
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-10-23 01:26:24 +02:00
|
|
|
|
%define debug_package_requires libvoikko1 = %{version}-%{release}
|
2008-07-31 04:40:46 +02:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
|
|
|
|
Suomi-Malaga.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Harri Pitk<EFBFBD>nen <hatapitk@iki.fi>
|
|
|
|
|
|
|
|
|
|
%package -n libvoikko1
|
|
|
|
|
License: GPL v2 or later
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Summary: Spellchecker and Hyphenator for Finnish Language
|
|
|
|
|
Requires: malaga-suomi
|
|
|
|
|
|
|
|
|
|
%description -n libvoikko1
|
|
|
|
|
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
|
|
|
|
Suomi-Malaga.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Harri Pitk<EFBFBD>nen <hatapitk@iki.fi>
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
License: GPL v2 or later
|
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
|
Summary: Spellchecker and Hyphenator for Finnish Language
|
2009-02-03 22:59:28 +01:00
|
|
|
|
Requires: libvoikko1 = %{version} glibc-devel
|
2008-07-31 04:40:46 +02:00
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
|
|
|
|
Suomi-Malaga.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Harri Pitk<EFBFBD>nen <hatapitk@iki.fi>
|
|
|
|
|
|
|
|
|
|
%package -n voikkospell
|
|
|
|
|
License: GPL v2 or later
|
|
|
|
|
Group: Productivity/Text/Spell
|
|
|
|
|
Summary: Spellchecker and Hyphenator for Finnish Language
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Harri Pitk<EFBFBD>nen <hatapitk@iki.fi>
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -f -i
|
2009-02-03 22:59:28 +01:00
|
|
|
|
%configure --with-pic\
|
2008-07-31 04:40:46 +02:00
|
|
|
|
--disable-static\
|
|
|
|
|
--with-dictionary-path=%{_datadir}/malaga
|
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%makeinstall
|
2009-02-03 22:59:28 +01:00
|
|
|
|
%{__rm} -f %{buildroot}%{_libdir}/*.la
|
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}/*
|
|
|
|
|
%doc %{_mandir}/man?/*.*
|
|
|
|
|
|
|
|
|
|
%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
|
2009-02-03 22:59:28 +01:00
|
|
|
|
* Tue Feb 03 2009 crrodriguez@suse.de
|
|
|
|
|
- remove "la" files
|
2008-10-23 01:26:24 +02:00
|
|
|
|
* Wed Oct 22 2008 mrueckert@suse.de
|
|
|
|
|
- fix debug_packages_requires define
|
2008-09-08 18:03:56 +02:00
|
|
|
|
* Mon Sep 08 2008 sbrabec@suse.cz
|
|
|
|
|
- Updated to version 2.0:
|
|
|
|
|
* New API for identifying sentences from text paragraphs.
|
|
|
|
|
* New API for paragraph based grammar checking.
|
|
|
|
|
* New test program voikkogc for testing grammar checker and
|
|
|
|
|
related functionality.
|
|
|
|
|
* Option VOIKKO_OPT_ENCODING has been deprecated.
|
2008-08-04 12:05:08 +02:00
|
|
|
|
* Mon Aug 04 2008 ro@suse.de
|
|
|
|
|
- do not require non-existent base package in voikkospell
|
2008-08-02 00:27:46 +02:00
|
|
|
|
* Fri Aug 01 2008 ro@suse.de
|
|
|
|
|
- fix requires for debuginfo package
|
2008-07-31 04:40:46 +02:00
|
|
|
|
* Fri Jul 25 2008 sbrabec@suse.cz
|
|
|
|
|
- New SuSE package based on spec file from Sami Vento (bnc#394355).
|