Name: malaga-suomi-voikko Version: 1.8 Release: 1 Summary: A description of Finnish morphology written in Malaga (Voikko edition) Group: Applications/Text License: GPLv2+ URL: http://voikko.sourceforge.net/ Source0: http://downloads.sourceforge.net/voikko/suomi-malaga-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: malaga >= 7.12-1 BuildRequires: python %description A description of Finnish morphology written in Malaga. This package is built to support the Voikko spellchecker/hyphenator, it doesn't support the Sukija text indexer. %prep %setup -q -n suomi-malaga-%{version} %build # configure removed, not needed in this package make %{?_smp_mflags} voikko %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} # Files differ on big-endian and small-endian archs, and they have different # names (*_l vs *_b). This is the reason we use %%{_libdir} instead of # %%{_datadir} and won't noarch the package. make voikko-install DESTDIR=${RPM_BUILD_ROOT}%{_libdir}/voikko %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc ChangeLog CONTRIBUTORS COPYING README README.fi %{_libdir}/voikko %changelog * Mon Mar 14 2011 Michael Perzl - 1.8-1 - first version for AIX V5.1 and higher