SHA256
1
0
forked from pool/kst
kst/kst.spec
2011-01-10 13:03:25 +00:00

150 lines
3.9 KiB
RPMSpec

#
# spec file for package kst (Version 2.0.2)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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/
#
# norootforbuild
Name: kst
BuildRequires: gsl-devel kdebase4-workspace-devel libkde4-devel readline-devel
BuildRequires: libcfitsio-devel libqt4-devel update-desktop-files
BuildRequires: fdupes
BuildRequires: libnetcdf-devel
%if %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.2
Release: 1
Url: http://extragear.kde.org/apps/kst/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%{version}.tar.bz2
Patch: fix-desktop.diff
Patch1: fixbuild_with_libcfitsio.diff
%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 <kst@omega.astro.utoronto.ca>
George Staikos <staikos@kde.org>
Andrew Walker <arwalker@sumusltd.com>
Rick Chern <rchern@interchange.ubc.ca>
%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: libkde4-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 <kst@omega.astro.utoronto.ca>
George Staikos <staikos@kde.org>
Andrew Walker <arwalker@sumusltd.com>
Rick Chern <rchern@interchange.ubc.ca>
%prep
%setup -q -n %name-%{version}
%patch
%patch1
%build
%ifarch x86_64
export INSTALL_LIBDIR=lib64
%endif
qmake -r ./kst.pro
make -j3
%install
make INSTALL_ROOT=${RPM_BUILD_ROOT} install
%suse_update_desktop_file kst Qt KDE Education Science Math
%kde_post_install
%fdupes $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root)
%dir %{_libdir}/kst
%{_bindir}/kst2
%{_bindir}/dirfile_maker_new
%{_libdir}/libkst2app.so.*
%{_libdir}/libkst2math.so.*
%{_libdir}/libkst2lib.so.*
%{_libdir}/libkst2widgets.so.*
%{_libdir}/kst/*
%files devel
%defattr(-,root,root)
%{_libdir}/*.so
%changelog