Compare commits
14 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
65e18e4652 | ||
|
b809370390 | ||
|
23d568d005 | ||
|
2319e9bf94 | ||
|
7f62558b96 | ||
|
dc5f88fd20 | ||
|
7f51cf6393 | ||
|
de47174cc3 | ||
|
a1c71b1320 | ||
|
619b2147fc | ||
|
ca3d7565a7 | ||
|
9fd2bd8a12 | ||
|
9480ed5307 | ||
|
e0ababfdb1 |
@ -6,17 +6,18 @@
|
|||||||
|
|
||||||
# don't export private perl modules
|
# don't export private perl modules
|
||||||
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(
|
%global __provides_exclude %{?__provides_exclude:%__provides_exclude|}^perl\\(
|
||||||
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((PDF::Reuse.*|Pedigree.*|TeXLive.*|Tk::path_tre)\\)
|
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\((LatexIndent.*|PDF::Reuse.*|Pedigree.*|TeXLive.*|Tk::path_tre)\\)
|
||||||
|
|
||||||
# We do not want exec perms changing.
|
# We do not want exec perms changing.
|
||||||
%global __brp_mangle_shebangs_exclude ^$
|
%global __brp_mangle_shebangs_exclude ^$
|
||||||
|
|
||||||
# Not ppc64, not s390x, not aarch64 due to lack of clisp
|
# Not ppc64, not s390x, not aarch64 due to lack of clisp
|
||||||
%global xindyarches %{arm} %{ix86} x86_64
|
# armv7hl segfaults
|
||||||
|
%global xindy_arches %{ix86} x86_64
|
||||||
|
|
||||||
Name: %{shortname}-base
|
Name: %{shortname}-base
|
||||||
Version: %{source_date}
|
Version: %{source_date}
|
||||||
Release: 23%{?dist}
|
Release: 38%{?dist}
|
||||||
Epoch: 7
|
Epoch: 7
|
||||||
Summary: TeX formatting system
|
Summary: TeX formatting system
|
||||||
# The only files in the base package are directories, cache, and license texts
|
# The only files in the base package are directories, cache, and license texts
|
||||||
@ -411,7 +412,7 @@ BuildRequires: gmp-devel mpfr-devel
|
|||||||
# This is for xindy
|
# This is for xindy
|
||||||
%ifarch %{xindy_arches}
|
%ifarch %{xindy_arches}
|
||||||
BuildRequires: clisp-devel
|
BuildRequires: clisp-devel
|
||||||
BuildRequires: texlive-cyrillic, texlive-latex
|
BuildRequires: texlive-cyrillic, texlive-latex, texlive-metafont, texlive-cm-super, texlive-ec
|
||||||
%endif
|
%endif
|
||||||
# Cleanup Provides/Obsoletes
|
# Cleanup Provides/Obsoletes
|
||||||
# texlive-cjk-gs-integrate (depackaged 2018-03-09)
|
# texlive-cjk-gs-integrate (depackaged 2018-03-09)
|
||||||
@ -537,9 +538,9 @@ afm2pl package.
|
|||||||
Provides: tex-aleph = %{epoch}:%{source_date}-%{release}
|
Provides: tex-aleph = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: texlive-aleph-bin = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-aleph-bin = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: tex-aleph-bin = %{epoch}:%{source_date}-%{release}
|
Provides: tex-aleph-bin = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-aleph-bin < 2017
|
Obsoletes: texlive-aleph-bin < 7:20170520
|
||||||
Provides: texlive-aleph-doc = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-aleph-doc = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-aleph-doc < %{source_date}
|
Obsoletes: texlive-aleph-doc < 7:20170520
|
||||||
Summary: Extended TeX
|
Summary: Extended TeX
|
||||||
Requires: texlive-base
|
Requires: texlive-base
|
||||||
Requires: texlive-kpathsea
|
Requires: texlive-kpathsea
|
||||||
@ -602,7 +603,7 @@ Provides: texlive-arara-bin = %{epoch}:%{source_date}-%{release}
|
|||||||
Provides: tex-arara-bin = %{epoch}:%{source_date}-%{release}
|
Provides: tex-arara-bin = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-arara-bin < 7:20170520
|
Obsoletes: texlive-arara-bin < 7:20170520
|
||||||
Provides: texlive-arara-doc = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-arara-doc = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-dvips-doc < 7:20170520
|
Obsoletes: texlive-arara-doc < 7:20170520
|
||||||
License: BSD
|
License: BSD
|
||||||
Summary: Automation of LaTeX compilation
|
Summary: Automation of LaTeX compilation
|
||||||
Requires: texlive-base
|
Requires: texlive-base
|
||||||
@ -1832,6 +1833,7 @@ Requires: texlive-kpathsea
|
|||||||
dvipos package.
|
dvipos package.
|
||||||
|
|
||||||
%package -n %{shortname}-dvips
|
%package -n %{shortname}-dvips
|
||||||
|
Provides: tetex-dvips = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: tex-dvips = %{epoch}:%{source_date}-%{release}
|
Provides: tex-dvips = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: texlive-dvips-bin = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-dvips-bin = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: tex-dvips-bin = %{epoch}:%{source_date}-%{release}
|
Provides: tex-dvips-bin = %{epoch}:%{source_date}-%{release}
|
||||||
@ -2394,6 +2396,7 @@ Provides: tex-jadetex-bin = %{epoch}:%{source_date}-%{release}
|
|||||||
Obsoletes: texlive-jadetex-bin < 7:20170520
|
Obsoletes: texlive-jadetex-bin < 7:20170520
|
||||||
Provides: texlive-jadetex-doc = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-jadetex-doc = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-jadetex-doc < 7:20170520
|
Obsoletes: texlive-jadetex-doc < 7:20170520
|
||||||
|
Provides: jadetex = %{epoch}:%{source_date}-%{release}
|
||||||
License: MIT
|
License: MIT
|
||||||
Summary: Macros supporting Jade DSSSL output
|
Summary: Macros supporting Jade DSSSL output
|
||||||
Requires: texlive-base
|
Requires: texlive-base
|
||||||
@ -2844,6 +2847,8 @@ The script does not deal with \includeonly commands.
|
|||||||
|
|
||||||
%package -n %{shortname}-lcdftypetools
|
%package -n %{shortname}-lcdftypetools
|
||||||
Provides: tex-lcdftypetools = %{epoch}:%{source_date}-%{release}
|
Provides: tex-lcdftypetools = %{epoch}:%{source_date}-%{release}
|
||||||
|
# This is a mistake in the texlive package. Will be fixed in next major TL update.
|
||||||
|
Provides: lcdf-typetools = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: texlive-lcdftypetools-bin = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-lcdftypetools-bin = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: tex-lcdftypetools-bin = %{epoch}:%{source_date}-%{release}
|
Provides: tex-lcdftypetools-bin = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-lcdftypetools-bin < 7:20170520
|
Obsoletes: texlive-lcdftypetools-bin < 7:20170520
|
||||||
@ -4681,12 +4686,15 @@ Provides: texlive-ptex-fontmaps-bin = %{epoch}:%{source_date}-%{release}
|
|||||||
Obsoletes: texlive-ptex-fontmaps-bin < 7:20170520
|
Obsoletes: texlive-ptex-fontmaps-bin < 7:20170520
|
||||||
Provides: texlive-ptex-fontmaps-doc = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-ptex-fontmaps-doc = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-ptex-fontmaps-doc < 7:20170520
|
Obsoletes: texlive-ptex-fontmaps-doc < 7:20170520
|
||||||
|
Provides: tex-jfontmaps = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: texlive-jfontmaps = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-jfontmaps = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-jfontmaps <= svn40613
|
Obsoletes: texlive-jfontmaps <= 6:svn40613
|
||||||
|
Provides: tex-jfontmaps-bin = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: texlive-jfontmaps-bin = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-jfontmaps-bin = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-jfontmaps-bin <= svn29848.0
|
Obsoletes: texlive-jfontmaps-bin <= 6:svn29848.0
|
||||||
|
Provides: tex-jfontmaps-doc = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: texlive-jfontmaps-doc = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-jfontmaps-doc = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-jfontmaps-doc <= svn40613
|
Obsoletes: texlive-jfontmaps-doc <= 6:svn40613
|
||||||
License: GPLv3
|
License: GPLv3
|
||||||
Summary: Font maps and configuration tools for Japanese/Chinese/Korean fonts with (u)ptex
|
Summary: Font maps and configuration tools for Japanese/Chinese/Korean fonts with (u)ptex
|
||||||
Requires: texlive-arphic-ttf
|
Requires: texlive-arphic-ttf
|
||||||
@ -4800,6 +4808,7 @@ Requires: tex(newfloat.sty)
|
|||||||
Requires: tex(currfile.sty)
|
Requires: tex(currfile.sty)
|
||||||
Requires: tex(xcolor.sty)
|
Requires: tex(xcolor.sty)
|
||||||
Requires: tex(upquote.sty)
|
Requires: tex(upquote.sty)
|
||||||
|
Requires: tex(fvextra.sty)
|
||||||
Provides: tex(pythontex.sty) = %{epoch}:%{source_date}-%{release}
|
Provides: tex(pythontex.sty) = %{epoch}:%{source_date}-%{release}
|
||||||
# python
|
# python
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
@ -5598,6 +5607,10 @@ information -- for example, in-depth interviews.
|
|||||||
%package -n %{shortname}-uptex
|
%package -n %{shortname}-uptex
|
||||||
Provides: tex-uptex = %{epoch}:%{source_date}-%{release}
|
Provides: tex-uptex = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: tex-uptex-bin = %{epoch}:%{source_date}-%{release}
|
Provides: tex-uptex-bin = %{epoch}:%{source_date}-%{release}
|
||||||
|
Provides: tex-uptex-doc = %{epoch}:%{source_date}-%{release}
|
||||||
|
Provides: tex-uplatex = %{epoch}:%{source_date}-%{release}
|
||||||
|
Provides: tex-uplatex-bin = %{epoch}:%{source_date}-%{release}
|
||||||
|
Provides: tex-uplatex-doc = %{epoch}:%{source_date}-%{release}
|
||||||
Provides: texlive-uptex-bin = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-uptex-bin = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-uptex-bin < 7:20170520
|
Obsoletes: texlive-uptex-bin < 7:20170520
|
||||||
Provides: texlive-uplatex-bin = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-uplatex-bin = %{epoch}:%{source_date}-%{release}
|
||||||
@ -5963,6 +5976,7 @@ Provides: texlive-xmltex-bin = %{epoch}:%{source_date}-%{release}
|
|||||||
Obsoletes: texlive-xmltex-bin < 7:20170520
|
Obsoletes: texlive-xmltex-bin < 7:20170520
|
||||||
Provides: texlive-xmltex-doc = %{epoch}:%{source_date}-%{release}
|
Provides: texlive-xmltex-doc = %{epoch}:%{source_date}-%{release}
|
||||||
Obsoletes: texlive-xmltex-doc < 7:20170520
|
Obsoletes: texlive-xmltex-doc < 7:20170520
|
||||||
|
Provides: xmltex = %{epoch}:%{source_date}-%{release}
|
||||||
License: LPPL
|
License: LPPL
|
||||||
Summary: Support for parsing XML documents
|
Summary: Support for parsing XML documents
|
||||||
Requires: texlive-base
|
Requires: texlive-base
|
||||||
@ -6089,6 +6103,12 @@ pushd %{buildroot}%{_texdir}/texmf-config/web2c
|
|||||||
ln -s ../../texmf-dist/web2c/updmap.cfg updmap.cfg
|
ln -s ../../texmf-dist/web2c/updmap.cfg updmap.cfg
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# make compatibility symlink
|
||||||
|
pushd %{buildroot}%{_datadir}
|
||||||
|
mkdir -p texlive/texmf-local/texmf-compat
|
||||||
|
ln -s texlive/texmf-local/texmf-compat texmf
|
||||||
|
popd
|
||||||
|
|
||||||
# make opentype fontdir symlinks
|
# make opentype fontdir symlinks
|
||||||
# NOTE: fontawesome, stix, oldstandard are a conflict, so we just add Requires for the
|
# NOTE: fontawesome, stix, oldstandard are a conflict, so we just add Requires for the
|
||||||
# corresponding system font packages for them.
|
# corresponding system font packages for them.
|
||||||
@ -6160,6 +6180,9 @@ xz -dc %{SOURCE10} | tar x
|
|||||||
xz -dc %{SOURCE11} | tar x
|
xz -dc %{SOURCE11} | tar x
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
# We want the texmf.cnf we patched, not the vanilla one from the kpathsea.tar.xz
|
||||||
|
cp -a source/texk/kpathsea/texmf.cnf %{buildroot}%{_texdir}/texmf-dist/web2c/texmf.cnf
|
||||||
|
|
||||||
# Apply fixes
|
# Apply fixes
|
||||||
# We do it here because this is the first time we have the complete tree.
|
# We do it here because this is the first time we have the complete tree.
|
||||||
# bz1384067
|
# bz1384067
|
||||||
@ -6295,6 +6318,23 @@ rm -rf %{buildroot}%{_texdir}/texmf-dist/doc/fonts/cjk-gs-integrate
|
|||||||
|
|
||||||
# SCRIPTLETS
|
# SCRIPTLETS
|
||||||
|
|
||||||
|
%pretrans -p <lua>
|
||||||
|
-- Define the path to directory being replaced below.
|
||||||
|
-- DO NOT add a trailing slash at the end.
|
||||||
|
path = "/usr/share/texmf"
|
||||||
|
st = posix.stat(path)
|
||||||
|
if st and st.type == "directory" then
|
||||||
|
status = os.rename(path, path .. ".rpmmoved")
|
||||||
|
if not status then
|
||||||
|
suffix = 0
|
||||||
|
while not status do
|
||||||
|
suffix = suffix + 1
|
||||||
|
status = os.rename(path .. ".rpmmoved", path .. ".rpmmoved." .. suffix)
|
||||||
|
end
|
||||||
|
os.rename(path, path .. ".rpmmoved")
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
rm -rf %{_texdir}/texmf-var
|
rm -rf %{_texdir}/texmf-var
|
||||||
rm -rf %{_texmf_var}/*
|
rm -rf %{_texmf_var}/*
|
||||||
@ -6719,6 +6759,160 @@ while read -r line; do
|
|||||||
done <<< "$list"
|
done <<< "$list"
|
||||||
%{_bindir}/updmap-sys --quiet --nomkmap >/dev/null || :
|
%{_bindir}/updmap-sys --quiet --nomkmap >/dev/null || :
|
||||||
|
|
||||||
|
# These cover the cases where old -bin subpackages get obsoleted, and disabled
|
||||||
|
# in error. Thanks to Jason Tibbitts for the idea, though, as it is an ugly
|
||||||
|
# hack, he may not wish to claim it.
|
||||||
|
|
||||||
|
%posttrans -n texlive-aleph
|
||||||
|
if [ -f /usr/bin/aleph ]; then
|
||||||
|
sed -i 's/^\#\!\ aleph.*$/aleph aleph - *aleph.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ lamed.*$/lamed aleph language.dat *lambda.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-amstex
|
||||||
|
if [ -f /usr/bin/amstex ]; then
|
||||||
|
sed -i 's/^\#\!\ amstex.*$/amstex pdftex - -translate-file=cp227.tcx *amstex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-context
|
||||||
|
if [ -f /usr/bin/context ]; then
|
||||||
|
sed -i 's/^\#\!\ cont-en.*$/cont-en pdftex cont-usr.tex -8bit *cont-en.mkii/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ cont-en.*$/cont-en xetex cont-usr.tex -8bit *cont-en.mkii/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ cont-fr.*$/cont-fr pdftex cont-usr.tex -8bit *cont-fr.mkii/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ cont-it.*$/cont-it pdftex cont-usr.tex -8bit *cont-it.mkii/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ cont-nl.*$/cont-nl pdftex cont-usr.tex -8bit *cont-nl.mkii/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ cont-ro.*$/cont-ro pdftex cont-usr.tex -8bit *cont-ro.mkii/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-cslatex
|
||||||
|
if [ -f /usr/bin/cslatex ]; then
|
||||||
|
sed -i 's/^\#\!\ cslatex.*$/cslatex pdftex - -etex cslatex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ pdfcslatex.*$/pdfcslatex pdftex - -etex cslatex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-csplain
|
||||||
|
if [ -f /usr/bin/csplain ]; then
|
||||||
|
sed -i 's/^\#\!\ csplain.*$/csplain pdftex - -etex -enc csplain-utf8.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ pdfcsplain.*$/pdfcsplain pdftex - -etex -enc csplain-utf8.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ pdfcsplain.*$/pdfcsplain xetex - -etex csplain.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ pdfcsplain.*$/pdfcsplain luatex - -etex csplain.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-eplain
|
||||||
|
if [ -f /usr/bin/eplain ]; then
|
||||||
|
sed -i 's/^\#\!\ eplain.*$/eplain pdftex language.dat -translate-file=cp227.tcx *eplain.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-jadetex
|
||||||
|
if [ -f /usr/bin/jadetex ]; then
|
||||||
|
sed -i 's/^\#\!\ jadetex.*$/jadetex pdftex language.dat *jadetex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ pdfjadetex.*$/pdfjadetex pdftex language.dat *pdfjadetex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-latex
|
||||||
|
if [ -f /usr/bin/latex ]; then
|
||||||
|
sed -i 's/^\#\!\ latex.*$/latex pdftex language.dat -translate-file=cp227.tcx *latex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ pdflatex.*$/pdflatex pdftex language.dat -translate-file=cp227.tcx *pdflatex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ dvilualatex.*$/dvilualatex luatex language.dat,language.dat.lua dvilualatex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ lualatex.*$/lualatex luatex language.dat,language.dat.lua lualatex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ luajitlatex.*$/luajitlatex luajittex language.dat,language.dat.lua lualatex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-lollipop
|
||||||
|
if [ -f /usr/bin/lollipop ]; then
|
||||||
|
sed -i 's/^\#\!\ lollipop.*$/lollipop pdftex - -translate-file=cp227.tcx *lollipop.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ lualollipop.*$/lualollipop luatex - lualollipop.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ xelollipop.*$/xelollipop xetex - -etex xelollipop.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ dvilollipop.*$/dvilollipop pdftex - -translate-file=cp227.tcx *lollipop.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ dvilualollipop.*$/dvilualollipop luatex - -translate-file=cp227.tcx lualollipop.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-luatex
|
||||||
|
if [ -f /usr/bin/luatex ]; then
|
||||||
|
sed -i 's/^\#\!\ luatex.*$/luatex luatex language.def,language.dat.lua luatex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ dviluatex.*$/dviluatex luatex language.def,language.dat.lua dviluatex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ luajittex.*$/luajittex luajittex language.def,language.dat.lua luatex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-metafont
|
||||||
|
if [ -f /usr/bin/mf ]; then
|
||||||
|
sed -i 's/^\#\!\ mf.*$/mf mf-nowin - -translate-file=cp227.tcx mf.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-mex
|
||||||
|
if [ -f /usr/bin/mex ]; then
|
||||||
|
sed -i 's/^\#\!\ mex.*$/mex pdftex mexconf.tex -translate-file=cp227.tcx *mex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ pdfmex.*$/pdfmex pdftex mexconf.tex -translate-file=cp227.tcx *pdfmex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ utf8mex.*$/utf8mex pdftex mexconf.tex -enc *utf8mex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-mltex
|
||||||
|
if [ -f /usr/bin/mltex ]; then
|
||||||
|
sed -i 's/^\#\!\ mllatex.*$/mllatex pdftex language.dat -translate-file=cp227.tcx -mltex *mllatex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ mltex.*$/mltex pdftex - -translate-file=cp227.tcx -mltex mltex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-mptopdf
|
||||||
|
if [ -f /usr/bin/mptopdf ]; then
|
||||||
|
sed -i 's/^\#\!\ mptopdf.*$/mptopdf pdftex - -translate-file=cp227.tcx mptopdf.tex/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-pdftex
|
||||||
|
if [ -f /usr/bin/pdftex ]; then
|
||||||
|
sed -i 's/^\#\!\ pdftex.*$/pdftex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ etex.*$/etex pdftex language.def -translate-file=cp227.tcx *etex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ pdfetex.*$/pdfetex pdftex language.def -translate-file=cp227.tcx *pdfetex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-ptex
|
||||||
|
if [ -f /usr/bin/ptex ]; then
|
||||||
|
sed -i 's/^\#\!\ ptex.*$/ptex ptex - ptex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ eptex.*$/eptex eptex language.def *eptex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ platex.*$/platex eptex language.dat *platex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-tex
|
||||||
|
if [ -f /usr/bin/tex ]; then
|
||||||
|
sed -i 's/^\#\!\ tex.*$/tex tex - tex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-texsis
|
||||||
|
if [ -f /usr/bin/texsis ]; then
|
||||||
|
sed -i 's/^\#\!\ texsis.*$/texsis pdftex - -translate-file=cp227.tcx texsis.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-xetex
|
||||||
|
if [ -f /usr/bin/xetex ]; then
|
||||||
|
sed -i 's/^\#\!\ xetex.*$/xetex xetex language.def -etex xetex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ xelatex.*$/xelatex xetex language.dat -etex xelatex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
|
%posttrans -n texlive-xmltex
|
||||||
|
if [ -f /usr/bin/xmltex ]; then
|
||||||
|
sed -i 's/^\#\!\ xmltex.*$/xmltex pdftex language.dat *xmltex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
sed -i 's/^\#\!\ pdfxmltex.*$/pdfxmltex pdftex language.dat *pdfxmltex.ini/' %{_texdir}/texmf-dist/web2c/fmtutil.cnf
|
||||||
|
fi
|
||||||
|
:
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%{_texdir}/licenses/
|
%{_texdir}/licenses/
|
||||||
%{_texdir}/texlive.tlpdb
|
%{_texdir}/texlive.tlpdb
|
||||||
@ -6760,6 +6954,9 @@ done <<< "$list"
|
|||||||
%dir %{_texdir}/texmf-dist/web2c
|
%dir %{_texdir}/texmf-dist/web2c
|
||||||
%dir %{_texmf_var}
|
%dir %{_texmf_var}
|
||||||
%{_texdir}/texmf-var
|
%{_texdir}/texmf-var
|
||||||
|
%{_texdir}/texmf-local/
|
||||||
|
%{_datadir}/texmf
|
||||||
|
%ghost %{_datadir}/texmf.rpmmoved
|
||||||
|
|
||||||
%files -n %{shortname}-a2ping
|
%files -n %{shortname}-a2ping
|
||||||
%license gpl.txt
|
%license gpl.txt
|
||||||
@ -8576,6 +8773,54 @@ done <<< "$list"
|
|||||||
%doc %{_texdir}/texmf-dist/doc/latex/yplan/
|
%doc %{_texdir}/texmf-dist/doc/latex/yplan/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jun 19 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-38
|
||||||
|
- add Requires: tex(fvextra.sty) to pythontex (bz1590621)
|
||||||
|
|
||||||
|
* Mon Jun 11 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-37
|
||||||
|
- add tex-jfontmaps(bin/doc) provides
|
||||||
|
|
||||||
|
* Fri Jun 8 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-36
|
||||||
|
- add tex-uplatex(bin/doc) provides
|
||||||
|
|
||||||
|
* Thu Jun 7 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-35
|
||||||
|
- add pretrans to handle /usr/share/texmf
|
||||||
|
|
||||||
|
* Mon Jun 4 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-34
|
||||||
|
- add Provides: tetex-dvips
|
||||||
|
- add symlink to /usr/share/texmf for legacy packages
|
||||||
|
|
||||||
|
* Fri Jun 1 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-33
|
||||||
|
- add Provides: xmltex
|
||||||
|
|
||||||
|
* Tue May 29 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-32
|
||||||
|
- add BuildRequires: texlive-metafont, texlive-cm-super, texlive-ec for xindy
|
||||||
|
- disable arm for xindy due to segfault
|
||||||
|
|
||||||
|
* Tue May 29 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-31
|
||||||
|
- add epoch to jfontmaps obsolete, fix xindy subpackage generation
|
||||||
|
|
||||||
|
* Tue May 29 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-30
|
||||||
|
- add Provides: jadetex and Provides: tex-uptex-doc
|
||||||
|
|
||||||
|
* Mon May 21 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-29
|
||||||
|
- add posttrans to force bin scriptlets to work right when being obsoleted
|
||||||
|
|
||||||
|
* Mon May 14 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-28
|
||||||
|
- fix arara doc provides
|
||||||
|
|
||||||
|
* Fri Mar 30 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-27
|
||||||
|
- actually use the texmf.cnf we patch (not the vanilla one from the kpathsea.tar.xz)
|
||||||
|
|
||||||
|
* Tue Mar 27 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-26
|
||||||
|
- add lcdf-typetools provide to fix broken collection-fontutils (fixing that in texlive later) (bz1560379)
|
||||||
|
- add LatexIndent* to filtered Requires to prevent dep issues there (bz1560381)
|
||||||
|
|
||||||
|
* Sun Mar 25 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-25
|
||||||
|
- fix aleph obsoletes (bz1560355)
|
||||||
|
|
||||||
|
* Fri Mar 23 2018 Kevin Fenzi <kevin@scrye.com> - 7:20170520-24
|
||||||
|
- Rebuild for poppler soname bump.
|
||||||
|
|
||||||
* Thu Mar 15 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-23
|
* Thu Mar 15 2018 Tom Callaway <spot@fedoraproject.org> - 7:20170520-23
|
||||||
- add Requires: tex(pdfpages.sty) to texlive-pdfjam (bz1164237)
|
- add Requires: tex(pdfpages.sty) to texlive-pdfjam (bz1164237)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user