From efdf4975b01d13bf344a0a80138e4e2b1da14779 Mon Sep 17 00:00:00 2001 From: anish Date: Fri, 16 May 2014 15:29:34 +0530 Subject: [PATCH] Upstream has changed,build with new tarball --- .gitignore | 1 + hunspell-or.spec | 35 +++++++++++++++-------------------- sources | 2 +- 3 files changed, 17 insertions(+), 21 deletions(-) diff --git a/.gitignore b/.gitignore index 29d1f46..28f376e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ or-demo.tar.gz /aspell6-or-0.03-1.tar.bz2 +/or_in.1.0.0.tar.gz diff --git a/hunspell-or.spec b/hunspell-or.spec index 4adbc26..142bd1f 100644 --- a/hunspell-or.spec +++ b/hunspell-or.spec @@ -1,45 +1,40 @@ -%global lang or -%global langrelease 1 - Name: hunspell-or Summary: Odia hunspell dictionaries -Version: 0.03 +Version: 1.0.0 Epoch: 1 -Release: 4%{?dist} +Release: 1%{?dist} License: GPLv2+ -URL: http://aspell.net/ -Source0: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{version}-%{langrelease}.tar.bz2 - -BuildRequires: aspell +URL: https://gitorious.org/hunspell_dictionaries +Source0: http://anishpatil.fedorapeople.org/or_in.%{version}.tar.gz BuildRequires: hunspell-devel Requires: hunspell BuildArch: noarch %description -Odia hunspell dictionaries.This package contains -the efforts of aspell-or that is converted by -wordlist2hunspell. +Odia hunspell dictionaries. + %prep -%setup -q -n aspell6-%{lang}-%{version}-%{langrelease} -prezip-bin -d < or.cwl > or.txt +%setup -q -c -n or_IN -iconv -f ISO-8859-1 -t UTF-8 Copyright > Copyright.utf8 -mv Copyright.utf8 Copyright +iconv -f ISO-8859-1 -t UTF-8 or_IN/Copyright > or_IN/Copyright.utf8 +mv or_IN/Copyright.utf8 or_IN/Copyright %build -export LANG=or_IN.utf8 -wordlist2hunspell or.txt or_IN + %install mkdir -p %{buildroot}%{_datadir}/myspell -cp -p *.dic *.aff %{buildroot}%{_datadir}/myspell +cp -p or_IN/*.dic or_IN/*.aff %{buildroot}%{_datadir}/myspell %files -%doc README COPYING Copyright +%doc or_IN/README or_IN/COPYING or_IN/Copyright %{_datadir}/myspell/* %changelog +* Fri May 16 2014 Anish Patil - 1:1.0.0-1 +- Upstream has changed and built with new tarball + * Wed Dec 11 2013 Parag - 1:0.03-4 - Resolves:rh#1040289: Change language name "Oriya" to "Odia" diff --git a/sources b/sources index a143ddf..c7bb8c9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6c9d702607eaa43ef665007c4b857ba4 aspell6-or-0.03-1.tar.bz2 +f9b4bdc5ec35016db233e09cc6fd7b38 or_in.1.0.0.tar.gz