From 869de9474971d233a0902a13c92d1637b51d7c12 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Oct 29 2019 10:36:47 +0000 Subject: import hunspell-bn-0.06-4.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..2806423 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/hunspell-bn-0.06.tar.bz2 diff --git a/.hunspell-bn.metadata b/.hunspell-bn.metadata new file mode 100644 index 0000000..86fe3f3 --- /dev/null +++ b/.hunspell-bn.metadata @@ -0,0 +1 @@ +4b526dbfd359135aec1e0cfa6747ceee4cd661cd SOURCES/hunspell-bn-0.06.tar.bz2 diff --git a/SPECS/hunspell-bn.spec b/SPECS/hunspell-bn.spec new file mode 100644 index 0000000..d9449a7 --- /dev/null +++ b/SPECS/hunspell-bn.spec @@ -0,0 +1,93 @@ +%define upstreamver 0.06 + +Name: hunspell-bn +Summary: Bengali hunspell dictionaries +Version: %{upstreamver} +Release: 4%{?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 +License: GPLv2+ +BuildArch: noarch + +Requires: hunspell + +%description +Bengali hunspell dictionaries. + +%prep +%setup -q -n %{name}-%{upstreamver} +chmod -x bn.aff bn.dic COPYING Copyright README +chmod -x doc/README +mv bn.aff bn_BD.aff +mv bn.dic bn_BD.dic + +# 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 + +%install +mkdir -p $RPM_BUILD_ROOT/%{_datadir}/myspell +cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/myspell + +pushd $RPM_BUILD_ROOT/%{_datadir}/myspell/ +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 +done +popd + +%files +%doc doc/README COPYING Copyright +%{_datadir}/myspell/* + +%changelog +* Fri Dec 27 2013 Daniel Mach - 1:0.06-4 +- Mass rebuild 2013-12-27 + +* Thu Feb 14 2013 Fedora Release Engineering - 1:0.06-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 1:0.06-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Feb 28 2012 Parag - 1:0.06-1 +- Update to 0.06 release + +* Fri Jan 13 2012 Fedora Release Engineering - 1:0.04-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed Feb 09 2011 Fedora Release Engineering - 1:0.04-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Thu Mar 25 2010 Parag - 1:0.04-2 +- Resolves:rh#576774 - newer release 0.04 made symlink to bn_BD nonexistent + +* Tue Mar 09 2010 Parag - 1:0.04-1 +- Resolves:rh#571712 - Should use correct version what upstream provides by adding epoch + +* Fri Jul 24 2009 Fedora Release Engineering - 20080201-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Feb 24 2009 Fedora Release Engineering - 20080201-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Mon Sep 08 2008 Parag - 20080201-1 +- update to latest release. + +* Tue Sep 02 2008 Caolán McNamara - 20050726-3 +- add bn_BD alias + +* Sun Jan 06 2008 Parag - 20050726-2 +- Added Copyright and corrected changelog version. + +* Thu Jan 03 2008 Parag - 20050726-1 +- Initial Fedora release