- Resolves:rh#571712 - Should use correct version what upstream provides by

adding epoch
This commit is contained in:
pnemade 2010-03-09 10:31:42 +00:00
parent 689075d5f5
commit e848ac2b6a
3 changed files with 27 additions and 15 deletions

View File

@ -1,2 +1 @@
bn-demo.tar.gz
hunspell-bn-BD-0.02.tar.bz2
hunspell-bn-0.04.tar.bz2

View File

@ -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 <pnemade AT redhat.com> - 1:0.04-1
- Resolves:rh#571712 - Should use correct version what upstream provides by adding epoch
* Mon Nov 30 2009 Dennis Gregorovic <dgregor@redhat.com> - 20080201-3.1
- Rebuilt for RHEL 6
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080201-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1 +1 @@
87e98f516e85501245b8cf2efc6dee24 hunspell-bn-BD-0.02.tar.bz2
53c2ed1898424644e5e994313c5f0834 hunspell-bn-0.04.tar.bz2