Update to new upstream 0.7.0

This commit is contained in:
Parag Nemade 2012-08-02 14:55:43 +05:30
parent 4ace142a6a
commit 09c208de1f
4 changed files with 13 additions and 103 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
hyph_pa_IN.dic
/hyphen-pa-0.7.0.tar.bz2

View File

@ -1,88 +0,0 @@
UTF-8
% Hyphenation for Panjabi
% 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
% 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
% Break after any dependent vowel but not before.
ਾ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ਹ
% Do not break before chandrabindu, anusvara, visarga, avagraha
% and accents.
2ਁ1
2ਂ1
2ਃ1
% Do not break either side of virama (may be within conjunct).
2੍2
2ੰ2
2ੱ2

View File

@ -1,30 +1,29 @@
%global upstreamid 20111229
%global upstream_version 0.7.0
Name: hyphen-pa
Summary: Punjabi hyphenation rules
%define upstreamid 20100204
Version: 0.%{upstreamid}
Release: 4%{?dist}
Source: http://git.savannah.gnu.org/cgit/smc.git/plain/hyphenation/hyph_pa_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
Punjabi 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/
pa_IN_aliases="pa_PK"
for lang in $pa_IN_aliases; do
@ -32,15 +31,13 @@ for lang in $pa_IN_aliases; do
done
popd
%clean
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 @@
e495c92c5e37e00c8f91b48c2f7ccc2c hyph_pa_IN.dic
d48c26252140d250e88f0872e68a1560 hyphen-pa-0.7.0.tar.bz2