%define aspell_majver 0.60 %define majver %(echo %version | cut -d. -f1-2) %define minver %(echo %version | cut -d. -f3) Name: aspell-fr Version: 0.50.3 Release: 1mamba Summary: French dictionary for aspell Group: System/Internationalization Vendor: openmamba Distribution: openmamba Packager: Aleph0 URL: http://aspell.net Source: http://ftp.gnu.org/gnu/aspell/dict/fr/aspell-fr-%{majver}-%{minver}.tar.bz2 License: GPL BuildArch: noarch Requires: aspell >= %{aspell_majver} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description A French dictionary for use with aspell, a spelling checker. %prep %setup -q -n %{name}-%{majver}-%{minver} %build ./configure %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files %defattr(-,root,root) %{_libdir}/aspell-%{aspell_majver}/* %changelog * Tue Jan 29 2013 Automatic Build System 0.50.3-1mamba - update to 0.50.3 * Wed Jun 18 2008 Tiziana Ferro 0.50-2mamba - update Vendor, Distribution and Packager * Wed Dec 07 2005 Davide Madrisan 0.50-1qilnx - first build of aspell-fr