We've got some updates regarding OBS and GitHub/GitLab integration. Have a look and let us know what you think! 🧐

https://openbuildservice.org/2021/06/14/scm-integration-improvements/

File kst.spec of Package kst

#
# spec file for package texstudio
#
# Copyright (c) 2012 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/
#

Name:           kst
Version:        git
Release:        1
Summary:        Data Viewer

License:        GPL-3.0
Group:          Productivity/Scientific/Other
URL:            http://kst-plot.kde.org/
Source0:        %{name}-%{version}.orig.tar.gz 

%if 0%{?suse_version}
BuildRequires:  libqt4-devel
BuildRequires:  cmake
#BuildRequires:  libxslt
#BuildRequires:  docbook-xsl-stylesheets
%endif

%if 0%{?fedora} || 0%{?centos_version} || 0%{?mandriva_version}
BuildRequires:  gcc-c++
BuildRequires:  qt-devel
BuildRequires:  cmake
#BuildRequires:  libxslt
#BuildRequires:  docbook-style-xsl
%endif

%if 0%{?rhel_version}
BuildRequires:  gcc-c++
BuildRequires:  qt-devel
BuildRequires:  cmake
#BuildRequires:  libxslt
#BuildRequires:  docbook-style-xsl
%endif

%description
Kst is the fastest real-time large-dataset viewing and plotting tool available (you may be interested in some benchmarks) and has built-in data analysis functionality.
Kst is very user-friendly (both the community and the program itself!).

%prep
%setup -q

%build
cmake -Dkst_release=1 -Dkst_version_string=2.0.8 -Dkst_install_prefix=%{buildroot}/usr -Dkst_install_libdir=%{_lib} .

#xsltproc -o docbook/kst/tutorial/ /usr/share/xml/docbook/stylesheet/docbook-xsl/html/chunk.xsl docbook/kst/tutorial/tutorial.docbook


make %{?_smp_mflags}

%install
make INSTALL_ROOT=%{buildroot} install
 
%files
%defattr(-,root,root,-)
%dir %{_datadir}/icons/hicolor
%dir %{_datadir}/icons/hicolor/scalable
%dir %{_datadir}/icons/hicolor/32x32
%dir %{_datadir}/icons/hicolor/48x48
%dir %{_datadir}/icons/hicolor/64x64
%dir %{_datadir}/icons/hicolor/128x128
%dir %{_datadir}/icons/hicolor/scalable/apps
%dir %{_datadir}/icons/hicolor/32x32/apps
%dir %{_datadir}/icons/hicolor/48x48/apps
%dir %{_datadir}/icons/hicolor/64x64/apps
%dir %{_datadir}/icons/hicolor/128x128/apps
%dir %{_datadir}/mimelink
%dir %{_datadir}/mimelink/application
%dir %{_datadir}/applnk
%dir %{_datadir}/applnk/Graphics
%dir %{_libdir}/kst2
%dir %{_libdir}/kst2/plugins
%{_libdir}/libkst2core.so.2.0.8
%{_libdir}/libkst2core.so.2
%{_libdir}/libkst2core.so
%{_libdir}/libkst2math.so.2.0.8
%{_libdir}/libkst2math.so.2
%{_libdir}/libkst2math.so
%{_libdir}/libkst2widgets.so.2.0.8
%{_libdir}/libkst2widgets.so.2
%{_libdir}/libkst2widgets.so
%{_libdir}/libkst2app.a
%{_bindir}/kst2
%{_datadir}/man/man1/kst2.1.gz
%{_datadir}/applnk/Graphics/kst2.desktop
%{_datadir}/mimelink/application/x-kst2.desktop
%{_datadir}/applications/kst2.desktop
%{_datadir}/icons/hicolor/32x32/apps/kst.png
%{_datadir}/icons/hicolor/48x48/apps/kst.png
%{_datadir}/icons/hicolor/64x64/apps/kst.png
%{_datadir}/icons/hicolor/128x128/apps/kst.png
%{_datadir}/icons/hicolor/scalable/apps/kst.svg
%{_datadir}/icons/hicolor/32x32/apps/application-x-kst.png
%{_datadir}/icons/hicolor/48x48/apps/application-x-kst.png
%{_datadir}/icons/hicolor/64x64/apps/application-x-kst.png
%{_datadir}/icons/hicolor/128x128/apps/application-x-kst.png
%{_datadir}/icons/hicolor/scalable/apps/application-x-kst.svg
%{_libdir}/kst2/plugins/libkst2_datasource_ascii.so
%{_libdir}/kst2/plugins/libkst2_datasource_qimagesource.so
%{_libdir}/kst2/plugins/libkst2_datasource_sampledatasource.so
%{_libdir}/kst2/plugins/libkst2_datasource_sourcelist.so
%{_libdir}/kst2/plugins/libkst2_dataobject_bin.so
%{_libdir}/kst2/plugins/libkst2_dataobject_chop.so
%{_libdir}/kst2/plugins/libkst2_dataobject_linefit.so
%{_libdir}/kst2/plugins/libkst2_dataobject_lockin.so
%{_libdir}/kst2/plugins/libkst2_dataobject_phase.so
%{_libdir}/kst2/plugins/libkst2_dataobject_shift.so
%{_libdir}/kst2/plugins/libkst2_dataobject_statistics.so
%{_libdir}/kst2/plugins/libkst2_dataobject_syncbin.so
%{_libdir}/kst2/plugins/libkst2_dataobject_crossspectrum.so
%{_libdir}/kst2/plugins/libkst2_dataobject_effectivebandwidth.so
%{_libdir}/kst2/plugins/libkst2_dataobject_genericfilter.so
%{_libdir}/kst2/plugins/libkst2_dataobject_activitylevel.so
%{_libdir}/kst2/plugins/libkst2_filters_cumulativesum.so
%{_libdir}/kst2/plugins/libkst2_filters_cumulativeaverage.so
%{_libdir}/kst2/plugins/libkst2_filters_despike.so
%{_libdir}/kst2/plugins/libkst2_filters_unwind.so
%{_libdir}/kst2/plugins/libkst2_filters_differentiation.so

%doc COPYING AUTHORS INSTALL README

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%changelog
openSUSE Build Service is sponsored by