- Use aspell source instead to pull source as BR:aspell-te
- Resolves:rh#511262 buildrequires aspell-te
This commit is contained in:
parent
aa914fc6b2
commit
d8b5ec97cc
@ -0,0 +1 @@
|
||||
aspell6-te-0.01-2.tar.bz2
|
@ -1,45 +1,56 @@
|
||||
%define lang te
|
||||
%define langrelease 2
|
||||
%define langversion 0.01
|
||||
|
||||
Name: hunspell-te
|
||||
Summary: Telugu hunspell dictionaries
|
||||
%define upstreamid 20050929
|
||||
Version: 0.%{upstreamid}
|
||||
Release: 2%{?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
|
||||
Release: 3%{?dist}
|
||||
Group: Applications/Text
|
||||
License: GPLv2+
|
||||
URL: http://aspell.net/
|
||||
Source0: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{langversion}-%{langrelease}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: aspell >= 12:0.60
|
||||
BuildRequires: hunspell-devel
|
||||
Requires: hunspell
|
||||
|
||||
%description
|
||||
Telugu hunspell dictionaries.
|
||||
|
||||
%prep
|
||||
%setup -T -q -c -n hunspell-te
|
||||
cp %{_docdir}/aspell-te*/* .
|
||||
%setup -q -n aspell6-%{lang}-%{langversion}-%{langrelease}
|
||||
prezip-bin -d < te.cwl > te.txt
|
||||
|
||||
%build
|
||||
export LANG=te_IN.utf8
|
||||
aspell --master=te dump master > telugu.words
|
||||
wordlist2hunspell telugu.words te_IN
|
||||
wordlist2hunspell te.txt 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
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING Copyright
|
||||
%{_datadir}/myspell/*
|
||||
|
||||
%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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Fri Sep 12 2008 Caolan McNamara <caolanm@redhat.com> - 0.20050929-1
|
||||
- initial version
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user