2010-03-09 10:31:42 +00:00
|
|
|
%define upstreamver 0.04
|
2008-09-08 09:54:40 +00:00
|
|
|
|
2008-01-07 06:32:06 +00:00
|
|
|
Name: hunspell-bn
|
|
|
|
Summary: Bengali hunspell dictionaries
|
2010-03-09 10:31:42 +00:00
|
|
|
Version: %{upstreamver}
|
2011-02-09 09:47:51 +00:00
|
|
|
Release: 3%{?dist}
|
2010-03-09 10:31:42 +00:00
|
|
|
Epoch: 1
|
|
|
|
Group: Applications/Text
|
|
|
|
Source: http://sourceforge.net/projects/bengalinux/files/bengali-spellcheck/%{name}-%{version}.tar.bz2
|
|
|
|
URL: http://ankur.org.bd/wiki
|
2008-01-07 06:32:06 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
License: GPLv2+
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
Requires: hunspell
|
|
|
|
|
|
|
|
%description
|
|
|
|
Bengali hunspell dictionaries.
|
|
|
|
|
|
|
|
%prep
|
2010-03-09 10:31:42 +00:00
|
|
|
%setup -q -n %{name}-%{upstreamver}
|
|
|
|
chmod -x bn.aff bn.dic COPYING Copyright README
|
|
|
|
chmod -x doc/README
|
2010-03-25 06:15:43 +00:00
|
|
|
mv bn.aff bn_BD.aff
|
|
|
|
mv bn.dic bn_BD.dic
|
2010-03-09 10:31:42 +00:00
|
|
|
|
|
|
|
# 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
|
|
|
|
|
2008-01-07 06:32:06 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell
|
2008-09-08 09:54:40 +00:00
|
|
|
cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell
|
2008-01-07 06:32:06 +00:00
|
|
|
|
2008-09-04 05:35:10 +00:00
|
|
|
pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/
|
2008-09-08 09:54:40 +00:00
|
|
|
bn_BD_aliases="bn_IN"
|
|
|
|
for lang in $bn_BD_aliases; do
|
|
|
|
ln -s bn_BD.aff $lang.aff
|
|
|
|
ln -s bn_BD.dic $lang.dic
|
2008-09-04 05:35:10 +00:00
|
|
|
done
|
|
|
|
popd
|
|
|
|
|
2008-01-07 06:32:06 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2010-03-09 10:31:42 +00:00
|
|
|
%doc doc/README COPYING Copyright
|
2008-01-07 06:32:06 +00:00
|
|
|
%{_datadir}/myspell/*
|
|
|
|
|
|
|
|
%changelog
|
2011-02-09 09:47:51 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.04-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-03-25 06:15:43 +00:00
|
|
|
* Thu Mar 25 2010 Parag <pnemade AT redhat.com> - 1:0.04-2
|
|
|
|
- Resolves:rh#576774 - newer release 0.04 made symlink to bn_BD nonexistent
|
|
|
|
|
2010-03-09 10:31:42 +00:00
|
|
|
* 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
|
|
|
|
|
2009-07-25 02:21:54 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080201-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 04:29:18 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20080201-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-09-08 09:54:40 +00:00
|
|
|
* Mon Sep 08 2008 Parag <pnemade@redhat.com> - 20080201-1
|
|
|
|
- update to latest release.
|
|
|
|
|
2008-09-04 05:35:10 +00:00
|
|
|
* Tue Sep 02 2008 Caolán McNamara <caolanm@redhat.com> - 20050726-3
|
|
|
|
- add bn_BD alias
|
|
|
|
|
2008-01-07 06:32:06 +00:00
|
|
|
* Sun Jan 06 2008 Parag <pnemade@redhat.com> - 20050726-2
|
|
|
|
- Added Copyright and corrected changelog version.
|
|
|
|
|
|
|
|
* Thu Jan 03 2008 Parag <pnemade@redhat.com> - 20050726-1
|
|
|
|
- Initial Fedora release
|