[hunspell-or] Update upstream source

pnemade pnemade at fedoraproject.org
Fri Dec 7 13:14:11 UTC 2012


commit e83db1812a52e81e88b38970ad750539cd2cc50a
Author: Parag Nemade <pnemade at redhat.com>
Date:   Fri Dec 7 18:46:02 2012 +0530

    Update upstream source

 .gitignore       |    1 +
 hunspell-or.spec |   48 +++++++++++++++++++++++++++++++-----------------
 sources          |    2 +-
 3 files changed, 33 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 1ca1457..29d1f46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 or-demo.tar.gz
+/aspell6-or-0.03-1.tar.bz2
diff --git a/hunspell-or.spec b/hunspell-or.spec
index ae48902..293273d 100644
--- a/hunspell-or.spec
+++ b/hunspell-or.spec
@@ -1,36 +1,50 @@
+%global lang or
+%global langrelease 1
+
 Name: hunspell-or
 Summary: Oriya hunspell dictionaries
-Version: 20050726
-Release: 8%{?dist}
-Source: http://hunspell.sourceforge.net/or-demo.tar.gz
-Group: Applications/Text
-URL: http://hunspell.sourceforge.net
-License: LGPLv2+
-BuildArch: noarch
+Version: 0.03
+Epoch:   1
+Release: 1%{?dist}
+Group:          Applications/Text
+License:        GPLv2+
+URL:            http://aspell.net/
+Source0:        ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{version}-%{langrelease}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
-Requires: hunspell
+BuildRequires:  aspell
+BuildRequires:  hunspell-devel
+Requires:       hunspell
+BuildArch: noarch
 
 %description
-Oriya hunspell dictionaries.
+Oriya hunspell dictionaries.This package contains 
+the efforts of aspell-or that is converted by
+wordlist2hunspell.
 
 %prep
-%setup -q -c -n or-demo
-iconv -f ISO-8859-1 -t UTF-8 or/Copyright > or/Copyright.utf8
-mv or/Copyright.utf8 or/Copyright
+%setup -q -n aspell6-%{lang}-%{version}-%{langrelease}
+prezip-bin -d < or.cwl > or.txt
+
+iconv -f ISO-8859-1 -t UTF-8 Copyright > Copyright.utf8
+mv Copyright.utf8 Copyright
 
 %build
+export LANG=or_IN.utf8
+wordlist2hunspell or.txt or_IN
 
 %install
-mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
-mv or/or.dic or/or_IN.dic
-mv or/or.aff or/or_IN.aff
-cp -p or/*.dic or/*.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
+mkdir -p %{buildroot}%{_datadir}/myspell
+cp -p *.dic *.aff %{buildroot}%{_datadir}/myspell
 
 %files
-%doc or/README or/COPYING or/Copyright
+%doc README COPYING Copyright
 %{_datadir}/myspell/*
 
 %changelog
+* Fri Dec 07 2012 Parag <pnemade AT redhat DOT com> - 1:0.03-1
+- Update upstream source
+
 * Thu Jul 19 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 20050726-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 1bc14fa..a143ddf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-febced61755f2a972c381a4b0af9d590  or-demo.tar.gz
+6c9d702607eaa43ef665007c4b857ba4  aspell6-or-0.03-1.tar.bz2


More information about the scm-commits mailing list