Re-add texlive-updmap-map as it is not part of any archive anymore but is required

OBS-URL: https://build.opensuse.org/package/show/Publishing:TeXLive/texlive-filesystem?expand=0&rev=145
This commit is contained in:
Dr. Werner Fink 2021-04-12 15:18:55 +00:00 committed by Git OBS Bridge
parent 2eb99577b6
commit c58c8c39c2
2 changed files with 121 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Apr 12 15:00:05 UTC 2021 - Dr. Werner Fink <werner@suse.de>
- Re-add texlive-updmap-map as it is not part of any archive
anymore but is required
-------------------------------------------------------------------
Tue Apr 6 14:03:37 UTC 2021 - Dr. Werner Fink <werner@suse.de>

View File

@ -24,7 +24,7 @@
%define texlive_version 2021
%define texlive_previous 2020
%define texlive_release 20210325
%define texlive_noarch 183
%define texlive_noarch 184
%define texlive_source texlive-20210325-source
%define __perl_requires %{nil}
@ -6017,6 +6017,8 @@ Requires: texlive-pstring >= %{texlive_version}
#!BuildIgnore: texlive-pstring
Requires: texlive-pxgreeks >= %{texlive_version}
#!BuildIgnore: texlive-pxgreeks
Requires: texlive-pygmentex >= %{texlive_version}
#!BuildIgnore: texlive-pygmentex
Requires: texlive-python >= %{texlive_version}
#!BuildIgnore: texlive-python
Requires: texlive-qcm >= %{texlive_version}
@ -9165,6 +9167,62 @@ BuildArch: noarch
Packages for XeTeX, the Unicode/OpenType-enabled TeX by
Jonathan Kew, http://tug.org/xetex.
%package -n texlive-updmap-map
Version: %{texlive_version}.%{texlive_noarch}.svn54495
Release: 0
Summary: Auto-generated font map files
License: LPPL-1.0
Group: Productivity/Publishing/TeX/Base
URL: http://www.tug.org/texlive/
Requires(pre): texlive-filesystem >= %{texlive_version}
Requires(post): coreutils
Requires(postun):coreutils
Requires(postun):texlive >= %{texlive_version}
Requires(postun):texlive-filesystem >= %{texlive_version}
Requires(postun):texlive-kpathsea-bin >= %{texlive_version}
Requires(postun):texlive-kpathsea >= %{texlive_version}
Requires(postun):texlive-scripts-bin >= %{texlive_version}
Requires(postun):texlive-scripts >= %{texlive_version}
Requires(posttrans):coreutils
Requires(posttrans):ed
Requires(posttrans):findutils
Requires(posttrans):grep
Requires(posttrans):sed
Requires(posttrans):texlive >= %{texlive_version}
Requires(posttrans):texlive-filesystem >= %{texlive_version}
Requires(posttrans):texlive-kpathsea-bin >= %{texlive_version}
Requires(posttrans):texlive-kpathsea >= %{texlive_version}
Requires(posttrans):texlive-scripts-bin >= %{texlive_version}
Requires(posttrans):texlive-scripts >= %{texlive_version}
Provides: tex(builtin35.map)
Provides: tex(download35.map)
Provides: tex(kanjix.map)
Provides: tex(pdftex.map)
Provides: tex(pdftex_dl14.map)
Provides: tex(pdftex_ndl14.map)
Provides: tex(ps2pk.map)
Provides: tex(psfonts.map)
Provides: tex(psfonts_pk.map)
Provides: tex(psfonts_t1.map)
%description -n texlive-updmap-map
These map files are regenerated every time a new font is added.
There is no need to rebuild formats or update binaries because
of such updates, hence this separate package.
%post -n texlive-updmap-map
mkdir -p /var/run/texlive
> /var/run/texlive/run-mktexlsr
> /var/run/texlive/run-update
%postun -n texlive-updmap-map
mkdir -p /var/run/texlive
> /var/run/texlive/run-mktexlsr
> /var/run/texlive/run-update
if test $1 = 0; then
exit 0
fi
%package -n texlive-devel
Version: %{texlive_version}.%{texlive_noarch}
Release: 0
@ -9227,6 +9285,9 @@ popd
%build
%install
mkdir -p %{buildroot}%{_texmfdistdir}/fonts/map/dvipdfmx/updmap
mkdir -p %{buildroot}%{_texmfdistdir}/fonts/map/dvips/updmap
mkdir -p %{buildroot}%{_texmfdistdir}/fonts/map/pdftex/updmap
mkdir -p %{buildroot}%{_bindir}
mkdir -p %{buildroot}%{_libdir}
mkdir -p %{buildroot}%{_includedir}
@ -12809,6 +12870,7 @@ popd
mkdir -p %{buildroot}%{_texmfdistdir}/doc/latex/pxpic
mkdir -p %{buildroot}%{_texmfdistdir}/doc/latex/pxtatescale
mkdir -p %{buildroot}%{_texmfdistdir}/doc/latex/pxufont
mkdir -p %{buildroot}%{_texmfdistdir}/doc/latex/pygmentex
mkdir -p %{buildroot}%{_texmfdistdir}/doc/latex/python
mkdir -p %{buildroot}%{_texmfdistdir}/doc/latex/pythonhighlight
mkdir -p %{buildroot}%{_texmfdistdir}/doc/latex/pythontex
@ -16658,6 +16720,7 @@ popd
mkdir -p %{buildroot}%{_texmfdistdir}/scripts/ptex2pdf
mkdir -p %{buildroot}%{_texmfdistdir}/scripts/purifyeps
mkdir -p %{buildroot}%{_texmfdistdir}/scripts/puyotikz
mkdir -p %{buildroot}%{_texmfdistdir}/scripts/pygmentex
mkdir -p %{buildroot}%{_texmfdistdir}/scripts/pythontex
mkdir -p %{buildroot}%{_texmfdistdir}/scripts/rubik
mkdir -p %{buildroot}%{_texmfdistdir}/scripts/simpdftex
@ -19614,6 +19677,7 @@ popd
mkdir -p %{buildroot}%{_texmfdistdir}/tex/latex/pxtatescale
mkdir -p %{buildroot}%{_texmfdistdir}/tex/latex/pxtxalfa
mkdir -p %{buildroot}%{_texmfdistdir}/tex/latex/pxufont
mkdir -p %{buildroot}%{_texmfdistdir}/tex/latex/pygmentex
mkdir -p %{buildroot}%{_texmfdistdir}/tex/latex/python
mkdir -p %{buildroot}%{_texmfdistdir}/tex/latex/pythonhighlight
mkdir -p %{buildroot}%{_texmfdistdir}/tex/latex/pythontex
@ -21050,6 +21114,34 @@ popd
ls -RLA ./ 2>/dev/null >> %{buildroot}%{_texmfvardir}/main/ls-R || true
popd
(cat > %{buildroot}%{_texmfdistdir}/fonts/map/dvipdfmx/updmap/kanjix.map) <<-'EOF'
% maintained by updmap[-sys] (multi).
% Don't change this file directly. Use updmap[-sys] instead.
% See the updmap documentation.
% A log of the run that created this file is available here:
% /tmp/umap-var/web2c/updmap.log
EOF
for cfg in builtin35 download35 ps2pk psfonts psfonts_pk psfonts_t1
do
(cat > %{buildroot}%{_texmfdistdir}/fonts/map/dvips/updmap/${cfg}.map) <<-'EOF'
% maintained by updmap[-sys] (multi).
% Don't change this file directly. Use updmap[-sys] instead.
% See the updmap documentation.
% A log of the run that created this file is available here:
% /tmp/umap-var/web2c/updmap.log
EOF
done
for cfg in pdftex pdftex_dl14 pdftex_ndl14
do
(cat > %{buildroot}%{_texmfdistdir}/fonts/map/pdftex/updmap/${cfg}.map) <<-'EOF'
% maintained by updmap[-sys] (multi).
% Don't change this file directly. Use updmap[-sys] instead.
% See the updmap documentation.
% A log of the run that created this file is available here:
% /tmp/umap-var/web2c/updmap.log
EOF
done
# the permission files, any change is also required within do.mklists
mkdir -p %{buildroot}%{_sysconfdir}/permissions.d
(cat > %{buildroot}%{_sysconfdir}/permissions.d/texlive.texlive) <<-EOF
@ -25163,6 +25255,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%dir %{_texmfdistdir}/doc/latex/pxpic
%dir %{_texmfdistdir}/doc/latex/pxtatescale
%dir %{_texmfdistdir}/doc/latex/pxufont
%dir %{_texmfdistdir}/doc/latex/pygmentex
%dir %{_texmfdistdir}/doc/latex/python
%dir %{_texmfdistdir}/doc/latex/pythonhighlight
%dir %{_texmfdistdir}/doc/latex/pythontex
@ -29370,6 +29463,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%dir %{_texmfdistdir}/scripts/ptex2pdf
%dir %{_texmfdistdir}/scripts/purifyeps
%dir %{_texmfdistdir}/scripts/puyotikz
%dir %{_texmfdistdir}/scripts/pygmentex
%dir %{_texmfdistdir}/scripts/pythontex
%dir %{_texmfdistdir}/scripts/rubik
%dir %{_texmfdistdir}/scripts/simpdftex
@ -32420,6 +32514,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%dir %{_texmfdistdir}/tex/latex/pxtatescale
%dir %{_texmfdistdir}/tex/latex/pxtxalfa
%dir %{_texmfdistdir}/tex/latex/pxufont
%dir %{_texmfdistdir}/tex/latex/pygmentex
%dir %{_texmfdistdir}/tex/latex/python
%dir %{_texmfdistdir}/tex/latex/pythonhighlight
%dir %{_texmfdistdir}/tex/latex/pythontex
@ -34051,4 +34146,23 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%files -n texlive-extratools
%defattr(-,root,root,755)
%files -n texlive-updmap-map
%defattr(-,root,root,755)
%dir %{_texmfdistdir}/fonts/map/dvipdfmx/updmap
%dir %{_texmfdistdir}/fonts/map/dvips/updmap
%dir %{_texmfdistdir}/fonts/map/pdftex/updmap
%{_texmfdistdir}/fonts/map/dvipdfmx/updmap/kanjix.map
%{_texmfdistdir}/fonts/map/dvips/updmap/builtin35.map
%{_texmfdistdir}/fonts/map/dvips/updmap/download35.map
%{_texmfdistdir}/fonts/map/dvips/updmap/ps2pk.map
%{_texmfdistdir}/fonts/map/dvips/updmap/psfonts.map
%{_texmfdistdir}/fonts/map/dvips/updmap/psfonts_pk.map
%{_texmfdistdir}/fonts/map/dvips/updmap/psfonts_t1.map
%{_texmfdistdir}/fonts/map/pdftex/updmap/pdftex.map
%{_texmfdistdir}/fonts/map/pdftex/updmap/pdftex_dl14.map
%{_texmfdistdir}/fonts/map/pdftex/updmap/pdftex_ndl14.map
%if %{with zypper_posttrans}
/var/adm/update-scripts/texlive-updmap-map-%{texlive_version}.%{texlive_noarch}.svn54495-%{release}-zypper
%endif
%changelog