2007-01-16 00:20:47 +01:00
|
|
|
#
|
2010-12-14 11:26:02 +01:00
|
|
|
# spec file for package kst (Version 2.0.2)
|
2007-01-16 00:20:47 +01:00
|
|
|
#
|
2011-01-10 14:03:31 +01:00
|
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2008-03-13 19:03:06 +01:00
|
|
|
|
2007-01-16 00:20:47 +01:00
|
|
|
Name: kst
|
2009-08-10 18:15:37 +02:00
|
|
|
BuildRequires: gsl-devel kdebase4-workspace-devel libkde4-devel readline-devel
|
2010-09-03 16:53:36 +02:00
|
|
|
BuildRequires: libcfitsio-devel libqt4-devel update-desktop-files
|
2007-05-23 16:18:12 +02:00
|
|
|
BuildRequires: fdupes
|
2010-12-14 11:26:02 +01:00
|
|
|
BuildRequires: libnetcdf-devel
|
2011-01-10 14:03:25 +01:00
|
|
|
%if %suse_version > 1130
|
|
|
|
BuildRequires: getdata-devel
|
|
|
|
%endif
|
2010-09-03 16:53:36 +02:00
|
|
|
License: GPLv2+
|
2007-08-05 11:41:20 +02:00
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
2007-01-16 00:20:47 +01:00
|
|
|
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
|
2010-12-14 11:25:49 +01:00
|
|
|
Version: 2.0.2
|
2011-01-10 14:03:31 +01:00
|
|
|
Release: 2
|
2007-12-06 01:02:58 +01:00
|
|
|
Url: http://extragear.kde.org/apps/kst/
|
2007-01-16 00:20:47 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-12-14 11:25:49 +01:00
|
|
|
Source0: %name-%{version}.tar.bz2
|
2009-08-10 18:15:37 +02:00
|
|
|
Patch: fix-desktop.diff
|
2010-12-14 11:26:02 +01:00
|
|
|
Patch1: fixbuild_with_libcfitsio.diff
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Kst is a data plotting and viewing program. Some of the features
|
|
|
|
include: - Robust plotting of live "streaming" data
|
|
|
|
|
|
|
|
- Powerful keyboard and mouse plot manipulation
|
|
|
|
|
|
|
|
- Powerful plug-in and extension support
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
- 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
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
C. Barth Netterfield <kst@omega.astro.utoronto.ca>
|
|
|
|
George Staikos <staikos@kde.org>
|
|
|
|
Andrew Walker <arwalker@sumusltd.com>
|
|
|
|
Rick Chern <rchern@interchange.ubc.ca>
|
|
|
|
|
|
|
|
%package devel
|
2010-09-03 16:53:36 +02:00
|
|
|
License: GPLv2+
|
2007-05-30 01:14:46 +02:00
|
|
|
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
|
|
|
|
Group: Productivity/Scientific/Math
|
|
|
|
Requires: kst = %{version}
|
2009-08-10 18:15:37 +02:00
|
|
|
Requires: libkde4-devel
|
2007-05-30 01:14:46 +02:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Kst is a data plotting and viewing program. Some of the features
|
|
|
|
include: - Robust plotting of live "streaming" data
|
|
|
|
|
|
|
|
- Powerful keyboard and mouse plot manipulation
|
|
|
|
|
|
|
|
- Powerful plug-in and extension support
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
- Monitoring of events and notification support
|
|
|
|
|
|
|
|
- Built-in filtering and curve fitting capabilities
|
|
|
|
|
|
|
|
- Convenient command line interface
|
|
|
|
|
|
|
|
- Powerful graphical user interface
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-16 00:20:47 +01:00
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
C. Barth Netterfield <kst@omega.astro.utoronto.ca>
|
|
|
|
George Staikos <staikos@kde.org>
|
|
|
|
Andrew Walker <arwalker@sumusltd.com>
|
|
|
|
Rick Chern <rchern@interchange.ubc.ca>
|
|
|
|
|
|
|
|
%prep
|
2010-12-14 11:25:49 +01:00
|
|
|
%setup -q -n %name-%{version}
|
2007-06-21 22:38:25 +02:00
|
|
|
%patch
|
2010-12-14 11:25:49 +01:00
|
|
|
%patch1
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%build
|
2010-09-03 16:53:36 +02:00
|
|
|
%ifarch x86_64
|
|
|
|
export INSTALL_LIBDIR=lib64
|
|
|
|
%endif
|
2009-08-10 18:15:37 +02:00
|
|
|
qmake -r ./kst.pro
|
|
|
|
make -j3
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%install
|
2009-08-10 18:15:37 +02:00
|
|
|
make INSTALL_ROOT=${RPM_BUILD_ROOT} install
|
2009-07-13 21:59:51 +02:00
|
|
|
%suse_update_desktop_file kst Qt KDE Education Science Math
|
2009-08-10 18:15:37 +02:00
|
|
|
%kde_post_install
|
|
|
|
%fdupes $RPM_BUILD_ROOT
|
2007-05-23 16:18:12 +02:00
|
|
|
|
2008-03-13 19:03:06 +01:00
|
|
|
%post -p /sbin/ldconfig
|
2007-05-23 16:18:12 +02:00
|
|
|
|
2008-03-13 19:03:06 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2009-08-10 18:15:37 +02:00
|
|
|
%dir %{_libdir}/kst
|
2010-12-14 11:25:49 +01:00
|
|
|
%{_bindir}/kst2
|
|
|
|
%{_bindir}/dirfile_maker_new
|
2010-09-03 16:53:36 +02:00
|
|
|
%{_libdir}/libkst2app.so.*
|
|
|
|
%{_libdir}/libkst2math.so.*
|
|
|
|
%{_libdir}/libkst2lib.so.*
|
|
|
|
%{_libdir}/libkst2widgets.so.*
|
2009-08-10 18:15:37 +02:00
|
|
|
%{_libdir}/kst/*
|
2007-01-16 00:20:47 +01:00
|
|
|
|
2008-07-09 23:10:21 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2009-08-10 18:15:37 +02:00
|
|
|
%{_libdir}/*.so
|
2008-07-09 23:10:21 +02:00
|
|
|
|
2007-05-23 16:18:12 +02:00
|
|
|
%changelog
|