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
|
|
|
#
|
2011-01-10 14:03:31 +01:00
|
|
|
# Copyright (c) 2011 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/
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: kst
|
2011-10-19 13:52:09 +02:00
|
|
|
Version: 2.0.4
|
|
|
|
Release: 1
|
2011-12-06 18:22:06 +01:00
|
|
|
License: GPL-2.0+
|
2011-10-19 13:52:09 +02:00
|
|
|
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
|
|
|
|
Url: http://kst-plot.kde.org/
|
|
|
|
Group: Productivity/Graphics/Visualization/Graph
|
|
|
|
Source: %{name}-%{version}.tar.gz
|
|
|
|
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
|
2011-10-19 13:52:09 +02:00
|
|
|
BuildRequires: gsl-devel
|
|
|
|
BuildRequires: kde4-filesystem
|
|
|
|
BuildRequires: libcfitsio-devel
|
2010-12-14 11:26:02 +01:00
|
|
|
BuildRequires: libnetcdf-devel
|
2011-10-19 13:52:09 +02:00
|
|
|
BuildRequires: libqt4-devel
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2011-04-21 12:19:11 +02:00
|
|
|
%if 0%{?suse_version} > 1130
|
2011-01-10 14:03:25 +01:00
|
|
|
BuildRequires: getdata-devel
|
|
|
|
%endif
|
2011-04-21 12:19:11 +02:00
|
|
|
|
2007-01-16 00:20:47 +01:00
|
|
|
%description
|
|
|
|
Kst is a data plotting and viewing program. Some of the features
|
2011-10-19 13:52:09 +02:00
|
|
|
include:
|
|
|
|
|
|
|
|
- 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
|
|
|
|
|
|
|
|
- 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
|
|
|
%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
|
|
|
|
%setup -q
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%build
|
2011-10-19 13:52:09 +02:00
|
|
|
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"
|
|
|
|
%cmake_kde4 -d build -- $EXTRA_FLAGS $RPM_BUILD_DIR/%buildsubdir/cmake
|
2007-01-16 00:20:47 +01:00
|
|
|
|
|
|
|
%install
|
2011-10-19 13:52:09 +02:00
|
|
|
cd build
|
2011-04-21 12:19:11 +02:00
|
|
|
%make_install
|
2011-10-19 13:52:09 +02:00
|
|
|
cd ..
|
|
|
|
%suse_update_desktop_file %{name}2 Qt KDE Education Science Math
|
|
|
|
%fdupes %{buildroot}
|
|
|
|
%kde_post_install
|
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)
|
2011-10-19 13:52:09 +02:00
|
|
|
%{_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
|
2011-04-21 12:19:11 +02:00
|
|
|
|
2008-07-09 23:10:21 +02:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2011-10-19 13:52:09 +02:00
|
|
|
%{_kde4_libdir}/*.so
|
|
|
|
%{_kde4_libdir}/lib%{name}2app.a
|
2008-07-09 23:10:21 +02:00
|
|
|
|
2007-05-23 16:18:12 +02:00
|
|
|
%changelog
|