parent
5dcc876f62
commit
25a31a7a8e
20
gnuplot.spec
20
gnuplot.spec
@ -10,10 +10,16 @@
|
|||||||
%bcond_with wx
|
%bcond_with wx
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if 0%{?fedora} >= 28
|
||||||
|
%bcond_without libcerf
|
||||||
|
%else
|
||||||
|
%bcond_with libcerf
|
||||||
|
%endif
|
||||||
|
|
||||||
Summary: A program for plotting mathematical expressions and data
|
Summary: A program for plotting mathematical expressions and data
|
||||||
Name: gnuplot
|
Name: gnuplot
|
||||||
Version: %{major}.%{minor}.%{patchlevel}
|
Version: %{major}.%{minor}.%{patchlevel}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
# MIT .. term/PostScript/aglfn.txt
|
# MIT .. term/PostScript/aglfn.txt
|
||||||
License: gnuplot and MIT
|
License: gnuplot and MIT
|
||||||
URL: http://www.gnuplot.info/
|
URL: http://www.gnuplot.info/
|
||||||
@ -50,6 +56,9 @@ BuildRequires: zlib-devel, libjpeg-turbo-devel, tex(ecrm1000.tfm), latex2html
|
|||||||
BuildRequires: qt5-qtbase-devel
|
BuildRequires: qt5-qtbase-devel
|
||||||
BuildRequires: qt5-qtsvg-devel
|
BuildRequires: qt5-qtsvg-devel
|
||||||
BuildRequires: qt5-linguist
|
BuildRequires: qt5-linguist
|
||||||
|
%if %{with libcerf}
|
||||||
|
BuildRequires: libcerf-devel >= 1.11
|
||||||
|
%endif
|
||||||
%if %{with wx}
|
%if %{with wx}
|
||||||
BuildRequires: compat-wxGTK3-gtk2-devel
|
BuildRequires: compat-wxGTK3-gtk2-devel
|
||||||
%endif
|
%endif
|
||||||
@ -184,7 +193,7 @@ rm -rf demo/plugin/*.so demo/plugin/*.o
|
|||||||
mkdir minimal
|
mkdir minimal
|
||||||
cd minimal
|
cd minimal
|
||||||
ln -s ../configure .
|
ln -s ../configure .
|
||||||
%configure %{configure_opts} --disable-wxwidgets --without-qt
|
%configure %{configure_opts} --disable-wxwidgets --without-qt %{?with_libcerf:--with-libcerf} %{!?with_libcerf:--without-libcerf}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
@ -194,7 +203,7 @@ cd -
|
|||||||
mkdir wx
|
mkdir wx
|
||||||
cd wx
|
cd wx
|
||||||
ln -s ../configure .
|
ln -s ../configure .
|
||||||
%configure %{configure_opts} --without-qt
|
%configure %{configure_opts} --without-qt %{?with_libcerf:--with-libcerf} %{!?with_libcerf:--without-libcerf}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
cd -
|
cd -
|
||||||
%endif
|
%endif
|
||||||
@ -203,7 +212,7 @@ cd -
|
|||||||
mkdir qt
|
mkdir qt
|
||||||
cd qt
|
cd qt
|
||||||
ln -s ../configure .
|
ln -s ../configure .
|
||||||
%configure %{configure_opts} --disable-wxwidgets --enable-qt
|
%configure %{configure_opts} --disable-wxwidgets --enable-qt %{?with_libcerf:--with-libcerf} %{!?with_libcerf:--without-libcerf}
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
cd -
|
cd -
|
||||||
|
|
||||||
@ -357,6 +366,9 @@ fi
|
|||||||
%{_datadir}/texlive/texmf-dist/tex/latex/gnuplot/
|
%{_datadir}/texlive/texmf-dist/tex/latex/gnuplot/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 25 2020 Pavel Cahyna <pcahyna@redhat.com> - 5.2.8-2
|
||||||
|
- Enable libcerf (bz#1476616)
|
||||||
|
|
||||||
* Thu Feb 6 2020 Orion Poplawski <orion@nwra.com> - 5.2.8-1
|
* Thu Feb 6 2020 Orion Poplawski <orion@nwra.com> - 5.2.8-1
|
||||||
- Update to 5.2.8 (bz#1457252)
|
- Update to 5.2.8 (bz#1457252)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user