!7 fix missing texdir build failure due to texlive-base updated

From: @wang--ge 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2023-02-09 11:56:34 +00:00 committed by Gitee
commit 469ee1afed
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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 <wangge20@h-partners.com> - 5.0.6-13
- Fix Missing texdir build failure due to texlive-base updated
* Mon Feb 17 2020 Tianfei <tianfei16@huawei.com> - 5.0.6-12
- Package init