!1 initial release
Merge pull request !1 from yangzhao_kl/initial_release
This commit is contained in:
commit
d0b53297ed
BIN
libsysstat-0.4.2.tar.gz
Normal file
BIN
libsysstat-0.4.2.tar.gz
Normal file
Binary file not shown.
54
libsysstat.spec
Normal file
54
libsysstat.spec
Normal file
@ -0,0 +1,54 @@
|
||||
Name: libsysstat
|
||||
Version: 0.4.2
|
||||
Release: 1%{?dist}
|
||||
License: GPLv2 and LGPLv2+
|
||||
Summary: Library used to query system info and statistics
|
||||
Url: http://www.lxde.org
|
||||
Source0: https://github.com/lxqt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||
BuildRequires: %{?fedora:cmake >= 3.1.0}%{!?fedora:cmake3 >= 3.3}
|
||||
BuildRequires: pkgconfig(Qt5Core)
|
||||
BuildRequires: pkgconfig(Qt5Help)
|
||||
BuildRequires: lxqt-build-tools >= 0.6.0
|
||||
|
||||
%description
|
||||
Library used to query system info and statistics
|
||||
|
||||
%package devel
|
||||
Summary: Devel files for libsysstat
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: pkgconfig
|
||||
|
||||
%description devel
|
||||
Sysstat libraries for development.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
mkdir -p %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{?fedora:%{cmake}}%{!?fedora:%{cmake3}} ..
|
||||
popd
|
||||
|
||||
make %{?_smp_mflags} -C %{_target_platform}
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files
|
||||
%doc AUTHORS COPYING
|
||||
%{_libdir}/libsysstat-qt5.so.*
|
||||
|
||||
%files devel
|
||||
%dir %{_includedir}/sysstat-qt5/
|
||||
%dir %{_datadir}/cmake/sysstat-qt5/
|
||||
%{_includedir}/sysstat-qt5/*
|
||||
%{_datadir}/cmake/sysstat-qt5/*
|
||||
%{_libdir}/pkgconfig/sysstat-qt5.pc
|
||||
%{_libdir}/libsysstat-qt5.so
|
||||
|
||||
%changelog
|
||||
* Thu Jul 23 2020 Zhao Yang <yangzhao1@kylinos.cn> - 0.4.2-1
|
||||
- Initial release for OpenEuler
|
||||
Loading…
x
Reference in New Issue
Block a user