069057d933
New Package. Resubmitting without -qt name scheme, as there's no good reason to have the package name versioned, the qt5 version is deprecated, and won't be useful anymore OBS-URL: https://build.opensuse.org/request/show/1168684 OBS-URL: https://build.opensuse.org/package/show/X11:LXQt/libsysstat?expand=0&rev=1
79 lines
2.2 KiB
RPMSpec
79 lines
2.2 KiB
RPMSpec
#
|
|
# spec file for package libsysstat-qt5
|
|
#
|
|
# Copyright (c) 2018 SUSE LINUX 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/
|
|
#
|
|
|
|
|
|
%dnl %define _name libsysstat
|
|
Name: libsysstat
|
|
Version: 1.0.0
|
|
Release: 0
|
|
Summary: Query system info and statistics
|
|
License: LGPL-2.1-or-later
|
|
Group: Development/Libraries/C and C++
|
|
Url: http://www.lxde.org
|
|
Source0: https://github.com/lxqt/libsysstat/releases/download/%{version}/%{name}-%{version}.tar.xz
|
|
Source1: https://github.com/lxqt/libsysstat/releases/download/%{version}/%{name}-%{version}.tar.xz.asc
|
|
BuildRequires: cmake >= 3.5.0
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: cmake(lxqt2-build-tools) >= 2.0.0
|
|
BuildRequires: cmake(Qt6LinguistTools) >= 6.6
|
|
|
|
%description
|
|
Library used to query system info and statistics
|
|
|
|
%package -n libsysstat1
|
|
Summary: Libraries for lxqt
|
|
Group: System/Libraries
|
|
Provides: libsysstat
|
|
|
|
%description -n libsysstat1
|
|
Development libraries for libsysstat
|
|
|
|
%package devel
|
|
Summary: Devel files for libsysstat
|
|
Group: Development/Libraries/C and C++
|
|
Requires: libsysstat1 = %{version}
|
|
Requires: pkgconfig
|
|
|
|
%description devel
|
|
sysstat libraries for development
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%cmake_qt6
|
|
%{qt6_build}
|
|
|
|
%install
|
|
%{qt6_install}
|
|
%post -n libsysstat1 -p /sbin/ldconfig
|
|
%postun -n libsysstat1 -p /sbin/ldconfig
|
|
|
|
%files -n libsysstat1
|
|
%license COPYING
|
|
%doc AUTHORS
|
|
%{_qt6_libdir}/%{name}-qt6.so.1
|
|
%{_qt6_libdir}/%{name}-qt6.so.1.*
|
|
|
|
%files devel
|
|
%{_includedir}/sysstat-qt6
|
|
%{_datadir}/cmake/sysstat-qt6
|
|
%{_qt6_libdir}/pkgconfig/sysstat-qt6.pc
|
|
%{_qt6_libdir}/%{name}-qt6.so
|
|
|
|
%changelog
|