# # spec file for package kst (Version 2.0.2) # # Copyright (c) 2011 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 # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: kst BuildRequires: gsl-devel readline-devel BuildRequires: cmake BuildRequires: libcfitsio-devel libqt4-devel update-desktop-files BuildRequires: Mesa-devel BuildRequires: fdupes BuildRequires: libnetcdf-devel %if 0%{?suse_version} > 1130 BuildRequires: getdata-devel %endif License: GPLv2+ Group: Productivity/Graphics/Visualization/Graph Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality Version: 2.0.3 Release: 1 Url: http://kst-plot.kde.org/ BuildRoot: %{_tmppath}/%{name}-%{version}-build Source0: %name-%{version}.tar.bz2 %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 Authors: -------- C. Barth Netterfield George Staikos Andrew Walker Rick Chern %package devel License: GPLv2+ Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality Group: Productivity/Scientific/Math Requires: kst = %{version} Requires: libqt4-devel %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 Authors: -------- C. Barth Netterfield George Staikos Andrew Walker Rick Chern Eli Filder Mike Fenton Matthew D Truch Nicolas Brisset Ted Kisner The University of British Columbia The University of Toronto Sumus Technology Limited Peter Kümmel Zongyi Zang %prep %setup -q -n kst-%{version} %build cmake -Dkst_rpath=0 -Dkst_install_prefix=/usr -Dkst_install_libdir=%{_lib} ./cmake %install %make_install install -D -m 0644 src/images/kst.png $RPM_BUILD_ROOT/usr/share/icons/hicolor/32x32/apps/kst.png %suse_update_desktop_file kst Qt KDE Education Science Math %fdupes $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf ${RPM_BUILD_ROOT} %files %defattr(-,root,root) %dir %{_libdir}/kst2 %{_bindir}/kst2 %{_libdir}/libkst*.so.* %{_libdir}/kst2/* /usr/share/icons/hicolor/32x32/apps/kst.png %dir /usr/share/services/kst /usr/share/services/kst/* /usr/share/applnk/Graphics/* %dir /usr/share/apps/kst /usr/share/apps/kst/* /usr/share/mimelink/application/* /usr/share/applications/* %dir /usr/share/config %dir /usr/share/config/colors /usr/share/config/colors/IDL* /usr/share/man/man1/kst2.1.gz %dir /usr/share/servicetypes %dir /usr/share/servicetypes/kst /usr/share/servicetypes/kst/* %dir /usr/share/applnk %dir /usr/share/applnk/Graphics %dir /usr/share/apps %dir /usr/share/icons/hicolor %dir /usr/share/icons/hicolor/32x32 %dir /usr/share/icons/hicolor/32x32/apps %dir /usr/share/mimelink %dir /usr/share/mimelink/application %dir /usr/share/services %files devel %defattr(-,root,root) %{_libdir}/*.so %{_libdir}/libkst2app.a %changelog