Spec cleanup
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/kst?expand=0&rev=33
This commit is contained in:
parent
a5960a5d9c
commit
4e1bcd276c
28
kst.spec
28
kst.spec
@ -22,7 +22,6 @@ Version: 2.1.0
|
||||
Release: 0
|
||||
Summary: Real-Time Data Viewing and Plotting Tool with Basic Data Analysis Functionality
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Graphics/Visualization/Graph
|
||||
URL: https://kst-plot.kde.org/
|
||||
Source: kst-plot-%{version}.tar.zst
|
||||
# PATCH-FIX-OPENSUSE
|
||||
@ -36,6 +35,7 @@ BuildRequires: libmatio-devel
|
||||
BuildRequires: libnetcdf_c++-devel
|
||||
BuildRequires: libqt5-linguist
|
||||
BuildRequires: netcdf-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: cmake(Qt5Concurrent)
|
||||
@ -63,9 +63,8 @@ Kst is a data plotting and viewing program. Some of the features include:
|
||||
- Powerful graphical user interface
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Group: Development/Libraries/KDE
|
||||
Requires: %{name} = %{version}
|
||||
Summary: Development files for kst
|
||||
Requires: kst = %{version}
|
||||
Requires: cmake(Qt5Concurrent)
|
||||
Requires: cmake(Qt5Core)
|
||||
Requires: cmake(Qt5Network)
|
||||
@ -75,7 +74,7 @@ Requires: cmake(Qt5Xml)
|
||||
|
||||
%description devel
|
||||
Development libraries and headers needed to build software
|
||||
making use of %{name}
|
||||
making use of kst
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n kst-plot-%{version}
|
||||
@ -95,11 +94,10 @@ EXTRA_FLAGS="-Dkst_install_prefix=%{_prefix} \
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
%suse_update_desktop_file -r %{name}2 Qt KDE Science Math
|
||||
%suse_update_desktop_file -r kst2 Qt KDE Science Math
|
||||
%fdupes %{buildroot}
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%license COPYING*
|
||||
@ -108,17 +106,17 @@ EXTRA_FLAGS="-Dkst_install_prefix=%{_prefix} \
|
||||
%dir %{_datadir}/icons/hicolor/*
|
||||
%dir %{_datadir}/icons/hicolor/*/apps
|
||||
%dir %{_datadir}/icons/hicolor/*/mimetypes
|
||||
%{_bindir}/%{name}2
|
||||
%{_datadir}/applications/%{name}2.desktop
|
||||
%{_datadir}/icons/hicolor/*/*/*%{name}.*
|
||||
%{_libdir}/%{name}2/
|
||||
%{_libdir}/lib%{name}*.so.*
|
||||
%{_mandir}/man1/%{name}2.1%{?ext_man}
|
||||
%{_bindir}/kst2
|
||||
%{_datadir}/applications/kst2.desktop
|
||||
%{_datadir}/icons/hicolor/*/*/*kst.*
|
||||
%{_libdir}/kst2/
|
||||
%{_libdir}/libkst*.so.*
|
||||
%{_mandir}/man1/kst2.1%{?ext_man}
|
||||
%{_datadir}/mime/packages/x-kst.xml
|
||||
|
||||
%files devel
|
||||
%license COPYING*
|
||||
%{_libdir}/*.so
|
||||
%{_libdir}/lib%{name}2app.a
|
||||
%{_libdir}/libkst2app.a
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user