6a15f4
%define lang te
6a15f4
%define langrelease 2
6a15f4
%define langversion 0.01
6a15f4
6a15f4
Name: hunspell-te
6a15f4
Summary: Telugu hunspell dictionaries
6a15f4
%define upstreamid 20050929
6a15f4
Version: 0.%{upstreamid}
6a15f4
Release: 11%{?dist}
6a15f4
Group:          Applications/Text
6a15f4
##Upstream is unresponsive so unable to verify license version
6a15f4
License:        GPL+
6a15f4
URL:            http://aspell.net/
6a15f4
Source0:        ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{langversion}-%{langrelease}.tar.bz2
6a15f4
BuildArch:      noarch
6a15f4
BuildRequires:  aspell >= 12:0.60
6a15f4
BuildRequires:  hunspell-devel
6a15f4
Requires:       hunspell
6a15f4
6a15f4
%description
6a15f4
Telugu hunspell dictionaries.This package
6a15f4
contains the efforts of aspell-te that converted by
6a15f4
wordlist2hunspell.
6a15f4
6a15f4
%prep
6a15f4
%setup -q -n aspell6-%{lang}-%{langversion}-%{langrelease}
6a15f4
prezip-bin -d < te.cwl > te.txt
6a15f4
6a15f4
%build
6a15f4
export LANG=te_IN.utf8
6a15f4
wordlist2hunspell te.txt te_IN
6a15f4
6a15f4
%install
6a15f4
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
6a15f4
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
6a15f4
6a15f4
%files 
6a15f4
%doc COPYING Copyright
6a15f4
%{_datadir}/myspell/*
6a15f4
6a15f4
%changelog
6a15f4
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.20050929-11
6a15f4
- Mass rebuild 2013-12-27
6a15f4
6a15f4
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050929-10
6a15f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6a15f4
6a15f4
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050929-9
6a15f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6a15f4
6a15f4
* Tue Feb 28 2012 Parag <pnemade AT redhat DOT com> - 0.20050929-8
6a15f4
- spec cleanup
6a15f4
6a15f4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050929-7
6a15f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6a15f4
6a15f4
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050929-6
6a15f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
6a15f4
6a15f4
* Mon Mar 08 2010 Parag <pnemade AT redhat.com> - 0.20050929-5
6a15f4
- Resolves:rh#568227-[te_IN]Fix %description and license tag                                                
6a15f4
6a15f4
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050929-4
6a15f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
6a15f4
6a15f4
* Fri Jul 17 2009 Parag <pnemade@redhat.com> - 0.20050929-3
6a15f4
- Use aspell source instead to pull source as BR:aspell-te
6a15f4
- Resolves:rh#511262 buildrequires aspell-te
6a15f4
6a15f4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050929-2
6a15f4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
6a15f4
6a15f4
* Fri Sep 12 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050929-1
6a15f4
- initial version
6a15f4
6a15f4