Accepting request 242856 from KDE:Extra

- Build with MAT files support

- Update to 2.0.8

-Removed python-kst and added an obsolete for this. (Sorry I missed the comment in the first srq)

OBS-URL: https://build.opensuse.org/request/show/242856
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kst?expand=0&rev=41
This commit is contained in:
Stephan Kulow 2014-07-31 19:50:14 +00:00 committed by Git OBS Bridge
parent 29bf33a777
commit 68493f2c12
4 changed files with 86 additions and 68 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0ef0e1e85fa90472447eb53ee560970635532d2013d200d99ebdd105bd2eecee
size 11706657

3
Kst-2.0.8.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cefbfd3e3710771985e08f02a397ef8ab407168fa8415d2c3c5740c031af18c6
size 14527129

View File

@ -1,3 +1,56 @@
-------------------------------------------------------------------
Tue Jul 29 10:18:04 UTC 2014 - dmitry_r@opensuse.org
- Build with MAT files support
-------------------------------------------------------------------
Mon Jul 21 17:57:48 UTC 2014 - ctrippe@opensuse.org
- Update to 2.0.8
1) Data sources
* A new datasource: sourcelist, which is a successive list of otherwise identical datasources
* Another new datasource: FITS tables, contributed by a new contributor: Nicholas Chapman. Welcome!
* ASCII improved once again to support huge files (>8 GB!)
* Add option how empty ASCII columns should be handled (NaN, copy previous, interpolate)
* Improve ASCII config dialog layout
* Handle data sources which are temporarily typed into the data source selector,
but which are not actually used and when a data source is deleted, delete its slave primitives as well
2) Main new features
* Thanks to the awesome job done by the KDE internationalization team, Kst 2.0.8 is now available in the following languages: ca ca@valencia de en_GB fr nl pl pt pt_BR sv uk. Kst will default to using the system language, if available. To override this, launch with e.g. "LANG=en ./kst2"
* A progress bar appears when parsing large ASCII files, very nice when it takes long with huge files!
* Reworked view vector values allowing easy comparison of vectors and changing the number of digits shown - a first step towards a more table-centric view as in other plotting tools
* Add filtering to the data manager to allow finding items easily in complex sessions
* Add an "unwind" filter: for data fields that have wrapped. For example, an angle (0-360 degrees) which has rotated several times
* New plugin to compute the "activity level" of a signal as the product of standard deviation and number of reversals over a sliding window.
3) Misc. improvements
* Scripting: major rework underway - still ongoing. Hopefully Python scripting will be supported under Windows as well in the next version
* Add a -T command line option which creates a new tab
* Equations: add 'degree' versions of the trig functions: sind, cosd, etc as well as atan2(x,y)
* Avoid having to type * before/after the text in the editmultiple widget
* HOWTO explaining how to add a plugin
* Improvements to use the whole available space in the scalar/vector/matrix/string selectors
* To reduce the impact of latent/glitchy file system situations, delay reloading a file which looks like it has shrunk
* Use "Spectrogram" instead of "CSD"
* Option to use the "native" Qt graphics system if "use raster" is not selected (native works far better for remote X)
4) Bug fixes
* Scalar selector improvements
* Many improvements in the update system and propagation of data source configuration changes
* Solve wrong vector selection in shift and differentiation plugins (kde#325393)
* Fix annoying bug breaking the recent data file and session lists (kde#325086)
* Only reset starting frame to skip boundry if in count from end mode -> allow selecting the right subsamples when using skip in other cases
* Various fixes to ASCII configuration to ensure that we don't parse the whole file when we only want to change the settings
* Make sure custom color applies to all lines of a multi line text label
* Don't crash when there is an exception while searching for rows
* Some improvements to defaults in filter plugins
* Fix enabling/disabling widgets in FFT options (kde#328371)
* In datawizard, don't create plots if no curves (kde#307723)
* Update curve names in plot dialog when changed (kde#318139)
- Remove the python subpackage as this is still under development
and should not be build according to upstream.
-------------------------------------------------------------------
Thu Jul 18 19:22:32 UTC 2013 - ctrippe@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package kst
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 Christian Trippe ctrippe@opensuse.org
#
# All modifications and additions to the file contributed by third parties
@ -18,7 +18,7 @@
Name: kst
Version: 2.0.7
Version: 2.0.8
Release: 0
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
License: GPL-2.0+
@ -29,22 +29,16 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: Mesa-devel
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gsl-devel
BuildRequires: kde4-filesystem
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
BuildRequires: getdata-devel
BuildRequires: gsl-devel
BuildRequires: libcfitsio-devel
BuildRequires: libmatio-devel
BuildRequires: libnetcdf_c++-devel
BuildRequires: libqt4-devel
BuildRequires: netcdf-devel
BuildRequires: readline-devel
BuildRequires: update-desktop-files
Obsoletes: python-kst < %{version}
%description
Kst is a data plotting and viewing program. Some of the features include:
@ -70,49 +64,24 @@ 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
%setup -q -n=Kst-2.0.8
%build
%if 0%{?suse_version} >= 1220
EXTRA_FLAGS="-Dkst_install_prefix=%{_kde_prefix} \
EXTRA_FLAGS="-Dkst_install_prefix=/usr \
-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
-Dkst_dbgsym=1 \
-Dkst_python=0"
cmake $EXTRA_FLAGS
make %{?_smp_mflags}
%install
cd build
%make_install
cd ..
%suse_update_desktop_file -r %{name}2 Qt KDE Science Math
%fdupes %{buildroot}
%kde_post_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
@ -122,28 +91,24 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_kde4_datadir}/applications/%{name}2.desktop
%{_kde4_bindir}/%{name}2
%{_kde4_datadir}/applnk/
%{_kde4_datadir}/mimelink/
%{_kde4_iconsdir}/hicolor/*/apps/*%{name}.*
%{_kde4_libdir}/lib%{name}*.so.*
%{_kde4_libdir}/%{name}2/
%{_kde4_mandir}/man1/%{name}2.1.gz
%{_datadir}/applications/%{name}2.desktop
%{_bindir}/%{name}2
%{_datadir}/applnk/
%{_datadir}/mimelink/
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/*
%dir %{_datadir}/icons/hicolor/*/apps
%{_datadir}/icons/hicolor/*/apps/*%{name}.*
%{_libdir}/lib%{name}*.so.*
%{_libdir}/%{name}2/
%{_mandir}/man1/%{name}2.1.gz
%dir %{_datadir}/kst
%dir %{_datadir}/kst/locale
%{_datadir}/kst/locale/kst_common_*.qm
%files devel
%defattr(-,root,root)
%{_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
%{_libdir}/*.so
%{_libdir}/lib%{name}2app.a
%changelog