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
|
|
|
#
|
2015-08-24 11:47:41 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
2007-01-16 00:20:47 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
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
|
2012-03-26 11:02:42 +02:00
|
|
|
License: GPL-2.0+
|
2011-10-19 13:52:09 +02:00
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
2012-03-26 11:02:42 +02:00
|
|
|
Url: http://kst-plot.kde.org/
|
2013-07-21 08:09:28 +02:00
|
|
|
Source: Kst-%{version}.tar.gz
|
2011-10-19 13:52:09 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
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
|
2014-07-31 21:50:14 +02:00
|
|
|
BuildRequires: getdata-devel
|
2011-10-19 13:52:09 +02:00
|
|
|
BuildRequires: gsl-devel
|
|
|
|
BuildRequires: libcfitsio-devel
|
2014-07-31 21:50:14 +02:00
|
|
|
BuildRequires: libmatio-devel
|
2012-07-13 11:31:43 +02:00
|
|
|
BuildRequires: libnetcdf_c++-devel
|
2011-10-19 13:52:09 +02:00
|
|
|
BuildRequires: libqt4-devel
|
2014-07-31 21:50:14 +02:00
|
|
|
BuildRequires: netcdf-devel
|
2015-08-24 11:47:41 +02:00
|
|
|
BuildRequires: libnetcdf
|
2011-10-19 13:52:09 +02:00
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2015-08-24 11:47:41 +02:00
|
|
|
Requires: libnetcdf
|
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}
|
2011-04-21 12:19:11 +02:00
|
|
|
Requires: libqt4-devel
|
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
|
2014-07-31 21:50:14 +02:00
|
|
|
%setup -q -n=Kst-2.0.8
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%build
|
2014-07-31 21:50:14 +02:00
|
|
|
EXTRA_FLAGS="-Dkst_install_prefix=/usr \
|
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 \
|
|
|
|
-Dkst_python=0"
|
|
|
|
|
|
|
|
cmake $EXTRA_FLAGS
|
2012-03-26 11:02:42 +02:00
|
|
|
make %{?_smp_mflags}
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%install
|
2011-04-21 12:19:11 +02:00
|
|
|
%make_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
|
|
|
|
|
|
|
%clean
|
2011-10-19 13:52:09 +02:00
|
|
|
rm -rf %{buildroot}
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2014-07-31 21:50:14 +02:00
|
|
|
%{_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
|
2011-04-21 12:19:11 +02:00
|
|
|
|
2008-07-09 23:10:21 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
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
|