Update to new upstream 0.7.0

This commit is contained in:
Parag Nemade 2012-08-02 14:51:53 +05:30
parent 82a05dcb87
commit 0f68db1f2e
4 changed files with 12 additions and 109 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
hyph_bn_IN.dic
/hyphen-bn-0.7.0.tar.bz2

View File

@ -1,100 +0,0 @@
UTF-8
% Hyphenation for Bengali
% Copyright (C) 2008-2010 Santhosh Thottingal <santhosh.thottingal@gmail.com>
%
% This library is free software; you can redistribute it and/or
% modify it under the terms of the GNU Lesser General Public
% License as published by the Free Software Foundation;
% version 3 or later version of the License.
%
% This library is distributed in the hope that it will be useful,
% but WITHOUT ANY WARRANTY; without even the implied warranty of
% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
% Lesser General Public License for more details.
%
% You should have received a copy of the GNU Lesser General Public
% License along with this library; if not, write to the Free Software
% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
%
% GENERAL RULE
% Do not break either side of ZERO-WIDTH JOINER (U+200D)
22
% Break on both sides of ZERO-WIDTH NON JOINER (U+200C)
11
% Break before or after any independent vowel.
অ1
আ1
ই1
ঈ1
উ1
ঊ1
ঋ1
ৠ1
ঌ1
ৡ1
এ1
ঐ1
ও1
ঔ1
% Break after any dependent vowel, but not before.
া1
ি1
ী1
ু1
ূ1
ৃ1
ৄ1
ৢ1
ৣ1
ে1
ৈ1
ো1
ৌ1
2়2
ৗ1
% Break before or after any consonant.
1ক
1খ
1গ
1ঘ
1ঙ
1চ
1ছ
1জ
1ঝ
1ঞ
1ট
1ঠ
1ড
1ড়
1ঢ
1ঢ়
1ণ
1ত
1থ
1দ
1ধ
1ন
1প
1ফ
1ব
1ভ
1ম
1য
1য়
1র
1ল
1শ
1ষ
1স
1হ
% Do not break after khanda ta.
ৎ1
% Do not break before chandrabindu, anusvara, visarga, avagraha,
% nukta and au length mark.
2ঃ1
2ং1
2ঁ1
2ঽ1
% Do not break either side of virama (may be within conjunct).
2্2

View File

@ -1,12 +1,13 @@
%global upstreamid 20111229
%global upstream_version 0.7.0
Name: hyphen-bn
Summary: Bengali hyphenation rules
%define upstreamid 20100204
Version: 0.%{upstreamid}
Release: 4%{?dist}
Source: http://git.savannah.gnu.org/cgit/smc.git/plain/hyphenation/hyph_bn_IN.dic
Release: 1%{?dist}
Source: http://download.savannah.gnu.org/releases/smc/hyphenation/patterns/%{name}-%{upstream_version}.tar.bz2
Group: Applications/Text
URL: http://wiki.smc.org.in
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LGPLv3+
BuildArch: noarch
Requires: hyphen
@ -15,15 +16,14 @@ Requires: hyphen
Bengali hyphenation rules.
%prep
%setup -T -q -c
cp -p %{SOURCE0} .
%setup -q -n %{name}-%{upstream_version}
%build
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
install -m644 -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
pushd $RPM_BUILD_ROOT/%{_datadir}/hyphen/
bn_IN_aliases="bn_BD"
@ -36,10 +36,12 @@ popd
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%{_datadir}/hyphen/*
%changelog
* Thu Aug 02 2012 Parag <pnemade AT redhat DOT com> - 0.20111229-1
- Update to new upstream 0.7.0
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20100204-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

View File

@ -1 +1 @@
86177d1d3a3ee7364a46f452420fcc38 hyph_bn_IN.dic
7f42ab9335568aa6c8e5b18265d9d139 hyphen-bn-0.7.0.tar.bz2