%define lang pt %define langrelease 2 Summary: Portuguese dictionaries for Aspell Name: aspell-%{lang} Version: 0.50 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}-2.utf-filename.patch Patch2: aspell-%{lang}-%{version}-2.brasileiro.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Buildrequires: aspell >= 0.60 Requires: aspell >= 0.60 %description Provides the word list/dictionaries for the following: European Portuguese, Brazilian Portuguese %prep %setup -q -n aspell-%{lang}-%{version}-%{langrelease} export PATH=/opt/freeware/bin:$PATH %patch0 -p1 -b .utf-filename %patch2 -p1 -b .brasileiro cp portuguese.alias português.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 - first version for AIX V5.1 and higher