Accepting request 585983 from Publishing:TeXLive

- Use font-config macros (boo#1083212) *with* xorg-x11-fonts-core
  (for encodings), mkfontdir (ditto), and mkfontscale

OBS-URL: https://build.opensuse.org/request/show/585983
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/texlive-specs-c?expand=0&rev=34
This commit is contained in:
Dominique Leuenberger 2018-03-22 10:53:12 +00:00 committed by Git OBS Bridge
commit a2c7480fa9
2 changed files with 73 additions and 145 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Mar 12 10:19:12 UTC 2018 - werner@suse.de
- Use font-config macros (boo#1083212) *with* xorg-x11-fonts-core
(for encodings), mkfontdir (ditto), and mkfontscale
-------------------------------------------------------------------
Tue Feb 6 11:20:16 UTC 2018 - werner@suse.de

View File

@ -52,6 +52,8 @@ Name: texlive-specs-c
Version: 2017
Release: 0
BuildRequires: ed
BuildRequires: fontconfig
BuildRequires: fontpackages-devel
BuildRequires: t1utils
BuildRequires: texlive-filesystem
BuildRequires: xz
@ -767,14 +769,12 @@ Summary: Severed fonts for texlive-bbold-type1
License: LPPL-1.0
Group: Productivity/Publishing/TeX/Fonts
Url: http://www.tug.org/texlive/
Requires(post): fontconfig
Requires(post): ghostscript-fonts-std
Requires(post): mkfontdir
Requires(post): mkfontscale
Requires(post): xorg-x11-fonts-core
Requires(postun): fontconfig
Requires(postun): ghostscript-fonts-std
Requires(postun): xorg-x11-fonts-core
%reconfigure_fonts_prereq
Requires(posttrans): fontconfig
Requires(posttrans): ghostscript-fonts-std
Requires(posttrans): mkfontdir
Requires(posttrans): mkfontscale
Requires(posttrans): xorg-x11-fonts-core
%description -n texlive-bbold-type1-fonts
The separated fonts package for texlive-bbold-type1
@ -800,16 +800,7 @@ test -z "$ZYPP_IS_RUNNING" || exit 0
test -d /var/run/texlive || exit 0
VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%post -n texlive-bbold-type1-fonts
fc-cache -s %{_datadir}/fonts
mkfontscale %{_datadir}/fonts/texlive-bbold-type1
mkfontdir -e %{_datadir}/fonts/encodings -e %{_datadir}/fonts/encodings/large %{_datadir}/fonts/texlive-bbold-type1
%postun -n texlive-bbold-type1-fonts
if test $1 = 0; then
fc-cache -s %{_datadir}/fonts
fi
%reconfigure_fonts_scriptlets -n texlive-bbold-type1-fonts
%files -n texlive-bbold-type1-doc
%defattr(-,root,root,755)
%{_texmfdistdir}/doc/fonts/bbold-type1/README
@ -1779,7 +1770,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.svn15878
Release: 0
Summary: An introduction to the Beamer class, in Portuguese
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive >= %{texlive_version}
@ -2670,7 +2661,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.1.02svn39048
Release: 0
Summary: A beamer theme designed for use in the University of Leeds
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive >= %{texlive_version}
@ -2702,7 +2693,7 @@ date: 2016-06-24 17:18:15 +0000
Version: %{texlive_version}.%{texlive_noarch}.1.02svn39048
Release: 0
Summary: Documentation for texlive-beamertheme-detlevcm
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
@ -2929,7 +2920,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.1.0svn39100
Release: 0
Summary: A simple beamer theme
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive >= %{texlive_version}
@ -2958,7 +2949,7 @@ date: 2016-06-24 17:18:15 +0000
Version: %{texlive_version}.%{texlive_noarch}.1.0svn39100
Release: 0
Summary: Documentation for texlive-beamertheme-phnompenh
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
@ -3084,7 +3075,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.1.1svn21977
Release: 0
Summary: Contributed beamer theme
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive >= %{texlive_version}
@ -3390,7 +3381,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.1.6svn15878
Release: 0
Summary: Typeset Begriffschrift
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive >= %{texlive_version}
@ -3419,7 +3410,7 @@ date: 2016-06-24 17:18:15 +0000
Version: %{texlive_version}.%{texlive_noarch}.1.6svn15878
Release: 0
Summary: Documentation for texlive-begriff
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
@ -3521,14 +3512,12 @@ Summary: Severed fonts for texlive-belleek
License: SUSE-Public-Domain
Group: Productivity/Publishing/TeX/Fonts
Url: http://www.tug.org/texlive/
Requires(post): fontconfig
Requires(post): ghostscript-fonts-std
Requires(post): mkfontdir
Requires(post): mkfontscale
Requires(post): xorg-x11-fonts-core
Requires(postun): fontconfig
Requires(postun): ghostscript-fonts-std
Requires(postun): xorg-x11-fonts-core
%reconfigure_fonts_prereq
Requires(posttrans): fontconfig
Requires(posttrans): ghostscript-fonts-std
Requires(posttrans): mkfontdir
Requires(posttrans): mkfontscale
Requires(posttrans): xorg-x11-fonts-core
%description -n texlive-belleek-fonts
The separated fonts package for texlive-belleek
@ -3554,16 +3543,7 @@ test -z "$ZYPP_IS_RUNNING" || exit 0
test -d /var/run/texlive || exit 0
VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%post -n texlive-belleek-fonts
fc-cache -s %{_datadir}/fonts
mkfontscale %{_datadir}/fonts/texlive-belleek
mkfontdir -e %{_datadir}/fonts/encodings -e %{_datadir}/fonts/encodings/large %{_datadir}/fonts/texlive-belleek
%postun -n texlive-belleek-fonts
if test $1 = 0; then
fc-cache -s %{_datadir}/fonts
fi
%reconfigure_fonts_scriptlets -n texlive-belleek-fonts
%files -n texlive-belleek-doc
%defattr(-,root,root,755)
%{_texmfdistdir}/doc/fonts/belleek/README
@ -3847,14 +3827,12 @@ Summary: Severed fonts for texlive-bera
License: LPPL-1.0
Group: Productivity/Publishing/TeX/Fonts
Url: http://www.tug.org/texlive/
Requires(post): fontconfig
Requires(post): ghostscript-fonts-std
Requires(post): mkfontdir
Requires(post): mkfontscale
Requires(post): xorg-x11-fonts-core
Requires(postun): fontconfig
Requires(postun): ghostscript-fonts-std
Requires(postun): xorg-x11-fonts-core
%reconfigure_fonts_prereq
Requires(posttrans): fontconfig
Requires(posttrans): ghostscript-fonts-std
Requires(posttrans): mkfontdir
Requires(posttrans): mkfontscale
Requires(posttrans): xorg-x11-fonts-core
%description -n texlive-bera-fonts
The separated fonts package for texlive-bera
@ -3880,16 +3858,7 @@ test -z "$ZYPP_IS_RUNNING" || exit 0
test -d /var/run/texlive || exit 0
VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%post -n texlive-bera-fonts
fc-cache -s %{_datadir}/fonts
mkfontscale %{_datadir}/fonts/texlive-bera
mkfontdir -e %{_datadir}/fonts/encodings -e %{_datadir}/fonts/encodings/large %{_datadir}/fonts/texlive-bera
%postun -n texlive-bera-fonts
if test $1 = 0; then
fc-cache -s %{_datadir}/fonts
fi
%reconfigure_fonts_scriptlets -n texlive-bera-fonts
%files -n texlive-bera-doc
%defattr(-,root,root,755)
%{_texmfdistdir}/doc/fonts/bera/LICENSE
@ -4309,14 +4278,12 @@ Summary: Severed fonts for texlive-berenisadf
License: LPPL-1.0
Group: Productivity/Publishing/TeX/Fonts
Url: http://www.tug.org/texlive/
Requires(post): fontconfig
Requires(post): ghostscript-fonts-std
Requires(post): mkfontdir
Requires(post): mkfontscale
Requires(post): xorg-x11-fonts-core
Requires(postun): fontconfig
Requires(postun): ghostscript-fonts-std
Requires(postun): xorg-x11-fonts-core
%reconfigure_fonts_prereq
Requires(posttrans): fontconfig
Requires(posttrans): ghostscript-fonts-std
Requires(posttrans): mkfontdir
Requires(posttrans): mkfontscale
Requires(posttrans): xorg-x11-fonts-core
%description -n texlive-berenisadf-fonts
The separated fonts package for texlive-berenisadf
@ -4342,16 +4309,7 @@ test -z "$ZYPP_IS_RUNNING" || exit 0
test -d /var/run/texlive || exit 0
VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%post -n texlive-berenisadf-fonts
fc-cache -s %{_datadir}/fonts
mkfontscale %{_datadir}/fonts/texlive-berenisadf
mkfontdir -e %{_datadir}/fonts/encodings -e %{_datadir}/fonts/encodings/large %{_datadir}/fonts/texlive-berenisadf
%postun -n texlive-berenisadf-fonts
if test $1 = 0; then
fc-cache -s %{_datadir}/fonts
fi
%reconfigure_fonts_scriptlets -n texlive-berenisadf-fonts
%files -n texlive-berenisadf-doc
%defattr(-,root,root,755)
%{_texmfdistdir}/doc/fonts/berenisadf/COPYING
@ -5019,14 +4977,12 @@ Summary: Severed fonts for texlive-beuron
License: LPPL-1.0
Group: Productivity/Publishing/TeX/Fonts
Url: http://www.tug.org/texlive/
Requires(post): fontconfig
Requires(post): ghostscript-fonts-std
Requires(post): mkfontdir
Requires(post): mkfontscale
Requires(post): xorg-x11-fonts-core
Requires(postun): fontconfig
Requires(postun): ghostscript-fonts-std
Requires(postun): xorg-x11-fonts-core
%reconfigure_fonts_prereq
Requires(posttrans): fontconfig
Requires(posttrans): ghostscript-fonts-std
Requires(posttrans): mkfontdir
Requires(posttrans): mkfontscale
Requires(posttrans): xorg-x11-fonts-core
%description -n texlive-beuron-fonts
The separated fonts package for texlive-beuron
@ -5052,16 +5008,7 @@ test -z "$ZYPP_IS_RUNNING" || exit 0
test -d /var/run/texlive || exit 0
VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%post -n texlive-beuron-fonts
fc-cache -s %{_datadir}/fonts
mkfontscale %{_datadir}/fonts/texlive-beuron
mkfontdir -e %{_datadir}/fonts/encodings -e %{_datadir}/fonts/encodings/large %{_datadir}/fonts/texlive-beuron
%postun -n texlive-beuron-fonts
if test $1 = 0; then
fc-cache -s %{_datadir}/fonts
fi
%reconfigure_fonts_scriptlets -n texlive-beuron-fonts
%files -n texlive-beuron-doc
%defattr(-,root,root,755)
%{_texmfdistdir}/doc/fonts/beuron/Band.mp
@ -6473,14 +6420,12 @@ Summary: Severed fonts for texlive-bguq
License: LPPL-1.0
Group: Productivity/Publishing/TeX/Fonts
Url: http://www.tug.org/texlive/
Requires(post): fontconfig
Requires(post): ghostscript-fonts-std
Requires(post): mkfontdir
Requires(post): mkfontscale
Requires(post): xorg-x11-fonts-core
Requires(postun): fontconfig
Requires(postun): ghostscript-fonts-std
Requires(postun): xorg-x11-fonts-core
%reconfigure_fonts_prereq
Requires(posttrans): fontconfig
Requires(posttrans): ghostscript-fonts-std
Requires(posttrans): mkfontdir
Requires(posttrans): mkfontscale
Requires(posttrans): xorg-x11-fonts-core
%description -n texlive-bguq-fonts
The separated fonts package for texlive-bguq
@ -6506,16 +6451,7 @@ test -z "$ZYPP_IS_RUNNING" || exit 0
test -d /var/run/texlive || exit 0
VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%post -n texlive-bguq-fonts
fc-cache -s %{_datadir}/fonts
mkfontscale %{_datadir}/fonts/texlive-bguq
mkfontdir -e %{_datadir}/fonts/encodings -e %{_datadir}/fonts/encodings/large %{_datadir}/fonts/texlive-bguq
%postun -n texlive-bguq-fonts
if test $1 = 0; then
fc-cache -s %{_datadir}/fonts
fi
%reconfigure_fonts_scriptlets -n texlive-bguq-fonts
%files -n texlive-bguq-doc
%defattr(-,root,root,755)
%{_texmfdistdir}/doc/fonts/bguq/INSTALL.txt
@ -6771,7 +6707,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.2.1svn40096
Release: 0
Summary: "Arts"-style bibliographical information
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive >= %{texlive_version}
@ -6815,7 +6751,7 @@ date: 2016-06-24 17:18:15 +0000
Version: %{texlive_version}.%{texlive_noarch}.2.1svn40096
Release: 0
Summary: Documentation for texlive-bibarts
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Provides: locale(texlive-bibarts-doc:de)
@ -6863,7 +6799,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.2.7svn43910
Release: 0
Summary: A BibTeX replacement for users of BibLaTeX
License: Artistic-2.0 and GPL-1.0+
License: Artistic-2.0 AND GPL-1.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive-biber-bin >= %{texlive_version}
@ -7002,7 +6938,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.2.0.2svn31607
Release: 0
Summary: BibTeX support for HTML files
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive >= %{texlive_version}
@ -7037,7 +6973,7 @@ date: 2016-06-24 17:18:15 +0000
Version: %{texlive_version}.%{texlive_noarch}.2.0.2svn31607
Release: 0
Summary: Documentation for texlive-bibhtml
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
@ -12679,7 +12615,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.svn17116
Release: 0
Summary: Print a BibTeX database
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive >= %{texlive_version}
@ -12709,7 +12645,7 @@ date: 2016-06-24 17:18:15 +0000
Version: %{texlive_version}.%{texlive_noarch}.svn17116
Release: 0
Summary: Documentation for texlive-biblist
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
@ -12858,7 +12794,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.3.71svn29725
Release: 0
Summary: A fully 8-bit adaptation of BibTeX 0.99
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive-bibtex8-bin >= %{texlive_version}
@ -12891,7 +12827,7 @@ date: 2016-06-24 17:18:15 +0000
Version: %{texlive_version}.%{texlive_noarch}.3.71svn29725
Release: 0
Summary: Documentation for texlive-bibtex8
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
@ -12948,7 +12884,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.1.3svn43549
Release: 0
Summary: BibTeX Perl Libraries
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive >= %{texlive_version}
@ -12998,7 +12934,7 @@ date: 2017-03-19 20:15:40 +0000
Version: %{texlive_version}.%{texlive_noarch}.1.3svn43549
Release: 0
Summary: Documentation for texlive-bibtexperllibs
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
@ -13101,7 +13037,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.1.1asvn15878
Release: 0
Summary: Include multiple bibliographies in a document
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive >= %{texlive_version}
@ -13140,7 +13076,7 @@ date: 2016-06-24 17:18:15 +0000
Version: %{texlive_version}.%{texlive_noarch}.1.1asvn15878
Release: 0
Summary: Documentation for texlive-bibtopic
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
@ -14189,7 +14125,7 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
Version: %{texlive_version}.%{texlive_noarch}.2.1svn38248
Release: 0
Summary: Footnotes for critical editions
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
Requires(pre): texlive >= %{texlive_version}
@ -14231,7 +14167,7 @@ date: 2016-06-24 17:18:15 +0000
Version: %{texlive_version}.%{texlive_noarch}.2.1svn38248
Release: 0
Summary: Documentation for texlive-bigfoot
License: GPL-2.0+
License: GPL-2.0-or-later
Group: Productivity/Publishing/TeX/Base
Url: http://www.tug.org/texlive/
@ -15074,14 +15010,6 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%endif
tar --use-compress-program=xz -xf %{S:132} -C %{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:133} -C %{buildroot}%{_datadir}/texlive/texmf-dist
# Make possible scripts usable if any
for scr in %{_texmfdistdir}/doc/latex/biblatex-gb7714-2015/makeclear.sh \
%{_texmfdistdir}/doc/latex/biblatex-gb7714-2015/makefile.sh \
%{_texmfdistdir}/doc/latex/biblatex-gb7714-2015/makefilebeamer.sh
do
test -e %{buildroot}/$scr || continue
chmod 0755 %{buildroot}/$scr
done
%if %{with zypper_posttrans}
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-biblatex-gost-%{texlive_version}.%{texlive_noarch}.1.14svn44172-%{release}-zypper
@ -15357,12 +15285,6 @@ VERBOSE=false %{_texmfdistdir}/texconfig/update || :
%endif
tar --use-compress-program=xz -xf %{S:221} -C %{buildroot}%{_datadir}/texlive/texmf-dist
tar --use-compress-program=xz -xf %{S:222} -C %{buildroot}%{_datadir}/texlive/texmf-dist
# Make possible scripts usable if any
for scr in %{_texmfdistdir}/doc/latex/bibunits/bibtexall
do
test -e %{buildroot}/$scr || continue
chmod 0755 %{buildroot}/$scr
done
%if %{with zypper_posttrans}
ln -sf %{_texmfdistdir}/texconfig/zypper.py \
%{buildroot}/var/adm/update-scripts/texlive-bidi-%{texlive_version}.%{texlive_noarch}.30.7svn44546-%{release}-zypper