%define lang nb %define langrelease 0 Summary: Norwegian dictionaries for Aspell Name: aspell-no Version: 0.50.1 Release: 1 License: GPLv2 Group: Applications/Text URL: http://aspell.net/ Source0: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell-%{lang}-%{version}-%{langrelease}.tar.bz2 Patch0: aspell-%{lang}-%{version}-0.utf-filename.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Buildrequires: aspell >= 0.60, patch Requires: aspell >= 0.60 %description Provides the word list/dictionaries for the following: Norwegian %prep %setup -q -n aspell-%{lang}-%{version}-%{langrelease} export PATH=/opt/freeware/bin:$PATH %patch -p1 -b .utf-filename cp bokmal.alias bokmål.alias %build ./configure make %{?_smp_mflags} %install [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} make install DESTDIR=${RPM_BUILD_ROOT} %clean [ "${RPM_BUILD_ROOT}" != "/" ] && rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,system,-) %doc COPYING Copyright %{_libdir}/aspell-0.60/* %changelog * Thu Dec 02 2010 Michael Perzl - 0.50.1-1 - first version for AIX V5.1 and higher