/[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 74382 - (show annotations) (download)
Sat Mar 19 07:17:30 2011 UTC (9 years, 6 months ago) by dmorgan
File size: 1177 byte(s)
Fix buildrequires
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 BuildRequires: hunspell
20 Requires: hunspell
21
22 %description
23 Telugu hunspell dictionaries.This package
24 contains the efforts of aspell-te that converted by
25 wordlist2hunspell.
26
27 %prep
28 %setup -q -n aspell6-%{lang}-%{langversion}-%{langrelease}
29 prezip-bin -d < te.cwl > te.txt
30
31 %build
32 export LANG=te_IN.utf8
33 wordlist2hunspell te.txt te_IN
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
38 cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
39
40
41 %clean
42 rm -rf %{buildroot}
43
44 %files
45 %defattr(-,root,root,-)
46 %doc COPYING Copyright
47 %{_datadir}/myspell/*
48

  ViewVC Help
Powered by ViewVC 1.1.28