- Resolves:rh#571712 - Should use correct version what upstream provides by
adding epoch
This commit is contained in:
parent
689075d5f5
commit
e848ac2b6a
@ -1,2 +1 @@
|
|||||||
bn-demo.tar.gz
|
hunspell-bn-0.04.tar.bz2
|
||||||
hunspell-bn-BD-0.02.tar.bz2
|
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
%define upstreamid 20080201
|
%define upstreamver 0.04
|
||||||
%define upstreamver 0.02
|
|
||||||
|
|
||||||
Name: hunspell-bn
|
Name: hunspell-bn
|
||||||
Summary: Bengali hunspell dictionaries
|
Summary: Bengali hunspell dictionaries
|
||||||
Version: %{upstreamid}
|
Version: %{upstreamver}
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
Source: http://www.ankur.org.bd/downloads/spell_check/hunspell/%{name}-BD-%{upstreamver}.tar.bz2
|
Epoch: 1
|
||||||
Group: Applications/Text
|
Group: Applications/Text
|
||||||
URL: http://ankur.org.bd/wiki/Documentation#OpenOffice.org
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -18,10 +18,17 @@ Requires: hunspell
|
|||||||
Bengali hunspell dictionaries.
|
Bengali hunspell dictionaries.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-BD-%{upstreamver}
|
%setup -q -n %{name}-%{upstreamver}
|
||||||
chmod -x *
|
chmod -x bn.aff bn.dic COPYING Copyright README
|
||||||
iconv -f ISO-8859-1 -t UTF-8 Copyright > Copyright.utf8
|
chmod -x doc/README
|
||||||
mv Copyright.utf8 Copyright
|
|
||||||
|
# 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
|
%build
|
||||||
|
|
||||||
@ -43,10 +50,16 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc README COPYING Copyright
|
%doc doc/README COPYING Copyright
|
||||||
%{_datadir}/myspell/*
|
%{_datadir}/myspell/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080201-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user