# # spec file for package libvoikko (Version 2.1) # # 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: libvoikko Version: 2.1 Release: 1 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 # PATCH-FIX-UPSTREAM libvoikko-2.1-ac-macro-dir.diff sf#2810258 pmladek@suse.cz -- can't run autoreconf because the m4 direcotry is neither in the source tarball nor in svn Patch: libvoikko-2.1-ac-macro-dir.diff BuildRequires: gcc-c++ glib2-devel libmalaga-devel python python-xml BuildRoot: %{_tmppath}/%{name}-%{version}-build %define debug_package_requires libvoikko1 = %{version}-%{release} %description Voikko is a Finnish spellchecker and hyphenator based on Malaga and Suomi-Malaga. Authors: -------- Harri Pitkänen %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 %package devel License: GPL v2 or later Group: Development/Libraries/C and C++ Summary: Spellchecker and Hyphenator for Finnish Language Requires: libvoikko1 = %{version} glibc-devel %description devel Voikko is a Finnish spellchecker and hyphenator based on Malaga and Suomi-Malaga. Authors: -------- Harri Pitkänen %package -n voikkospell License: GPL v2 or later Group: Productivity/Text/Spell Summary: Spellchecker and Hyphenator for Finnish Language Requires: libvoikko1 = %{version} %description -n voikkospell Voikko is a Finnish spellchecker and hyphenator based on Malaga and Suomi-Malaga. Authors: -------- Harri Pitkänen %prep %setup -q %patch %build autoreconf -f -i %configure --with-pic\ --disable-static\ --with-dictionary-path=%{_datadir}/malaga make %{?jobs:-j%jobs} %install %makeinstall %{__rm} -f %{buildroot}%{_libdir}/*.la %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}/pkgconfig/libvoikko.pc %changelog