From b6c4a9038714f3eced62f6a87d7585ac98cea178 Mon Sep 17 00:00:00 2001 From: Parag Nemade Date: Thu, 2 Aug 2012 14:51:55 +0530 Subject: [PATCH] Update to new upstream 0.7.0 --- .gitignore | 1 + hyph_hi_IN.dic | 97 -------------------------------------------------- hyphen-hi.spec | 23 ++++++------ sources | 2 +- 4 files changed, 12 insertions(+), 111 deletions(-) delete mode 100644 hyph_hi_IN.dic diff --git a/.gitignore b/.gitignore index 44f2d07..82d2987 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ hyph_hi_IN.dic +/hyphen-hi-0.7.0.tar.bz2 diff --git a/hyph_hi_IN.dic b/hyph_hi_IN.dic deleted file mode 100644 index f0efa5f..0000000 --- a/hyph_hi_IN.dic +++ /dev/null @@ -1,97 +0,0 @@ -UTF-8 -% Hyphenation for Hindi -% Copyright (C) 2008-2010 Santhosh Thottingal -% -% 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) -2‍2 -% Break on both sides of ZERO-WIDTH NON JOINER (U+200C) -1‌1 -% 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 -2ः1 -2ऽ1 -2॑1 -2॒1 -% Do not break either side of virama (may be within conjunct). -2्2 diff --git a/hyphen-hi.spec b/hyphen-hi.spec index bdf2b9d..e282e12 100644 --- a/hyphen-hi.spec +++ b/hyphen-hi.spec @@ -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 - 0.20111229-1 +- Update to new upstream 0.7.0 + * Thu Jul 19 2012 Fedora Release Engineering - 0.20100204-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild diff --git a/sources b/sources index 762eba6..9a89c76 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -66c8079f57645b749d71705c3be5e45b hyph_hi_IN.dic +263a18b0ce932c17dd031e495d972376 hyphen-hi-0.7.0.tar.bz2