diff --git a/hunspell-te.spec b/hunspell-te.spec new file mode 100644 index 0000000..2e51787 --- /dev/null +++ b/hunspell-te.spec @@ -0,0 +1,42 @@ +Name: hunspell-te +Summary: Telugu hunspell dictionaries +%define upstreamid 20050929 +Version: 0.%{upstreamid} +Release: 1%{?dist} +Group: Applications/Text +URL: http://aspell.net/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPLv2 +BuildArch: noarch +BuildRequires: aspell-te, hunspell-devel + +Requires: hunspell + +%description +Telugu hunspell dictionaries. + +%prep +%setup -T -q -c -n hunspell-te +cp %{_docdir}/aspell-te*/* . + +%build +export LANG=te_IN.utf8 +aspell --master=te dump master > telugu.words +wordlist2hunspell telugu.words te_IN + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc COPYING Copyright +%{_datadir}/myspell/* + +%changelog +* Fri Sep 12 2008 Caolan McNamara - 0.20050929-1 +- initial version diff --git a/import.log b/import.log new file mode 100644 index 0000000..3463843 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +hunspell-te-0_20050929-1_fc9:HEAD:hunspell-te-0.20050929-1.fc9.src.rpm:1224045176