Name: hunspell-fj Summary: Fijian hunspell dictionaries %define upstreamid 20050811 Version: 0.%{upstreamid} Release: 1%{?dist} Group: Applications/Text Source0: http://www.iosn.net/pacific-islands/usp-microgrants/fijian-spellchecker/README_fj_FJ.txt Source1: http://www.iosn.net/pacific-islands/usp-microgrants/fijian-spellchecker/fj_FJ.dic Source2: http://www.iosn.net/pacific-islands/usp-microgrants/fijian-spellchecker/fj_FJ.aff URL: http://www.iosn.net/pacific-islands/usp-microgrants/fijian-spellchecker BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: LGPLv2+ BuildArch: noarch BuildRequires: hunspell-devel Requires: hunspell %description Fijian hunspell dictionaries. %prep %setup -q -T -c cp -p %{SOURCE0} %{SOURCE1} %{SOURCE2} . %build tr -d '\r' < README_fj_FJ.txt > README_fj_FJ.txt.new mv -f README_fj_FJ.txt.new README_fj_FJ.txt %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell cp -p fj_FJ.* $RPM_BUILD_ROOT/%{_datadir}/myspell %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc README_fj_FJ.txt %{_datadir}/myspell/* %changelog * Sat Nov 01 2008 Caolan McNamara - 0.20050811-1 - initial version