2024-01-06 05:52:54 +01:00
|
|
|
Name: libsysstat
|
2024-04-28 23:17:31 +02:00
|
|
|
Version: 1.0.0
|
2024-01-06 05:52:54 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A library to query system information like CPU and memory usage or network traffic
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/lxqt/libsysstat
|
|
|
|
Source: https://github.com/lxqt/libsysstat.git/%{version}/libsysstat-%{version}.tar.bz2
|
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-04-28 23:17:31 +02:00
|
|
|
BuildRequires: qt6-qtbase-devel
|
2024-01-06 05:52:54 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
|
|
|
%description
|
|
|
|
libsysstat is a library to query system information like CPU and memory usage or network traffic. Conceptually it's roughly similar to libstatgrab, a third-party library used by LXQt as well.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Requires: pkg-config
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-04-28 23:17:31 +02:00
|
|
|
%{_libdir}/libsysstat-qt6.so.*
|
2024-01-06 05:52:54 +01:00
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-04-28 23:17:31 +02:00
|
|
|
%dir %{_includedir}/sysstat-qt6
|
|
|
|
%dir %{_includedir}/sysstat-qt6/SysStat
|
|
|
|
%{_includedir}/sysstat-qt6/SysStat/*
|
|
|
|
%{_includedir}/sysstat-qt6/*.h
|
|
|
|
%{_libdir}/libsysstat-qt6.so
|
|
|
|
%{_libdir}/pkgconfig/sysstat-qt6.pc
|
|
|
|
%dir %{_datadir}/cmake/sysstat-qt6
|
|
|
|
%{_datadir}/cmake/sysstat-qt6/sysstat-qt6-*.cmake
|
2024-01-06 05:52:54 +01:00
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-04-28 23:17:31 +02:00
|
|
|
* Tue Apr 23 2024 Automatic Build System <autodist@openmamba.org> 1.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:52:55 +01:00
|
|
|
* Sat Nov 06 2021 Automatic Build System <autodist@mambasoft.it> 0.4.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:52:54 +01:00
|
|
|
* Fri Apr 16 2021 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:52:54 +01:00
|
|
|
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 0.4.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 05:52:54 +01:00
|
|
|
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3-1mamba
|
|
|
|
- package created using the webbuild interface
|