Upstream has changed,build with new tarball

This commit is contained in:
anish 2014-05-16 15:29:34 +05:30
parent bd7f080de2
commit efdf4975b0
3 changed files with 17 additions and 21 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
or-demo.tar.gz or-demo.tar.gz
/aspell6-or-0.03-1.tar.bz2 /aspell6-or-0.03-1.tar.bz2
/or_in.1.0.0.tar.gz

View File

@ -1,45 +1,40 @@
%global lang or
%global langrelease 1
Name: hunspell-or Name: hunspell-or
Summary: Odia hunspell dictionaries Summary: Odia hunspell dictionaries
Version: 0.03 Version: 1.0.0
Epoch: 1 Epoch: 1
Release: 4%{?dist} Release: 1%{?dist}
License: GPLv2+ License: GPLv2+
URL: http://aspell.net/ URL: https://gitorious.org/hunspell_dictionaries
Source0: ftp://ftp.gnu.org/gnu/aspell/dict/%{lang}/aspell6-%{lang}-%{version}-%{langrelease}.tar.bz2 Source0: http://anishpatil.fedorapeople.org/or_in.%{version}.tar.gz
BuildRequires: aspell
BuildRequires: hunspell-devel BuildRequires: hunspell-devel
Requires: hunspell Requires: hunspell
BuildArch: noarch BuildArch: noarch
%description %description
Odia hunspell dictionaries.This package contains Odia hunspell dictionaries.
the efforts of aspell-or that is converted by
wordlist2hunspell.
%prep %prep
%setup -q -n aspell6-%{lang}-%{version}-%{langrelease} %setup -q -c -n or_IN
prezip-bin -d < or.cwl > or.txt
iconv -f ISO-8859-1 -t UTF-8 Copyright > Copyright.utf8 iconv -f ISO-8859-1 -t UTF-8 or_IN/Copyright > or_IN/Copyright.utf8
mv Copyright.utf8 Copyright mv or_IN/Copyright.utf8 or_IN/Copyright
%build %build
export LANG=or_IN.utf8
wordlist2hunspell or.txt or_IN
%install %install
mkdir -p %{buildroot}%{_datadir}/myspell mkdir -p %{buildroot}%{_datadir}/myspell
cp -p *.dic *.aff %{buildroot}%{_datadir}/myspell cp -p or_IN/*.dic or_IN/*.aff %{buildroot}%{_datadir}/myspell
%files %files
%doc README COPYING Copyright %doc or_IN/README or_IN/COPYING or_IN/Copyright
%{_datadir}/myspell/* %{_datadir}/myspell/*
%changelog %changelog
* Fri May 16 2014 Anish Patil<apatil@redhat.com> - 1:1.0.0-1
- Upstream has changed and built with new tarball
* Wed Dec 11 2013 Parag <pnemade AT redhat DOT com> - 1:0.03-4 * Wed Dec 11 2013 Parag <pnemade AT redhat DOT com> - 1:0.03-4
- Resolves:rh#1040289: Change language name "Oriya" to "Odia" - Resolves:rh#1040289: Change language name "Oriya" to "Odia"

View File

@ -1 +1 @@
6c9d702607eaa43ef665007c4b857ba4 aspell6-or-0.03-1.tar.bz2 f9b4bdc5ec35016db233e09cc6fd7b38 or_in.1.0.0.tar.gz