libsysstat/libsysstat.spec

85 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: libsysstat
Version: 1.1.0
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: libQt6Core
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: qt6-qtbase-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}"
%files
%defattr(-,root,root)
%{_libdir}/libsysstat-qt6.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%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
%doc README.md
%changelog
* Wed Nov 06 2024 Automatic Build System <autodist@openmamba.org> 1.1.0-1mamba
- automatic version update by autodist
* Tue Apr 23 2024 Automatic Build System <autodist@openmamba.org> 1.0.0-1mamba
- automatic version update by autodist
* Sat Nov 06 2021 Automatic Build System <autodist@mambasoft.it> 0.4.6-1mamba
- automatic version update by autodist
* Fri Apr 16 2021 Automatic Build System <autodist@mambasoft.it> 0.4.5-1mamba
- automatic version update by autodist
* Mon Nov 09 2020 Automatic Build System <autodist@mambasoft.it> 0.4.4-1mamba
- automatic version update by autodist
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3-1mamba
- package created using the webbuild interface