kst/kst.spec

199 lines
5.2 KiB
RPMSpec

#
# spec file for package kst (Version 1.3.1)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: kst
BuildRequires: gsl-devel kdelibs3-devel readline-devel
%if %suse_version > 1000
BuildRequires: netcdf
%endif
%if %suse_version > 1020
BuildRequires: fdupes
%endif
License: GNU General Public License (GPL)
Group: Productivity/Scientific/Math
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
Version: 1.3.1
Release: 69
URL: http://extragear.kde.org/apps/kst/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: %name-%version.tar.bz2
Patch: FIXME.diff
Requires: %{name}-lang = %{version}
%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
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
Group: Productivity/Scientific/Math
Requires: kst = %{version}
%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
%patch
. /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 %name Science Math
%if %suse_version > 1020
%fdupes $RPM_BUILD_ROOT
%endif
%find_lang %name
%find_lang kstplugineditor %name.lang
kde_post_install
%post
%run_ldconfig
%postun
%run_ldconfig
%clean
rm -rf ${RPM_BUILD_ROOT}
%if %suse_version > 1020
%files -f %name.lang lang
%files
%else
%files -f %name.lang
%endif
%defattr(-,root,root)
/opt/kde3/bin/d2asc
/opt/kde3/bin/kst
/opt/kde3/bin/kstcmd
/opt/kde3/include/kst*
/opt/kde3/include/rwlock.h
/opt/kde3/%_lib/kde3/kst*
/opt/kde3/%_lib/kde3/plugins/designer/kstwidgets.*
/opt/kde3/%_lib/libkst*
/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
%changelog
* Thu Jun 21 2007 - stbinner@suse.de
- fix invalid .desktop file
* Fri Jun 01 2007 - coolo@suse.de
- move kde_post_install
* Tue May 29 2007 - coolo@suse.de
- fix translations handling
* Wed May 23 2007 - stbinner@suse.de
- use %%fupes
- add missing ldconfig run calls
* Fri Oct 20 2006 - stbinner@suse.de
- update to version 1.3:1: numerous deadlock and crash fixes
* Wed Sep 20 2006 - stbinner@suse.de
- update to version 1.3.0: no change log digest provided
* Wed Apr 19 2006 - stbinner@suse.de
- don't use broken netcdf on distributions before 10.1
* Tue Mar 28 2006 - stbinner@suse.de
- update to version 1.2.1
* countless bugfixes
* Mon Feb 20 2006 - stbinner@suse.de
- cleanup BuildRequires: after gsl-devel dependency fix
* Wed Feb 15 2006 - stbinner@suse.de
- update to version 1.2
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sat Nov 12 2005 - dmueller@suse.de
- fix build
* Thu Oct 27 2005 - stbinner@suse.de
- update to version 1.1.1
* Mon Oct 10 2005 - stbinner@suse.de
- fix include hints for Qt 3.3.5
* Wed Oct 05 2005 - stbinner@suse.de
- fix some %%files entries for 64 bit
* Tue Oct 04 2005 - stbinner@suse.de
- initial package (version 1.1.0)