Update to new upstream 0.7.0

This commit is contained in:
Parag Nemade 2012-08-02 14:51:55 +05:30
parent fa429f4606
commit b6c4a90387
4 changed files with 12 additions and 111 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
hyph_hi_IN.dic
/hyphen-hi-0.7.0.tar.bz2

View File

@ -1,97 +0,0 @@
UTF-8
% Hyphenation for Hindi
% 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
% 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ह
% Do not break before chandrabindu, anusvara, visarga, avagraha
% and accents.
2ँ1
2ं1
21
2ऽ1
2॑1
2॒1
% Do not break either side of virama (may be within conjunct).
2्2

View File

@ -1,39 +1,36 @@
%global upstreamid 20111229
%global upstream_version 0.7.0
Name: hyphen-hi
Summary: Hindi hyphenation rules
%define upstreamid 20100204
Version: 0.%{upstreamid}
Release: 4%{?dist}
Source: http://git.savannah.gnu.org/cgit/smc.git/plain/hyphenation/hyph_hi_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
%description
Hindi 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
%clean
rm -rf $RPM_BUILD_ROOT
install -m644 -p *.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%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 @@
66c8079f57645b749d71705c3be5e45b hyph_hi_IN.dic
263a18b0ce932c17dd031e495d972376 hyphen-hi-0.7.0.tar.bz2