%define lang mr %define langrelease 0 Name: aspell-mr Version: 0.10 Release: 1 Summary: GNU Aspell Marathi Dictionary Package Group: Applications/Text License: GPLv2 URL: http://aspell.net/ Source0: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{version}-%{langrelease}.tar.bz2 Patch1: marathi-specific-chars-426943.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: aspell >= 0.60, patch Requires: aspell >= 0.60 %description GNU Aspell Marathi Dictionary Package # Note that this package, like other aspell's language packs, does not come up # cleanly through rpmlint, but with the following errors: # E: aspell-mr no-binary # E: aspell-mr only-non-binary-in-usr-lib # This is because the package contains only data files which sit under /usr/lib. # They have to stay there, as they are architecture-dependent (due to # byte-ordering issues). # E: aspell-mr configure-without-libdir-spec # The configure script isn't actually one generated by autoconf and doesn't accept # --libdir, so this error is bogus. %prep %setup -q -n aspell6-%{lang}-%{version}-%{langrelease} export PATH=/opt/freeware/bin:$PATH %patch1 -p0 mv u-deva.cset u-deva-mr.cset mv u-deva.cmap u-deva-mr.cmap %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.10-1 - first version for AIX V5.1 and higher