diff --git a/.gitignore b/.gitignore index 37e9c72..204e5a1 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ hyph_kn_IN.dic +/hyphen-kn-0.7.0.tar.bz2 diff --git a/hyph_kn_IN.dic b/hyph_kn_IN.dic deleted file mode 100644 index 2e3bd71..0000000 --- a/hyph_kn_IN.dic +++ /dev/null @@ -1,100 +0,0 @@ -UTF-8 -% Hyphenation for Kannada -% 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 -ಓ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ಷ -1ಸ -1ಹ -% Do not break before anusvara, visarga, avagraha, -% length mark and ai length mark. -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-kn.spec b/hyphen-kn.spec index 432d6e0..b320dd7 100644 --- a/hyphen-kn.spec +++ b/hyphen-kn.spec @@ -1,39 +1,36 @@ +%global upstreamid 20111229 +%global upstream_version 0.7.0 + Name: hyphen-kn Summary: Kannada hyphenation rules -%define upstreamid 20100204 Version: 0.%{upstreamid} -Release: 4%{?dist} -Source: http://git.savannah.gnu.org/cgit/smc.git/plain/hyphenation/hyph_kn_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 Kannada 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 74c3343..5177058 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -8599482a5776378d06f4255832ea3496 hyph_kn_IN.dic +40adc4438f3cc2f9f4b31212f5f8dc49 hyphen-kn-0.7.0.tar.bz2