- Use aspell source instead to pull source as BR:aspell-te

- Resolves:rh#511262 buildrequires aspell-te
This commit is contained in:
paragn 2009-07-17 04:21:41 +00:00
parent aa914fc6b2
commit d8b5ec97cc
3 changed files with 29 additions and 16 deletions

View File

@ -0,0 +1 @@
aspell6-te-0.01-2.tar.bz2

View File

@ -1,45 +1,56 @@
%define lang te
%define langrelease 2
%define langversion 0.01
Name: hunspell-te Name: hunspell-te
Summary: Telugu hunspell dictionaries Summary: Telugu hunspell dictionaries
%define upstreamid 20050929 %define upstreamid 20050929
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 2%{?dist} Release: 3%{?dist}
Group: Applications/Text Group: Applications/Text
URL: http://aspell.net/ License: GPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) URL: http://aspell.net/
License: GPLv2 Source0: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{langversion}-%{langrelease}.tar.bz2
BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: aspell-te, hunspell-devel BuildArch: noarch
BuildRequires: aspell >= 12:0.60
Requires: hunspell BuildRequires: hunspell-devel
Requires: hunspell
%description %description
Telugu hunspell dictionaries. Telugu hunspell dictionaries.
%prep %prep
%setup -T -q -c -n hunspell-te %setup -q -n aspell6-%{lang}-%{langversion}-%{langrelease}
cp %{_docdir}/aspell-te*/* . prezip-bin -d < te.cwl > te.txt
%build %build
export LANG=te_IN.utf8 export LANG=te_IN.utf8
aspell --master=te dump master > telugu.words wordlist2hunspell te.txt te_IN
wordlist2hunspell telugu.words te_IN
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
%clean
rm -rf $RPM_BUILD_ROOT
%files %clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING Copyright %doc COPYING Copyright
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri Jul 17 2009 Parag <pnemade@redhat.com> - 0.20050929-3
- Use aspell source instead to pull source as BR:aspell-te
- Resolves:rh#511262 buildrequires aspell-te
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050929-2 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20050929-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
* Fri Sep 12 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050929-1 * Fri Sep 12 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050929-1
- initial version - initial version

View File

@ -0,0 +1 @@
645f7f7204520552cddbe1c9ae64df2a aspell6-te-0.01-2.tar.bz2