/[packages]/cauldron/hunspell-te/current/SPECS/hunspell-te.spec
ViewVC logotype

Contents of /cauldron/hunspell-te/current/SPECS/hunspell-te.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 74349 - (show annotations) (download)
Sat Mar 19 00:23:44 2011 UTC (13 years, 1 month ago) by dmorgan
File size: 1152 byte(s)
Fix aspell requires
1 %define lang te
2 %define langrelease 2
3 %define langversion 0.01
4
5 Name: hunspell-te
6 Summary: Telugu hunspell dictionaries
7 %define upstreamid 20050929
8 Version: 0.%{upstreamid}.1
9 Release: %mkrel 6
10 Group: Text tools
11 ##Upstream is unresponsive so unable to verify license version
12 License: GPL+
13 URL: http://aspell.net/
14 Source0: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{langversion}-%{langrelease}.tar.bz2
15 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
16 BuildArch: noarch
17 BuildRequires: aspell >= 0.60
18 BuildRequires: hunspell-devel
19 Requires: hunspell
20
21 %description
22 Telugu hunspell dictionaries.This package
23 contains the efforts of aspell-te that converted by
24 wordlist2hunspell.
25
26 %prep
27 %setup -q -n aspell6-%{lang}-%{langversion}-%{langrelease}
28 prezip-bin -d < te.cwl > te.txt
29
30 %build
31 export LANG=te_IN.utf8
32 wordlist2hunspell te.txt te_IN
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
37 cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
38
39
40 %clean
41 rm -rf %{buildroot}
42
43 %files
44 %defattr(-,root,root,-)
45 %doc COPYING Copyright
46 %{_datadir}/myspell/*
47

  ViewVC Help
Powered by ViewVC 1.1.30