File kst.spec of Package kst

#
# spec file for package kst (Version 1.7.0)
#
# Copyright (c) 2008 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 readline-devel
BuildRequires:  netcdf
%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.7.0
Release:        1
Url:            http://extragear.kde.org/apps/kst/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Source0:        %name-%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
%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 %name Qt KDE Education Science Math
%if %suse_version > 1020
%fdupes $RPM_BUILD_ROOT/opt/kde3
%endif
%find_lang %name
kde_post_install

%post -p /sbin/ldconfig

%postun -p /sbin/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/%_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
* Wed Oct 22 2008 dmueller@suse.de
- update to 1.7.0:
  * Fast real-time display and manipulation of streaming data
  * Quick zooming and scrolling via mouse and keyboard
  * Extensible via plugins
  * Built-in high-speed equation interpreter
  * Multiple tabs or windows
  * Graphical plot layout manager
  * Javascript scripting
  * Drag and drop
  * Cut and paste
  * Native power spectrum algorithm and histograms
  * Image and matrix support, including waterfall plots
  * Support for the most popular data formats including:
  o ASCII, dirfile, CDF, netCDF, piolib, FITS, HEALPix, qimage
  o Plugin design allows additional formats
  * Time input
  * Built-in ELOG functionality
  * Command-line and RPC control mechanisms
  * Printing, including to images, postscript, and PDF
* Mon Jul 07 2008 dmueller@suse.de
- fix build
- fix devel package requires
* Thu Apr 24 2008 stbinner@suse.de
- update to 1.6.0: no changelog provided
* Fri Mar 14 2008 dmueller@suse.de
- fixed specfile
* Thu Mar 13 2008 dmueller@suse.de
- update to 1.5.0:
  * Fast real-time display and manipulation of streaming data
  * Quick zooming and scrolling via mouse and keyboard
  * Extensible via plugins
  * Built-in high-speed equation interpreter
  * Multiple tabs or windows
  * Graphical plot layout manager
  * Javascript scripting
  * Drag and drop
  * Cut and paste
  * Native power spectrum algorithm and histograms
  * Image and matrix support, including waterfall plots
  * Support for the most popular data formats including:
  o ASCII, dirfile, CDF, netCDF, piolib, FITS, HEALPix, qimage
  o Plugin design allows additional formats
  * Time input
  * Built-in ELOG functionality
  * Command-line and RPC control mechanisms
  * Printing, including to images, postscript, and PDF
- licensing fixes (bnc#369453)
* Wed Nov 28 2007 dmueller@suse.de
- fix build against glibc 2.7
* Sat Aug 04 2007 stbinner@suse.de
- update to version 1.4: numerous bugfixes, see 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
* Thu Feb 16 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
* Tue Oct 11 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)
openSUSE Build Service is sponsored by