Name: kst Version: 2.0.8.20210516git Release: 1mamba Summary: An application used to display scientific data Group: Graphical Desktop/Applications/Scientific Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://kst-plot.kde.org/ Source: https://invent.kde.org/graphics/kst-plot.git/master/kst-plot-%{version}.tar.bz2 Patch0: kst-2.0.8.20200427git-libhdf5-1.10.5.patch Patch1: kst-2.0.8.20210516git-libhdf5-1.12.0.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libcfitsio-devel BuildRequires: libgcc BuildRequires: libgsl-devel BuildRequires: libhdf5-devel BuildRequires: libmatio-devel BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel BuildRequires: libtiff-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: libmatio-devel >= 1.5.21 Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description An application used to display scientific data. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q -n kst-plot-%{version} %patch0 -p1 %patch1 -p1 %build %cmake -d build \ -Dkst_qt4=OFF \ -Dkst_qt5=ON \ -Dkst_install_prefix=%{_prefix} %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files %defattr(-,root,root) %{_bindir}/kst2 %{_datadir}/applications/kst2.desktop %{_datadir}/icons/hicolor/*/apps/kst.png %{_datadir}/icons/hicolor/*/mimetypes/application-x-kst.png %{_datadir}/icons/hicolor/scalable/apps/kst.svg %{_datadir}/icons/hicolor/scalable/mimetypes/application-x-kst.svg %{_datadir}/mime/packages/x-kst.xml %{_mandir}/man1/kst2.1* %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libkst2core.so.* %{_libdir}/libkst2math.so.* %{_libdir}/libkst2widgets.so.* %dir %{_libdir}/kst2 %dir %{_libdir}/kst2/plugins %{_libdir}/kst2/plugins/libkst2_*.so %doc AUTHORS COPYING %files -n lib%{name}-devel %defattr(-,root,root) %{_libdir}/libkst2app.a %{_libdir}/libkst2core.so %{_libdir}/libkst2math.so %{_libdir}/libkst2widgets.so %doc ChangeLog NEWS README README.kstScript README.md %changelog * Sun May 16 2021 Silvan Calarco 2.0.8.20210516git-1mamba - update to 2.0.8.20210516git * Mon Apr 27 2020 Silvan Calarco 2.0.8.20200427git-1mamba - update to 2.0.8.20200427git * Thu Dec 07 2017 Silvan Calarco 2.0.8.20171207git-1mamba - package created using the webbuild interface