diff --git a/.cvsignore b/.cvsignore index 47c11e4..31ea8ac 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -hyph_lt_LT.zip +hyph-lt.tex diff --git a/hyphen-lt-cleantex.patch b/hyphen-lt-cleantex.patch new file mode 100644 index 0000000..7d7f758 --- /dev/null +++ b/hyphen-lt-cleantex.patch @@ -0,0 +1,15 @@ +--- hyph-lt.tex.clean 2010-02-08 08:50:31.000000000 +0000 ++++ hyph-lt.tex 2010-02-08 08:50:41.000000000 +0000 +@@ -43,7 +43,6 @@ + % to review and maybe rebuild the patterns file. + % + %------------------------------------------------------------------------------ +-\patterns{ + .ap1 + .api1 + .ap3r +@@ -1590,4 +1589,3 @@ + žįs3 + 2ž1š + 2ž1ž +-} diff --git a/hyphen-lt.spec b/hyphen-lt.spec index 70e89c1..c380813 100644 --- a/hyphen-lt.spec +++ b/hyphen-lt.spec @@ -1,24 +1,32 @@ Name: hyphen-lt Summary: Lithuanian hyphenation rules -%define upstreamid 20040110 +%define upstreamid 20100203 Version: 0.%{upstreamid} -Release: 3%{?dist} -Source: http://ftp.services.openoffice.org/pub/OpenOffice.org/contrib/dictionaries/hyph_lt_LT.zip +Release: 1%{?dist} +Source: http://tug.org/svn/texhyphen/trunk/hyph-utf8/tex/generic/hyph-utf8/patterns/hyph-lt.tex Group: Applications/Text -URL: http://wiki.services.openoffice.org/wiki/Dictionaries +URL: http://tug.org/tex-hyphen BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: LPPL BuildArch: noarch +BuildRequires: hyphen-devel Requires: hyphen +Patch0: hyphen-lt-cleantex.patch %description Lithuanian hyphenation rules. %prep -%setup -q -c -n hyphen-lt -chmod -x * +%setup -T -q -c -n hyphen-lt +cp -p %{SOURCE0} . +%patch0 -p0 -b .clean %build +substrings.pl hyph-lt.tex hyph_lt_LT.dic UTF-8 +echo "Created with substring.pl by substrings.pl hyph-lt.tex hyph_lt_LT.dic UTF-8" > README +echo "Original in-line credits were:" >> README +echo "" >> README +head -n 45 hyph-lt.tex >> README %install rm -rf $RPM_BUILD_ROOT @@ -30,10 +38,13 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) -%doc README_hyph_lt_LT.txt +%doc README %{_datadir}/hyphen/* %changelog +* Mon Feb 08 2010 Caolan McNamara - 0.20100203-1 +- latest version + * Fri Jul 24 2009 Fedora Release Engineering - 0.20040110-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild diff --git a/sources b/sources index e6645bc..2781864 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -6d90a1e831f639137077879dacb596cb hyph_lt_LT.zip +4744073309c6e9eaf176bc5ca9aae7fd hyph-lt.tex