[packages/plplot] - up to 5.15.0
baggins
baggins at pld-linux.org
Tue Aug 11 09:43:42 CEST 2020
commit 704b4d2c3f62d39c76f5818761e1fcdedae5617d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Aug 11 09:43:27 2020 +0200
- up to 5.15.0
plplot.spec | 33 ++++++++++++++++++---------------
qt-5.15.patch | 18 ++++++++++++++++++
2 files changed, 36 insertions(+), 15 deletions(-)
---
diff --git a/plplot.spec b/plplot.spec
index 319e770..c893098 100644
--- a/plplot.spec
+++ b/plplot.spec
@@ -34,15 +34,16 @@
Summary: PLplot - a library of functions that are useful for making scientific plots
Summary(pl.UTF-8): PLplot - biblioteka funkcji przydatnych do tworzenia wykresów naukowych
Name: plplot
-Version: 5.14.0
-Release: 11
+Version: 5.15.0
+Release: 1
License: LGPL v2+
Group: Libraries
Source0: http://downloads.sourceforge.net/plplot/%{name}-%{version}.tar.gz
-# Source0-md5: 244883879f24a2324f536d624168870d
-Patch2: %{name}-no-DISPLAY.patch
-Patch3: %{name}-plmeta.patch
-Patch7: %{name}-d.patch
+# Source0-md5: 36aec5bfadc2e207cf8ee39f573c9303
+Patch0: %{name}-no-DISPLAY.patch
+Patch1: %{name}-plmeta.patch
+Patch2: %{name}-d.patch
+Patch3: qt-5.15.patch
URL: http://plplot.sourceforge.net/
BuildRequires: Qt5Gui-devel
BuildRequires: Qt5PrintSupport-devel
@@ -623,9 +624,10 @@ Biblioteka PLplot - przykłady do wiązania dla Pythona.
%prep
%setup -q
+%patch0 -p1
+%patch1 -p1
%patch2 -p1
%patch3 -p1
-%patch7 -p1
%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python2(\s|$),#!%{__python}\1,' \
-e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
@@ -766,7 +768,7 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{_libdir}/libqsastime.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libqsastime.so.0
%attr(755,root,root) %{_libdir}/libplplot.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libplplot.so.16
+%attr(755,root,root) %ghost %{_libdir}/libplplot.so.17
%if %{with plmeta}
%{_mandir}/man1/plm2gif.1*
%{_mandir}/man1/plpr.1*
@@ -878,20 +880,21 @@ rm -rf $RPM_BUILD_ROOT
%{_pkgconfigdir}/plplot.pc
%{_libdir}/cmake/plplot
%dir %{_examplesdir}/%{name}-%{version}
-%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/Chloe.pgm
-%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/README.Chloe
+%{_examplesdir}/%{name}-%{version}/c
+%{_examplesdir}/%{name}-%{version}/cmake
+%{_examplesdir}/%{name}-%{version}/CMakeLists.txt
+%{_examplesdir}/%{name}-%{version}/Chloe.pgm
+%{_examplesdir}/%{name}-%{version}/Makefile
+%{_examplesdir}/%{name}-%{version}/README.Chloe
%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/plplot-test.sh
%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/plplot-test-interactive.sh
%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_c.sh
%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_c_interactive.sh
%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_diff.sh
+%{_examplesdir}/%{name}-%{version}/plplot_test
%if %{with plmeta}
%attr(755,root,root) %{_examplesdir}/%{name}-%{version}/test_plrender.sh
%endif
-%{_examplesdir}/%{name}-%{version}/c
-%{_examplesdir}/%{name}-%{version}/cmake
-%{_examplesdir}/%{name}-%{version}/CMakeLists.txt
-%{_examplesdir}/%{name}-%{version}/Makefile
%if %{with perl_pdl}
# perl examples use PDL::Graphics::PLplot module found in perl-PDL
%{_examplesdir}/%{name}-%{version}/perl
@@ -900,7 +903,7 @@ rm -rf $RPM_BUILD_ROOT
%files c++
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libplplotcxx.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libplplotcxx.so.14
+%attr(755,root,root) %ghost %{_libdir}/libplplotcxx.so.15
%files c++-devel
%defattr(644,root,root,755)
diff --git a/qt-5.15.patch b/qt-5.15.patch
new file mode 100644
index 0000000..cb02b94
--- /dev/null
+++ b/qt-5.15.patch
@@ -0,0 +1,18 @@
+commit 2aa2e1bdae9f75dbf74dc970e80834081fb3d0de
+Author: António Rodrigues Tomé <artome at linux-2zfn.Home>
+Date: Sat Jun 27 14:23:19 2020 +0100
+
+ Inclusion of #include <QPainterPath> needed for new distributions of qt.
+
+diff --git a/include/qt.h b/include/qt.h
+index 99919b0e6..cde88af09 100644
+--- a/include/qt.h
++++ b/include/qt.h
+@@ -67,6 +67,7 @@
+ #include <QMainWindow>
+ #include <QPicture>
+ #include <QMutex>
++#include <QPainterPath>
+
+ #include "plDevs.h"
+ #include "plplotP.h"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/plplot.git/commitdiff/704b4d2c3f62d39c76f5818761e1fcdedae5617d
More information about the pld-cvs-commit
mailing list