Modify spec and replace tex

This commit is contained in:
baizg1107 2020-09-09 11:19:40 +08:00
parent 4bd161edfc
commit 7315317508
2 changed files with 61 additions and 74 deletions

View File

@ -1,75 +1,59 @@
% This file is part of hyph-utf8 package and resulted from % title: Hyphenation patterns for Mongolian, Cyrillic script
% semi-manual conversions of hyphenation patterns into UTF-8 in June 2008. % copyright: Copyright (C) 2007-2015 by Dorjgotov Batmunkh
% % notice: This file is part of the hyph-utf8 package.
% Source: mnhyphn.tex (2008-03-30) % See http://www.hyphenation.org/tex for more information.
% Author: Dorjgotov Batmunkh <bataak at gmail.com> % language:
% % name: Mongolian, Cyrillic script
% The above mentioned file should become obsolete, % tag: mn-cyrl
% and the author of the original file should preferaby modify this file instead. % version: v1.2 2008/03/23
% % authors:
% Modificatios were needed in order to support native UTF-8 engines, % -
% but functionality (hopefully) didn't change in any way, at least not intentionally. % name: Dorjgotov Batmunkh
% This file is no longer stand-alone; at least for 8-bit engines % affiliation: National University of Mongolia
% you probably want to use loadhyph-foo.tex (which will load this file) instead. % contact: bataak (at) gmail.com
% % licence:
% Modifications were done by Jonathan Kew, Mojca Miklavec & Arthur Reutenauer % - This file is available under any of the following licenses:
% with help & support from: % -
% - Karl Berry, who gave us free hands and all resources % name: LPPL
% - Taco Hoekwater, with useful macros % version: 1.3
% - Hans Hagen, who did the unicodifisation of patterns already long before % or_later: true
% and helped with testing, suggestions and bug reports % url: http://www.latex-project.org/lppl/lppl-1-3.txt
% - Norbert Preining, who tested & integrated patterns into TeX Live % -
% % name: MIT
% However, the "copyright/copyleft" owner of patterns remains the original author. % url: https://opensource.org/licenses/MIT
% % text: >
% The copyright statement of this file is thus: % Permission is hereby granted, free of charge, to any person obtaining a copy
% % of this software and associated documentation files (the "Software"), to deal
% Do with this file whatever needs to be done in future for the sake of % in the Software without restriction, including without limitation the rights
% "a better world" as long as you respect the copyright of original file. % to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
% If you're the original author of patterns or taking over a new revolution, % copies of the Software, and to permit persons to whom the Software is
% plese remove all of the TUG comments & credits that we added here - % furnished to do so, subject to the following conditions:
% you are the Queen / the King, we are only the servants. %
% % The above copyright notice and this permission notice shall be included in
% If you want to change this file, rather than uploading directly to CTAN, % all copies or substantial portions of the Software.
% 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; % THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
% we will then upload the whole "package" to CTAN. % IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
% % FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
% Before a new "pattern-revolution" starts, % AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
% please try to follow some guidelines if possible: % 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
% - \lccode is *forbidden*, and I really mean it % THE SOFTWARE.
% - all the patterns should be in UTF-8 % hyphenmins:
% - the only "allowed" TeX commands in this file are: \patterns, \hyphenation, % typesetting:
% and if you really cannot do without, also \input and \message % left: 2
% - in particular, please no \catcode or \lccode changes, % right: 2
% they belong to loadhyph-foo.tex, % changes:
% and no \lefthyphenmin and \righthyphenmin, % - 2008/03/23 v1.2
% they have no influence here and belong elsewhere % - 2008/06/08 Patterns added to hyph-utf8
% - \begingroup and/or \endinput is not needed % - 2015/12/05 Patterns released under the MIT license
% - feel free to do whatever you want inside comments % texlive:
% % encoding: t2a
% We know that TeX is extremely powerful, but give a stupid parser % babelname: mongolian
% at least a chance to read your patterns. % legacy_patterns: mnhyphn.tex
% % message: (New) Mongolian hyphenation patterns
% For more unformation see % package: mongolian
% % ==========================================
% 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.
%
% Special thanks to: Jim Hefferon and Robin Fairbairns % Special thanks to: Jim Hefferon and Robin Fairbairns
% %
% There are few basic rules in mongolian % There are few basic rules in mongolian

View File

@ -1,10 +1,10 @@
Name: hyphen-mn Name: hyphen-mn
Version: 0.20100531 Version: 0.20100531
Release: 15 Release: 16
Summary: Hyphenation patterns for Mongolian Summary: Hyphenation patterns for Mongolian
License: LPPL License: LPPL
URL: http://ctan.org/pkg/mnhyphn 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 Patch0000: hyphen-mn-cleantex.patch
BuildRequires: hyphen-devel BuildRequires: hyphen-devel
Requires: hyphen Requires: hyphen
@ -36,5 +36,8 @@ install -Dp hyph_mn_MN.dic $RPM_BUILD_ROOT/%{_datadir}/hyphen
%{_datadir}/hyphen/* %{_datadir}/hyphen/*
%changelog %changelog
* Wed Sep 9 2020 baizhonggui <baizhonggui@huawei.com> - 0.20100531-16
Modify source and replace package
* Fri May 15 2020 chengzihan2 <chengzihan2@huawei.com> - 0.20100531-15 * Fri May 15 2020 chengzihan2 <chengzihan2@huawei.com> - 0.20100531-15
Package init Package init