From e848ac2b6a7a44bcf87b2a9b3e2966108b1e5359 Mon Sep 17 00:00:00 2001 From: pnemade Date: Tue, 9 Mar 2010 10:31:42 +0000 Subject: [PATCH] - Resolves:rh#571712 - Should use correct version what upstream provides by adding epoch --- .cvsignore | 3 +-- hunspell-bn.spec | 37 +++++++++++++++++++++++++------------ sources | 2 +- 3 files changed, 27 insertions(+), 15 deletions(-) diff --git a/.cvsignore b/.cvsignore index 054fc28..8d886ce 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,2 +1 @@ -bn-demo.tar.gz -hunspell-bn-BD-0.02.tar.bz2 +hunspell-bn-0.04.tar.bz2 diff --git a/hunspell-bn.spec b/hunspell-bn.spec index 16da33d..6c0630f 100644 --- a/hunspell-bn.spec +++ b/hunspell-bn.spec @@ -1,13 +1,13 @@ -%define upstreamid 20080201 -%define upstreamver 0.02 +%define upstreamver 0.04 Name: hunspell-bn Summary: Bengali hunspell dictionaries -Version: %{upstreamid} -Release: 3%{?dist} -Source: http://www.ankur.org.bd/downloads/spell_check/hunspell/%{name}-BD-%{upstreamver}.tar.bz2 -Group: Applications/Text -URL: http://ankur.org.bd/wiki/Documentation#OpenOffice.org +Version: %{upstreamver} +Release: 1%{?dist} +Epoch: 1 +Group: Applications/Text +Source: http://sourceforge.net/projects/bengalinux/files/bengali-spellcheck/%{name}-%{version}.tar.bz2 +URL: http://ankur.org.bd/wiki BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: GPLv2+ BuildArch: noarch @@ -18,10 +18,17 @@ Requires: hunspell Bengali hunspell dictionaries. %prep -%setup -q -n %{name}-BD-%{upstreamver} -chmod -x * -iconv -f ISO-8859-1 -t UTF-8 Copyright > Copyright.utf8 -mv Copyright.utf8 Copyright +%setup -q -n %{name}-%{upstreamver} +chmod -x bn.aff bn.dic COPYING Copyright README +chmod -x doc/README + +# Convert to utf-8 +for file in Copyright doc/README; do + iconv -f ISO-8859-1 -t UTF-8 -o $file.new $file && \ + touch -r $file $file.new && \ + mv $file.new $file +done + %build @@ -43,10 +50,16 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc README COPYING Copyright +%doc doc/README COPYING Copyright %{_datadir}/myspell/* %changelog +* Tue Mar 09 2010 Parag - 1:0.04-1 +- Resolves:rh#571712 - Should use correct version what upstream provides by adding epoch + +* Mon Nov 30 2009 Dennis Gregorovic - 20080201-3.1 +- Rebuilt for RHEL 6 + * Fri Jul 24 2009 Fedora Release Engineering - 20080201-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index f8336c5..d2e6f48 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -87e98f516e85501245b8cf2efc6dee24 hunspell-bn-BD-0.02.tar.bz2 +53c2ed1898424644e5e994313c5f0834 hunspell-bn-0.04.tar.bz2