SHA256
1
0
forked from pool/kst
kst/kst.spec
Stephan Kulow 47c9133c09 Accepting request 121711 from KDE:Distro:Factory
- Update to 2.0.5
  * Data-fixed annotation objects (e.g. text and arrows which
    scroll along with the curves)
  * Support for Matlab's .mat file format for strigns, matrices, 
    vectors and scalars
  * Beta version of python scripting (on Linux only for now, 
    depending on NumPy 1.6 and SciPy and requiring .py and .pyc
    files installed in the right place). See documentation at 
    http://hen.astro.utoronto.ca/pyKst/ and don't hesitate to ask 
    for help on the mailing list as this feature is still in 
    beta stage
  * Drag & Drop support: simply drop a .kst file onto Kst and it 
    will open, if you drop any data file it will open in the data
    wizard
  * Improved printing to vector formats (printer, PDF, SVG)
  * Optional antialiasing (may be slow on some systems)
  * A number of bugs and crashes fixed in various areas, like 
    shared axis boxes. See detailed changelog at 
    http://kst-plot.kde.org/files/Log_messages_2.0.4_to_2.0.5.txt
    for more information (forwarded request 121704 from christiantrippe)

OBS-URL: https://build.opensuse.org/request/show/121711
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kst?expand=0&rev=33
2012-05-22 06:16:10 +00:00

122 lines
3.3 KiB
RPMSpec

#
# spec file for package kst
#
# Copyright (c) 2012 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
Version: 2.0.5
Release: 0
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
License: GPL-2.0+
Group: Productivity/Graphics/Visualization/Graph
Url: http://kst-plot.kde.org/
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: Mesa-devel
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gsl-devel
BuildRequires: kde4-filesystem
BuildRequires: libcfitsio-devel
%if 0%{?suse_version} >= 1220
BuildRequires: netcdf-devel
%else
BuildRequires: libnetcdf-devel
%endif
BuildRequires: getdata-devel
BuildRequires: libqt4-devel
BuildRequires: readline-devel
BuildRequires: update-desktop-files
%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
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/KDE
Requires: %{name} = %{version}
Requires: libqt4-devel
%description devel
Development libraries and headers needed to build software
making use of %{name}
%prep
%setup -q
%build
EXTRA_FLAGS="-Dkst_install_prefix=%{_kde_prefix} \
-Dkst_rpath=0 \
-Dkst_install_libdir=%{_lib} \
-Dkst_install_plugin_desktop_file_path=%{_kde4_servicesdir}/%{name}
-Dkst_release=1"
%cmake_kde4 -d build -- $EXTRA_FLAGS $RPM_BUILD_DIR/%buildsubdir/cmake
make %{?_smp_mflags}
%install
cd build
%make_install
cd ..
%suse_update_desktop_file %{name}2 Qt KDE Education Science Math
%fdupes %{buildroot}
%kde_post_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_kde4_datadir}/applications/%{name}2.desktop
%{_kde4_bindir}/%{name}2
%{_kde4_datadir}/applnk/
%{_kde4_datadir}/mimelink/
%{_kde4_iconsdir}/hicolor/*/apps/*%{name}.*
%{_kde4_libdir}/lib%{name}*.so.*
%{_kde4_libdir}/%{name}2/
%{_kde4_mandir}/man1/%{name}2.1.gz
%files devel
%defattr(-,root,root)
%{_kde4_libdir}/*.so
%{_kde4_libdir}/lib%{name}2app.a
%changelog