2024-01-06 05:52:54 +01:00
|
|
|
Name: libsysstat
|
2024-01-06 05:52:54 +01:00
|
|
|
Version: 0.4.5
|
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: ldconfig
|
|
|
|
BuildRequires: libgcc
|
|
|
|
BuildRequires: libqt5-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
|
|
|
## 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)
|
|
|
|
%{_libdir}/libsysstat-qt5.so.*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/sysstat-qt5
|
|
|
|
%dir %{_includedir}/sysstat-qt5/SysStat
|
|
|
|
%{_includedir}/sysstat-qt5/SysStat/*
|
|
|
|
%{_includedir}/sysstat-qt5/*.h
|
|
|
|
%{_libdir}/libsysstat-qt5.so
|
|
|
|
%{_libdir}/pkgconfig/sysstat-qt5.pc
|
|
|
|
%dir %{_datadir}/cmake/sysstat-qt5
|
|
|
|
%{_datadir}/cmake/sysstat-qt5/sysstat-qt5-*.cmake
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
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
|