From 7315317508278844c7faf744bb4e9fcefb73dd24 Mon Sep 17 00:00:00 2001 From: baizg1107 Date: Wed, 9 Sep 2020 11:19:40 +0800 Subject: [PATCH] Modify spec and replace tex --- hyph-mn-cyrl.tex | 128 +++++++++++++++++++++-------------------------- hyphen-mn.spec | 7 ++- 2 files changed, 61 insertions(+), 74 deletions(-) diff --git a/hyph-mn-cyrl.tex b/hyph-mn-cyrl.tex index 282d984..e3c627e 100644 --- a/hyph-mn-cyrl.tex +++ b/hyph-mn-cyrl.tex @@ -1,75 +1,59 @@ -% This file is part of hyph-utf8 package and resulted from -% semi-manual conversions of hyphenation patterns into UTF-8 in June 2008. -% -% Source: mnhyphn.tex (2008-03-30) -% Author: Dorjgotov Batmunkh -% -% The above mentioned file should become obsolete, -% and the author of the original file should preferaby modify this file instead. -% -% Modificatios were needed in order to support native UTF-8 engines, -% but functionality (hopefully) didn't change in any way, at least not intentionally. -% This file is no longer stand-alone; at least for 8-bit engines -% you probably want to use loadhyph-foo.tex (which will load this file) instead. -% -% Modifications were done by Jonathan Kew, Mojca Miklavec & Arthur Reutenauer -% with help & support from: -% - Karl Berry, who gave us free hands and all resources -% - Taco Hoekwater, with useful macros -% - Hans Hagen, who did the unicodifisation of patterns already long before -% and helped with testing, suggestions and bug reports -% - Norbert Preining, who tested & integrated patterns into TeX Live -% -% However, the "copyright/copyleft" owner of patterns remains the original author. -% -% The copyright statement of this file is thus: -% -% Do with this file whatever needs to be done in future for the sake of -% "a better world" as long as you respect the copyright of original file. -% If you're the original author of patterns or taking over a new revolution, -% plese remove all of the TUG comments & credits that we added here - -% you are the Queen / the King, we are only the servants. -% -% If you want to change this file, rather than uploading directly to CTAN, -% we would be grateful if you could send it to us (http://tug.org/tex-hyphen) -% or ask for credentials for SVN repository and commit it yourself; -% we will then upload the whole "package" to CTAN. -% -% Before a new "pattern-revolution" starts, -% please try to follow some guidelines if possible: -% -% - \lccode is *forbidden*, and I really mean it -% - all the patterns should be in UTF-8 -% - the only "allowed" TeX commands in this file are: \patterns, \hyphenation, -% and if you really cannot do without, also \input and \message -% - in particular, please no \catcode or \lccode changes, -% they belong to loadhyph-foo.tex, -% and no \lefthyphenmin and \righthyphenmin, -% they have no influence here and belong elsewhere -% - \begingroup and/or \endinput is not needed -% - feel free to do whatever you want inside comments -% -% We know that TeX is extremely powerful, but give a stupid parser -% at least a chance to read your patterns. -% -% For more unformation see -% -% http://tug.org/tex-hyphen -% -%------------------------------------------------------------------------------ -% -%% mnhyphn.tex v1.2 2008/03/23 (2010/04/03) -%% Copyright 2007-2010 by Dorjgotov Batmunkh, National University of Mongolia -%% email bataak@gmail.com -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either version 1.3 -% of this license or (at your option) any later version. -% The latest version of this license is in -% http://www.latex-project.org/lppl.txt -% and version 1.3 or later is part of all distributions of LaTeX -% version 2005/12/01 or later. -% +% title: Hyphenation patterns for Mongolian, Cyrillic script +% copyright: Copyright (C) 2007-2015 by Dorjgotov Batmunkh +% notice: This file is part of the hyph-utf8 package. +% See http://www.hyphenation.org/tex for more information. +% language: +% name: Mongolian, Cyrillic script +% tag: mn-cyrl +% version: v1.2 2008/03/23 +% authors: +% - +% name: Dorjgotov Batmunkh +% affiliation: National University of Mongolia +% contact: bataak (at) gmail.com +% licence: +% - This file is available under any of the following licenses: +% - +% name: LPPL +% version: 1.3 +% or_later: true +% url: http://www.latex-project.org/lppl/lppl-1-3.txt +% - +% name: MIT +% url: https://opensource.org/licenses/MIT +% text: > +% Permission is hereby granted, free of charge, to any person obtaining a copy +% of this software and associated documentation files (the "Software"), to deal +% in the Software without restriction, including without limitation the rights +% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +% copies of the Software, and to permit persons to whom the Software is +% furnished to do so, subject to the following conditions: +% +% The above copyright notice and this permission notice shall be included in +% all copies or substantial portions of the Software. +% +% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +% THE SOFTWARE. +% hyphenmins: +% typesetting: +% left: 2 +% right: 2 +% changes: +% - 2008/03/23 v1.2 +% - 2008/06/08 Patterns added to hyph-utf8 +% - 2015/12/05 Patterns released under the MIT license +% texlive: +% encoding: t2a +% babelname: mongolian +% legacy_patterns: mnhyphn.tex +% message: (New) Mongolian hyphenation patterns +% package: mongolian +% ========================================== % Special thanks to: Jim Hefferon and Robin Fairbairns % % There are few basic rules in mongolian diff --git a/hyphen-mn.spec b/hyphen-mn.spec index 1532481..084b9f5 100644 --- a/hyphen-mn.spec +++ b/hyphen-mn.spec @@ -1,10 +1,10 @@ Name: hyphen-mn Version: 0.20100531 -Release: 15 +Release: 16 Summary: Hyphenation patterns for Mongolian License: LPPL URL: http://ctan.org/pkg/mnhyphn -Source: http://tug.ctan.org/tex-archive/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-mn-cyrl.tex +Source: http://mirror.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-mn-cyrl.tex Patch0000: hyphen-mn-cleantex.patch BuildRequires: hyphen-devel Requires: hyphen @@ -36,5 +36,8 @@ install -Dp hyph_mn_MN.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen %{_datadir}/hyphen/* %changelog +* Wed Sep 9 2020 baizhonggui - 0.20100531-16 +Modify source and replace package + * Fri May 15 2020 chengzihan2 - 0.20100531-15 Package init