*** empty log message ***

This commit is contained in:
Caolan McNamara 2009-03-20 08:34:06 +00:00
parent ca0b56bde0
commit d9c5c99518
5 changed files with 75 additions and 0 deletions

View File

@ -0,0 +1 @@
fahyph.zip

30
hyphen-fa-cleantex.patch Normal file
View File

@ -0,0 +1,30 @@
--- fahyph.orig/fahyph.tex 2009-03-18 11:47:15.000000000 +0000
+++ fahyph/fahyph.tex 2009-03-18 11:47:35.000000000 +0000
@@ -14,19 +14,19 @@
% These patterns were designed for use with XeTeX, a Unicode variant of TeX.
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\message{Persian hyphenation patterns `fahyph.tex' (v0.001, this file is a part of XePersian package) <2008/19/15>}
+
% Set \lccode
-\global\lccode"200C="200C %ZERO WIDTH NON-JOINER
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Allocate a \language code
-\newlanguage\persian
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Patterns.
-\begingroup
-\language\persian
-\patterns{
+
+
+
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%Break on either side of ZWNJ
55
-}
-\endgroup
+
+

42
hyphen-fa.spec Normal file
View File

@ -0,0 +1,42 @@
Name: hyphen-fa
Summary: Farsi hyphenation rules
%define upstreamid 20081119
Version: 0.%{upstreamid}
Release: 1%{?dist}
Source: http://www.ctan.org/get/language/hyphenation/fahyph.zip
Group: Applications/Text
URL: http://www.ctan.org/tex-archive/help/Catalogue/entries/fahyph.html
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: LPPL
BuildArch: noarch
BuildRequires: hyphen-devel
Requires: hyphen
Patch0: hyphen-fa-cleantex.patch
%description
Farsi hyphenation rules.
%prep
%setup -q -n fahyph
%patch0 -p1 -b .clean
%build
substrings.pl fahyph.tex hyph_fa_IR.dic UTF-8
chmod -x *
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_datadir}/hyphen
cp -p hyph_fa_IR.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README
%{_datadir}/hyphen/*
%changelog
* Wed Mar 18 2009 Caolan McNamara <caolanm@redhat.com> - 0.20081119-1
- initial version

1
import.log Normal file
View File

@ -0,0 +1 @@
hyphen-fa-0_20081119-1_fc10:HEAD:hyphen-fa-0.20081119-1.fc10.src.rpm:1237537924

View File

@ -0,0 +1 @@
833571ff4b9b3e20dd2c7e2e97860205 fahyph.zip