From e6b37dead6f0736062b2b7f902793583f3c4420e Mon Sep 17 00:00:00 2001 From: wang--ge Date: Thu, 9 Feb 2023 18:51:25 +0800 Subject: [PATCH] fix missing texdir failure due to texlive-base updated --- gnuplot.spec | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/gnuplot.spec b/gnuplot.spec index 1bd4369..1bd156c 100644 --- a/gnuplot.spec +++ b/gnuplot.spec @@ -2,7 +2,7 @@ Name: gnuplot Summary: a portable command-line driven graphing utility Version: %{major_minor}.6 -Release: 12 +Release: 13 License: gnuplot and MIT URL: http://www.gnuplot.info/ @@ -17,7 +17,7 @@ Patch5: gnuplot-5.0.6-add-lib-gobject-when-config.patch BuildRequires: cairo-devel latex2html emacs gd-devel giflib-devel libotf libpng-devel BuildRequires: librsvg2 texinfo libX11-devel libXt-devel lua-devel m17n-lib tex-tex4ht -BuildRequires: tex(ecrm1000.tfm) tex(subfigure.sty) tex(cm-super-t1.enc) tex(pdftex.map) +BuildRequires: tex(ecrm1000.tfm) tex(subfigure.sty) tex(cm-super-t1.enc) BuildRequires: zlib-devel libjpeg-turbo-devel pango-devel qt5-linguist tex(latex) BuildRequires: qt5-qtsvg-devel qt5-qtbase-devel /usr/bin/texi2dvi @@ -63,7 +63,8 @@ chmod 644 src/getcolor.h demo/html/webify* %global configure_opts \\\ --with-readline=builtin \\\ --without-linux-vga \\\ - --enable-history-file + --enable-history-file \\\ + --with-texdir=/usr/share/texlive/texmf-dist/tex/latex/gnuplot mkdir minimal pushd minimal cp -a ../configure . @@ -85,7 +86,7 @@ popd %configure %{configure_opts} \ --with-tutorial ln -s ../minimal/src/%{name} src/ -make -C docs html info +make -C docs info export GNUPLOT_PS_DIR=../../term/PostScript make -C docs/psdoc ps_symbols.ps ps_fontfile_doc.pdf make -C tutorial @@ -143,7 +144,7 @@ fi %{_datadir}/X11/app-defaults/Gnuplot %{_infodir}/%{name}.info.gz %{_bindir}/%{name}-minimal -%{_datadir}/texmf/tex/latex/%{name}/ +%{_datadir}/texlive/texmf-dist/tex/latex/%{name}/ %exclude %{_infodir}/dir %exclude %{_datadir}/%{name}/%{major_minor}/app-defaults/Gnuplot @@ -156,9 +157,12 @@ fi %doc tutorial/tutorial.dvi %doc docs/psdoc/ps_file.doc demo %doc docs/psdoc/ps_fontfile_doc.pdf -%doc docs/htmldocs tutorial/eg7.eps +%doc tutorial/eg7.eps %exclude %{_mandir}/man1/%{name}-ja.1* %changelog +* Thu Feb 09 2023 Ge Wang - 5.0.6-13 +- Fix Missing texdir build failure due to texlive-base updated + * Mon Feb 17 2020 Tianfei - 5.0.6-12 - Package init -- Gitee