Upstream has changed,build with new tarball
This commit is contained in:
parent
bd7f080de2
commit
efdf4975b0
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
or-demo.tar.gz
|
||||
/aspell6-or-0.03-1.tar.bz2
|
||||
/or_in.1.0.0.tar.gz
|
||||
|
@ -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<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
|
||||
- Resolves:rh#1040289: Change language name "Oriya" to "Odia"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user