2024-01-06 03:01:08 +01:00
|
|
|
Name: kst
|
2024-01-06 03:01:10 +01:00
|
|
|
Version: 2.0.8.20210516git
|
2024-01-06 03:01:08 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: An application used to display scientific data
|
|
|
|
Group: Graphical Desktop/Applications/Scientific
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://kst-plot.kde.org/
|
2024-01-06 03:01:10 +01:00
|
|
|
Source: https://invent.kde.org/graphics/kst-plot.git/master/kst-plot-%{version}.tar.bz2
|
2024-01-06 03:01:08 +01:00
|
|
|
Patch0: kst-2.0.8.20200427git-libhdf5-1.10.5.patch
|
2024-01-06 03:01:10 +01:00
|
|
|
Patch1: kst-2.0.8.20210516git-libhdf5-1.12.0.patch
|
2024-01-06 03:01:08 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libcfitsio-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libgsl-devel
|
|
|
|
BuildRequires: libhdf5-devel
|
|
|
|
BuildRequires: libmatio-devel
|
2024-01-06 03:01:08 +01:00
|
|
|
BuildRequires: libqt5-devel
|
2024-01-06 03:01:08 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
BuildRequires: libtiff-devel
|
|
|
|
BuildRequires: libz-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
2024-01-06 03:01:10 +01:00
|
|
|
BuildRequires: libmatio-devel >= 1.5.21
|
2024-01-06 03:01:08 +01:00
|
|
|
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
|
2024-01-06 03:01:10 +01:00
|
|
|
%setup -q -n kst-plot-%{version}
|
2024-01-06 03:01:08 +01:00
|
|
|
%patch0 -p1
|
2024-01-06 03:01:10 +01:00
|
|
|
%patch1 -p1
|
2024-01-06 03:01:08 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
2024-01-06 03:01:08 +01:00
|
|
|
-Dkst_qt4=OFF \
|
|
|
|
-Dkst_qt5=ON \
|
2024-01-06 03:01:08 +01:00
|
|
|
-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
|
2024-01-06 03:01:10 +01:00
|
|
|
* Sun May 16 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.8.20210516git-1mamba
|
|
|
|
- update to 2.0.8.20210516git
|
|
|
|
|
2024-01-06 03:01:08 +01:00
|
|
|
* Mon Apr 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.8.20200427git-1mamba
|
|
|
|
- update to 2.0.8.20200427git
|
|
|
|
|
2024-01-06 03:01:08 +01:00
|
|
|
* Thu Dec 07 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.8.20171207git-1mamba
|
|
|
|
- package created using the webbuild interface
|