package created using the webbuild interface [release 0.4.3-1mamba;Fri Oct 02 2020]
This commit is contained in:
parent
2c34921645
commit
d9064a58e0
@ -1,2 +1,4 @@
|
|||||||
# libsysstat
|
# libsysstat
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
72
libsysstat.spec
Normal file
72
libsysstat.spec
Normal file
@ -0,0 +1,72 @@
|
|||||||
|
Name: libsysstat
|
||||||
|
Version: 0.4.3
|
||||||
|
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
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%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
|
||||||
|
* Fri Oct 02 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.3-1mamba
|
||||||
|
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user