hunspell-te/hunspell-te.spec
2008-10-15 04:33:58 +00:00

43 lines
910 B
RPMSpec

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 <caolanm@redhat.com> - 0.20050929-1
- initial version