From c8aed48ee951b0256bd40aa1075062aac3e75069 Mon Sep 17 00:00:00 2001 From: Tom Callaway Date: Tue, 17 Apr 2018 11:12:57 -0400 Subject: [PATCH] add translator, fix beamer (translator split off from it) (bz1568178) --- .gitignore | 2 ++ sources | 2 ++ texlive.spec | 38 ++++++++++++++++++++++++++++++++++++-- 3 files changed, 40 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 116fbde..2bc6ecf 100644 --- a/.gitignore +++ b/.gitignore @@ -7953,3 +7953,5 @@ /zhlipsum.doc.tar.xz /fvextra.doc.tar.xz /fvextra.tar.xz +/translator.tar.xz +/translator.doc.tar.xz diff --git a/sources b/sources index 0cc46b1..10be441 100644 --- a/sources +++ b/sources @@ -5813,3 +5813,5 @@ SHA512 (zhlipsum.tar.xz) = 90bd4d0043c2e6d1f524b32b4351bf2446fc832a7f902c15cfa04 SHA512 (zhlipsum.doc.tar.xz) = 134e5891c390d326276757ab0737bf21b2a02b5c2d637126656a24bea7ed34147d0073e259dfb0eb44600195821c318ec061ae83ac24e863b327f50db038f7ae SHA512 (fvextra.doc.tar.xz) = 919cff94f930cb624723fdca66033df39fee4dfe391df4ec592ded2a5c9ae59a9f29594ebdb09c9d9e54b5afc9dd77591258155530aa7c8fc45361b8dc31e8c3 SHA512 (fvextra.tar.xz) = 3526c3656124b15217161792f14f914dad2ec84af7ffd85f95654701c82e3be6bde304df0ca1ba8b4eb943122e731fe7c059a0d8ba7554f49a5401be6b709d8a +SHA512 (translator.tar.xz) = 0e3763d64bd7a4930c59c5cae60129bbc4e8d332c118b05aac1c40fcc3a21f5f33891fab469cbb0981710a4841ea73d1825ddd60b5c97984b0391b2ed0c2e15b +SHA512 (translator.doc.tar.xz) = cd7114b9dcb1bb8be08c49fdf44aa4df9b6a3ec172d9e8e4dd74313ebb14a2304ad10dfdfd964ee3aa4581ee98d69e488f055034fedbd95cbd9337f600325031 diff --git a/texlive.spec b/texlive.spec index bcc8b02..90c2d30 100644 --- a/texlive.spec +++ b/texlive.spec @@ -8,7 +8,7 @@ Name: texlive Version: %{tl_version} -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 7 Summary: TeX formatting system Group: Applications/Publishing @@ -5901,6 +5901,9 @@ Source8028: http://ctan.sharelatex.com/tex-archive/systems/texlive/tlnet/archive Source8029: http://ctan.sharelatex.com/tex-archive/systems/texlive/tlnet/archive/zhlipsum.doc.tar.xz Source8030: http://ctan.sharelatex.com/tex-archive/systems/texlive/tlnet/archive/fvextra.tar.xz Source8031: http://ctan.sharelatex.com/tex-archive/systems/texlive/tlnet/archive/fvextra.doc.tar.xz +Source8032: http://ctan.sharelatex.com/tex-archive/systems/texlive/tlnet/archive/translator.tar.xz +Source8033: http://ctan.sharelatex.com/tex-archive/systems/texlive/tlnet/archive/translator.doc.tar.xz + %description The TeX Live software distribution offers a complete TeX system for a @@ -18640,6 +18643,7 @@ Requires: tex(beamerbasetheorems.sty) Requires: tex(amsmath.sty) Requires: tex(amsthm.sty) Requires: tex(pgf.sty) +Requires: tex(translator.sty) Provides: tex(beamericonarticle.tex) = %{tl_version} Provides: tex(beamericonbook.tex) = %{tl_version} Provides: tex(beamer.cls) = %{tl_version} @@ -18762,7 +18766,6 @@ Provides: tex(beamerthemesidebar.sty) = %{tl_version} Provides: tex(beamerthemesplit.sty) = %{tl_version} Provides: tex(beamerthemetree.sty) = %{tl_version} Provides: tex(translator-language-mappings.tex) = %{tl_version} -Provides: tex(translator.sty) = %{tl_version} %description beamer The beamer LaTeX class can be used for producing slides. Its @@ -171199,6 +171202,25 @@ automatic line breaking and improved math mode. It also patches some fancyvrb internals. Parts of fvextra were originally developed as part of pythontex and minted. +%package translator +Summary: Easy translation of strings in LaTeX +Version: svn46231 +License: LPPL or GPL+ +Requires: texlive-base texlive-kpathsea +Requires: tex(keyval.sty) +Provides: tex(translator.sty) = %{tl_version} + +%description translator +This LaTeX package provides a flexible mechanism for +translating individual words into different languages. For +example, it can be used to translate a word like "figure" into, +say, the German word "Abbildung". Such a translation mechanism +is useful when the author of some package would like to +localize the package such that texts are correctly translated +into the language preferred by the user. This package is not +intended to be used to automatically translate more than a few +words. + %prep %setup -q -c -T -a 3 cp %{SOURCE7597} . @@ -177065,6 +177087,8 @@ xz -dc %{SOURCE8028} | tar x -C %{buildroot}%{_texdir}/texmf-dist xz -dc %{SOURCE8029} | tar x -C %{buildroot}%{_texdir}/texmf-dist xz -dc %{SOURCE8030} | tar x -C %{buildroot}%{_texdir}/texmf-dist xz -dc %{SOURCE8031} | tar x -C %{buildroot}%{_texdir}/texmf-dist +xz -dc %{SOURCE8032} | tar x -C %{buildroot}%{_texdir}/texmf-dist +xz -dc %{SOURCE8033} | tar x -C %{buildroot}%{_texdir}/texmf-dist # nuke useless tlmgr packaging stuff and doc droppings rm -rf %{buildroot}%{_texdir}/tlpkg/gpg/ @@ -201691,7 +201715,17 @@ ln -s %{_sysconfdir}/texlive/tex/generic/config/language.dat %{buildroot}%{_texd %doc %{_texdir}/texmf-dist/doc/latex/fvextra/ %{_texdir}/texmf-dist/tex/latex/fvextra/ +%files translator +%license lppl1.3.txt +%license gpl.txt +%doc %{_texdir}/texmf-dist/doc/latex/translator/ +%{_texdir}/texmf-dist/tex/latex/translator/ + %changelog +* Tue Apr 17 2018 Tom Callaway 7:2017-3 +- add translator +- fix beamer (translator split off from it) (bz1568178) + * Mon Apr 16 2018 Tom Callaway 7:2017-2 - fix minted requires - add fvextra