init commit
This commit is contained in:
parent
6c8cc19cad
commit
f9a69f46d5
BIN
xrestop-0.4.tar.gz
Normal file
BIN
xrestop-0.4.tar.gz
Normal file
Binary file not shown.
42
xrestop.spec
Normal file
42
xrestop.spec
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
Name: xrestop
|
||||||
|
Version: 0.4
|
||||||
|
Release: 1
|
||||||
|
Summary: X Resource Monitor
|
||||||
|
License: GPLv2+
|
||||||
|
URL: http://www.freedesktop.org/Software/xrestop
|
||||||
|
|
||||||
|
Source0: %{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
BuildRequires: gcc
|
||||||
|
BuildRequires: ncurses-devel libXres-devel libXext-devel libX11-devel
|
||||||
|
BuildRequires: libXau-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
Xrestop uses the X-Resource extension to provide 'top' like statistics of each
|
||||||
|
connected X11 client's server side resource usage. It is intended as a developer
|
||||||
|
tool to aid more efficient server resource usage and debug server side leakage.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure
|
||||||
|
make
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf "$RPM_BUILD_ROOT"
|
||||||
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||||
|
|
||||||
|
%package_help
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc COPYING
|
||||||
|
%{_bindir}/xrestop
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%doc AUTHORS COPYING NEWS README
|
||||||
|
%{_mandir}/man1/xrestop.1*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Dec 1 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.4-1
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user