2007-01-16 00:20:47 +01:00
|
|
|
#
|
2011-04-21 12:19:27 +02:00
|
|
|
# spec file for package kst
|
2007-01-16 00:20:47 +01:00
|
|
|
#
|
2023-01-06 17:33:34 +01:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2011-04-21 12:19:11 +02:00
|
|
|
# Copyright (c) 2011 Christian Trippe ctrippe@opensuse.org
|
2007-01-16 00:20:47 +01:00
|
|
|
#
|
2008-10-24 15:15:03 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-09-07 09:17:31 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2007-01-16 00:20:47 +01:00
|
|
|
#
|
|
|
|
|
2012-03-26 11:02:42 +02:00
|
|
|
|
2007-01-16 00:20:47 +01:00
|
|
|
Name: kst
|
2014-07-31 21:50:14 +02:00
|
|
|
Version: 2.0.8
|
2012-03-26 11:02:42 +02:00
|
|
|
Release: 0
|
2011-10-19 13:52:09 +02:00
|
|
|
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
|
2018-06-03 19:47:14 +02:00
|
|
|
License: GPL-2.0-or-later
|
2011-10-19 13:52:09 +02:00
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
2019-09-07 09:17:31 +02:00
|
|
|
URL: https://kst-plot.kde.org/
|
2013-07-21 08:09:28 +02:00
|
|
|
Source: Kst-%{version}.tar.gz
|
2016-08-05 10:54:26 +02:00
|
|
|
# PATCH-FIX-UPSTREAM gsl2-support.patch -- fixes build with GSL-2.0
|
2018-06-03 19:47:14 +02:00
|
|
|
Patch0: gsl2-support.patch
|
|
|
|
# PATCH-FIX-UPSTREAM -- Fix-build-with-Qt-511.patch -- Fixes build with Qt 5.11
|
|
|
|
Patch1: Fix-build-with-Qt-511.patch
|
2021-05-12 07:54:16 +02:00
|
|
|
# PATCH-FIX-UPSTREAM
|
|
|
|
Patch2: 0001-Fix-build-with-CMake-3.20.patch
|
2011-04-21 12:19:11 +02:00
|
|
|
BuildRequires: Mesa-devel
|
2011-10-19 13:52:09 +02:00
|
|
|
BuildRequires: cmake
|
2007-05-23 16:18:12 +02:00
|
|
|
BuildRequires: fdupes
|
2011-10-19 13:52:09 +02:00
|
|
|
BuildRequires: gsl-devel
|
2014-07-31 21:50:14 +02:00
|
|
|
BuildRequires: libmatio-devel
|
2012-07-13 11:31:43 +02:00
|
|
|
BuildRequires: libnetcdf_c++-devel
|
2019-09-07 09:17:31 +02:00
|
|
|
BuildRequires: libqt5-linguist
|
2014-07-31 21:50:14 +02:00
|
|
|
BuildRequires: netcdf-devel
|
2011-10-19 13:52:09 +02:00
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2019-09-07 09:17:31 +02:00
|
|
|
BuildRequires: cmake(Qt5Concurrent)
|
|
|
|
BuildRequires: cmake(Qt5Core)
|
|
|
|
BuildRequires: cmake(Qt5Network)
|
|
|
|
BuildRequires: cmake(Qt5PrintSupport)
|
|
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
BuildRequires: cmake(Qt5Xml)
|
2022-12-15 13:48:02 +01:00
|
|
|
BuildRequires: pkgconfig(cfitsio)
|
2014-07-31 21:50:14 +02:00
|
|
|
Obsoletes: python-kst < %{version}
|
2011-04-21 12:19:11 +02:00
|
|
|
|
2007-01-16 00:20:47 +01:00
|
|
|
%description
|
2013-03-17 10:06:57 +01:00
|
|
|
Kst is a data plotting and viewing program. Some of the features include:
|
2011-10-19 13:52:09 +02:00
|
|
|
|
|
|
|
- Robust plotting of live "streaming" data
|
2007-01-16 00:20:47 +01:00
|
|
|
- Powerful keyboard and mouse plot manipulation
|
|
|
|
- Powerful plug-in and extension support
|
2013-03-17 10:06:57 +01:00
|
|
|
- Large selection of built-in plotting and data manipulation functions,
|
|
|
|
such as histograms, equations, and power spectra
|
|
|
|
- Color mapping and contour mapping capabilities for three-dimensional data
|
2007-01-16 00:20:47 +01:00
|
|
|
- Monitoring of events and notification support
|
|
|
|
- Built-in filtering and curve fitting capabilities
|
|
|
|
- Convenient command line interface
|
|
|
|
- Powerful graphical user interface
|
|
|
|
|
2007-05-30 01:14:46 +02:00
|
|
|
%package devel
|
2011-10-19 13:52:09 +02:00
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries/KDE
|
|
|
|
Requires: %{name} = %{version}
|
2019-09-07 09:17:31 +02:00
|
|
|
Requires: cmake(Qt5Concurrent)
|
|
|
|
Requires: cmake(Qt5Core)
|
|
|
|
Requires: cmake(Qt5Network)
|
|
|
|
Requires: cmake(Qt5PrintSupport)
|
|
|
|
Requires: cmake(Qt5Widgets)
|
|
|
|
Requires: cmake(Qt5Xml)
|
2007-05-30 01:14:46 +02:00
|
|
|
|
|
|
|
%description devel
|
2011-10-19 13:52:09 +02:00
|
|
|
Development libraries and headers needed to build software
|
|
|
|
making use of %{name}
|
2007-05-30 01:14:46 +02:00
|
|
|
|
2011-10-19 13:52:09 +02:00
|
|
|
%prep
|
2018-06-03 20:52:26 +02:00
|
|
|
%autosetup -p1 -n Kst-2.0.8
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%build
|
2019-09-07 09:17:31 +02:00
|
|
|
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
|
2018-06-03 19:47:14 +02:00
|
|
|
EXTRA_FLAGS="-Dkst_install_prefix=%{_prefix} \
|
2012-08-04 09:19:23 +02:00
|
|
|
-Dkst_rpath=0 \
|
|
|
|
-Dkst_install_libdir=%{_lib} \
|
|
|
|
-Dkst_release=1 \
|
2014-07-31 21:50:14 +02:00
|
|
|
-Dkst_dbgsym=1 \
|
2018-02-23 06:49:32 +01:00
|
|
|
-Dkst_python=0 \
|
|
|
|
-Dkst_qt5=1"
|
2014-07-31 21:50:14 +02:00
|
|
|
|
2019-02-15 14:45:31 +01:00
|
|
|
%cmake $EXTRA_FLAGS
|
2021-05-12 07:54:16 +02:00
|
|
|
%cmake_build
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%install
|
2019-02-15 14:45:31 +01:00
|
|
|
%cmake_install
|
2013-03-17 10:06:57 +01:00
|
|
|
%suse_update_desktop_file -r %{name}2 Qt KDE Science Math
|
2011-10-19 13:52:09 +02:00
|
|
|
%fdupes %{buildroot}
|
2007-05-23 16:18:12 +02:00
|
|
|
|
2011-10-19 13:52:09 +02:00
|
|
|
%post -p /sbin/ldconfig
|
2008-03-13 19:03:06 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%files
|
2018-06-03 19:47:14 +02:00
|
|
|
%license COPYING*
|
|
|
|
%doc AUTHORS NEWS README
|
2014-07-31 21:50:14 +02:00
|
|
|
%dir %{_datadir}/icons/hicolor
|
|
|
|
%dir %{_datadir}/icons/hicolor/*
|
|
|
|
%dir %{_datadir}/icons/hicolor/*/apps
|
|
|
|
%dir %{_datadir}/kst
|
|
|
|
%dir %{_datadir}/kst/locale
|
2018-06-03 19:47:14 +02:00
|
|
|
%{_bindir}/%{name}2
|
|
|
|
%{_datadir}/applications/%{name}2.desktop
|
|
|
|
%{_datadir}/applnk/
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*%{name}.*
|
2014-07-31 21:50:14 +02:00
|
|
|
%{_datadir}/kst/locale/kst_common_*.qm
|
2018-06-03 19:47:14 +02:00
|
|
|
%{_datadir}/mimelink/
|
|
|
|
%{_libdir}/%{name}2/
|
|
|
|
%{_libdir}/lib%{name}*.so.*
|
|
|
|
%{_mandir}/man1/%{name}2.1%{?ext_man}
|
2011-04-21 12:19:11 +02:00
|
|
|
|
2008-07-09 23:10:21 +02:00
|
|
|
%files devel
|
2018-06-03 19:47:14 +02:00
|
|
|
%license COPYING*
|
2014-07-31 21:50:14 +02:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/lib%{name}2app.a
|
2012-08-04 09:19:23 +02:00
|
|
|
|
2007-05-23 16:18:12 +02:00
|
|
|
%changelog
|