# $Id$ %define lang pt %define langrelease 2 Summary: Portuguese dictionaries for Aspell. Name: aspell-%{lang} Epoch: 50 Version: 0.50 Release: 10.2.2%{?dist} License: GPL Group: Applications/Text URL: http://aspell.net/ Source: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell-%{lang}-%{version}-%{langrelease}.tar.bz2 Patch: aspell-pt-0.50-2.utf-filename.patch Patch2: aspell-pt-0.50-2.brasileiro.patch Buildrequires: aspell >= 12:0.60 Requires: aspell >= 12:0.60 BuildRoot: %{_tmppath}/%{name}-%{version}-root %define debug_package %{nil} %description Provides the word list/dictionaries for the following: European Portuguese, Brazilian Portuguese %prep rm -rf $RPM_BUILD_ROOT %setup -q -n aspell-%{lang}-%{version}-%{langrelease} %patch -p1 -b .utf-filename %patch2 -p1 -b .brasileiro mv $(echo -e 'portugu\352s.alias') $(echo -e 'portugu\303\252s.alias') %build echo "ASPELL = aspell" > Makefile echo "DEST_DIR = $RPM_BUILD_ROOT" >> Makefile echo "WORD_LIST_COMPRESS = word-list-compress" >> Makefile echo "dictdir = ${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60" >> Makefile echo "datadir = ${RPM_BUILD_ROOT}%{_libdir}/aspell-0.60" >> Makefile cat Makefile.pre >> Makefile make %install make install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_libdir}/aspell-0.60/* #%{_datadir}/aspell/* %changelog * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague * Thu Feb 08 2007 Shad L. Lords - Update to new release naming. No functional changes. - Make Packager generic * Wed Jul 12 2006 Jesse Keating - 50:0.50-10.2.2 - rebuild * Fri Feb 10 2006 Jesse Keating - 50:0.50-10.2.1 - bump again for double-long bug on ppc(64) * Tue Feb 07 2006 Jesse Keating - 50:0.50-10.2 - rebuilt for new gcc4.1 snapshot and glibc changes * Fri Dec 09 2005 Jesse Keating - rebuilt * Tue Jul 19 2005 Ivana Varekova 50:0.50-10 - build with aspell-0.60.3 * Wed Oct 21 2004 Adrian Havill 50:0.50-9 - add brasileiro alias (#104843) * Tue Sep 28 2004 Adrian Havill 50:0.50-8 - n-v-r, alias to utf-8 filename, epoch, no debuginfo * Tue Mar 02 2004 Elliot Lee - rebuilt * Fri Feb 13 2004 Elliot Lee - rebuilt * Wed Jul 10 2003 Adrian Havill 0.50-6 - removed non-ascii alias * Mon Jun 23 2003 Adrian Havill 0.50-5 - remove buildarch; data files are platform dependent * Fri Jun 20 2003 Adrian Havill 0.50-4 - first build for new aspell (0.50)