From 9382c43cc327d6e9ac1eedc0663cc81c8d2985b28a2afbe3bae9f05e543d4402 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Sat, 4 Aug 2012 07:19:23 +0000 Subject: [PATCH] Accepting request 129391 from KDE:Distro:Factory This is for Factory only IMHO, so feel free to wait with an accept if you fist want to create KDS from KDF for 12.2 - Update to 2.0.6, for a complete list of changes see http://kst-plot.kde.org/files/Log_messages_2.0.5_to_2.0.6.txt * When loading a kst file, prompt the user for an alternate if a datasource can't be found * Save/use arrow head property defaults * Don't invert Z order of viewItems which are direct children of the View * Data wizard fixes (spectrum format, speed improvements when there are many vectors, * Properly handle missing data in custom-delimited ASCII to avoid mixing the vectors * Large speedup (x10!) for ASCII with very many columns * Allow SVG and pixmap view objects to have adjustable aspect ratios * Fix apply button in view item dialogs (including labels) - Build python-kst for scripting (forwarded request 129359 from christiantrippe) OBS-URL: https://build.opensuse.org/request/show/129391 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kst?expand=0&rev=36 --- kst-2.0.5.tar.gz | 3 --- kst-2.0.6.tar.gz | 3 +++ kst.changes | 19 +++++++++++++++++++ kst.spec | 39 ++++++++++++++++++++++++++++++++++++++- 4 files changed, 60 insertions(+), 4 deletions(-) delete mode 100644 kst-2.0.5.tar.gz create mode 100644 kst-2.0.6.tar.gz diff --git a/kst-2.0.5.tar.gz b/kst-2.0.5.tar.gz deleted file mode 100644 index 8bedd1e..0000000 --- a/kst-2.0.5.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f64b0c44e2728afbb0a1c6fcf2fe792c9e412f1c8f15f882670463431cca353a -size 11398465 diff --git a/kst-2.0.6.tar.gz b/kst-2.0.6.tar.gz new file mode 100644 index 0000000..5f6987f --- /dev/null +++ b/kst-2.0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7968e604a188065d02da48a9a971fb04afab4b4b5358315b09e66f3deab1b80f +size 11388226 diff --git a/kst.changes b/kst.changes index 067491d..f335483 100644 --- a/kst.changes +++ b/kst.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Jul 30 17:55:38 UTC 2012 - ctrippe@opensuse.org + +- Update to 2.0.6, for a complete list of changes see + http://kst-plot.kde.org/files/Log_messages_2.0.5_to_2.0.6.txt + * When loading a kst file, prompt the user for an alternate if a + datasource can't be found + * Save/use arrow head property defaults + * Don't invert Z order of viewItems which are direct children of + the View + * Data wizard fixes (spectrum format, speed improvements when + there are many vectors, + * Properly handle missing data in custom-delimited ASCII to avoid + mixing the vectors + * Large speedup (x10!) for ASCII with very many columns + * Allow SVG and pixmap view objects to have adjustable aspect ratios + * Fix apply button in view item dialogs (including labels) +- Build python-kst for scripting + ------------------------------------------------------------------- Fri Jun 29 12:08:09 UTC 2012 - reddwarf@opensuse.org diff --git a/kst.spec b/kst.spec index 29c01a1..48413f6 100644 --- a/kst.spec +++ b/kst.spec @@ -18,7 +18,7 @@ Name: kst -Version: 2.0.5 +Version: 2.0.6 Release: 0 Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality License: GPL-2.0+ @@ -35,6 +35,9 @@ BuildRequires: libcfitsio-devel %if 0%{?suse_version} >= 1220 BuildRequires: libnetcdf_c++-devel BuildRequires: netcdf-devel +BuildRequires: python-numpy-devel +#Python-scipy is only available from 12.2 onwards, so the whole python scripting part ist only build for 12.2 onwards +BuildRequires: python-scipy-devel %else BuildRequires: libnetcdf-devel %endif @@ -77,15 +80,39 @@ Requires: libqt4-devel Development libraries and headers needed to build software making use of %{name} +%if 0%{?suse_version} >= 1220 + +%package -n python-kst +Summary: Python scripting support for %{name} +Group: Development/Libraries/Python +Requires: %{name} = %{version} +Requires: python-base = %py_ver +Requires: python-numpy +Requires: python-scipy + +%description -n python-kst +Provides scripting support for %{name} with Python + +%endif + %prep %setup -q %build +%if 0%{?suse_version} >= 1220 +EXTRA_FLAGS="-Dkst_install_prefix=%{_kde_prefix} \ + -Dkst_rpath=0 \ + -Dkst_install_libdir=%{_lib} \ + -Dkst_install_plugin_desktop_file_path=%{_kde4_servicesdir}/%{name} + -Dkst_release=1 \ + -Dkst_python=1" +%else EXTRA_FLAGS="-Dkst_install_prefix=%{_kde_prefix} \ -Dkst_rpath=0 \ -Dkst_install_libdir=%{_lib} \ -Dkst_install_plugin_desktop_file_path=%{_kde4_servicesdir}/%{name} -Dkst_release=1" +%endif %cmake_kde4 -d build -- $EXTRA_FLAGS $RPM_BUILD_DIR/%buildsubdir/cmake make %{?_smp_mflags} @@ -119,4 +146,14 @@ rm -rf %{buildroot} %{_kde4_libdir}/*.so %{_kde4_libdir}/lib%{name}2app.a +%if 0%{?suse_version} >= 1220 + +%files -n python-kst +%defattr(-,root,root) +%{python_sitearch}/pykst.py +%{python_sitearch}/pykstpp.py +%{python_sitearch}/pykstpp_h.py + +%endif + %changelog