forked from pool/libvoikko
119 lines
2.5 KiB
RPMSpec
119 lines
2.5 KiB
RPMSpec
#
|
|
# spec file for package libvoikko (Version 1.7)
|
|
#
|
|
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: libvoikko
|
|
Version: 1.7
|
|
Release: 2
|
|
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
|
|
|
|
%description
|
|
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
|
Suomi-Malaga.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Harri Pitkä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änen <hatapitk@iki.fi>
|
|
|
|
%package devel
|
|
License: GPL v2 or later
|
|
Group: Development/Libraries/C and C++
|
|
Summary: Spellchecker and Hyphenator for Finnish Language
|
|
Requires: libvoikko1 = %{version} libmalaga-devel
|
|
|
|
%description devel
|
|
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
|
Suomi-Malaga.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Harri Pitkänen <hatapitk@iki.fi>
|
|
|
|
%package -n voikkospell
|
|
License: GPL v2 or later
|
|
Group: Productivity/Text/Spell
|
|
Summary: Spellchecker and Hyphenator for Finnish Language
|
|
Requires: %{name} = %{version}
|
|
|
|
%description -n voikkospell
|
|
Voikko is a Finnish spellchecker and hyphenator based on Malaga and
|
|
Suomi-Malaga.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Harri Pitkänen <hatapitk@iki.fi>
|
|
|
|
%prep
|
|
%setup -q
|
|
|
|
%build
|
|
autoreconf -f -i
|
|
%configure\
|
|
--disable-static\
|
|
--with-dictionary-path=%{_datadir}/malaga
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
|
|
%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
|
|
%{_libdir}/*.*a
|
|
|
|
%changelog
|
|
* Fri Jul 25 2008 sbrabec@suse.cz
|
|
- New SuSE package based on spec file from Sami Vento (bnc#394355).
|