SHA256
1
0
forked from pool/kst
kst/kst.spec

188 lines
5.0 KiB
RPMSpec

#
# spec file for package kst (Version 1.8.0)
#
# Copyright (c) 2009 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 kdelibs3-devel libnetcdf-devel readline-devel
%if %suse_version > 1020
BuildRequires: fdupes
%endif
License: GPL v2 or later
Group: Productivity/Graphics/Visualization/Graph
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
Version: 1.8.0
Release: 1
Url: http://extragear.kde.org/apps/kst/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: kst-%version.tar.bz2
Requires: %{name}-lang = %{version}
Patch: fix-desktop-file.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>
%if %suse_version > 1020
%lang_package
%endif
%package devel
License: GPL v2 or later
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
Group: Productivity/Scientific/Math
Requires: kst = %{version}
Requires: kdelibs3-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 kst-%{version}
%patch
pushd kst
popd
. /etc/opt/kde3/common_options
update_admin --no-unsermake
%build
. /etc/opt/kde3/common_options
./configure $configkde --disable-final
make %{?jobs:-j %jobs}
%install
. /etc/opt/kde3/common_options
make DESTDIR=${RPM_BUILD_ROOT} install
%suse_update_desktop_file kst Qt KDE Education Science Math
kde_post_install
%if %suse_version > 1020
%fdupes $RPM_BUILD_ROOT/opt/kde3
%endif
%find_lang kst
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf ${RPM_BUILD_ROOT}
%if %suse_version > 1020
%files -f kst.lang lang
%files
%else
%files -f kst.lang
%endif
%defattr(-,root,root)
/opt/kde3/bin/d2asc
/opt/kde3/bin/kst
/opt/kde3/bin/kstcmd
/opt/kde3/%_lib/kde3/kst*
/opt/kde3/%_lib/kde3/plugins/designer/kstwidgets.*
/opt/kde3/%_lib/libkstwidgets.so.*
/opt/kde3/%_lib/libkstextdate.so.*
/opt/kde3/%_lib/libkstmath.so.*
/opt/kde3/%_lib/libkstapp.so.*
/opt/kde3/%_lib/libkst.so.*
/opt/kde3/%_lib/libkstwidgets.so
/opt/kde3/%_lib/libkstextdate.so
/opt/kde3/%_lib/libkstmath.so
/opt/kde3/%_lib/libkstapp.so
/opt/kde3/%_lib/libkst.so
/opt/kde3/share/applications/kde/kst.desktop
/opt/kde3/share/apps/kconf_update/kstautosave11.upd
/opt/kde3/share/apps/kconf_update/kstrcmisc11.upd
/opt/kde3/share/apps/kst
/opt/kde3/share/icons/*/*/*/addelogentry.*
/opt/kde3/share/icons/*/*/*/kst*
/opt/kde3/share/icons/*/*/*/launchelogbrowser.*
/opt/kde3/share/mimelnk/application/x-kst.desktop
/opt/kde3/share/services/kst
/opt/kde3/share/servicetypes/kst
/usr/share/man/man1/kst.1.gz
/opt/kde3/share/config/colors
%files devel
%defattr(-,root,root)
/opt/kde3/include/kst*
/opt/kde3/include/rwlock.h
/opt/kde3/%_lib/libkstwidgets.la
/opt/kde3/%_lib/libkstextdate.la
/opt/kde3/%_lib/libkstmath.la
/opt/kde3/%_lib/libkstapp.la
/opt/kde3/%_lib/libkst.la
%changelog