53 lines
1.2 KiB
RPMSpec
53 lines
1.2 KiB
RPMSpec
Name: xrestop
|
|
Version: 0.6
|
|
Release: 2
|
|
Summary: X-Resource extension.
|
|
License: GPLv2+
|
|
URL: http://www.freedesktop.org/Software/xrestop
|
|
|
|
Source0: https://xorg.freedesktop.org/archive/individual/app/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: gcc ncurses-devel libXres-devel libXext-devel libX11-devel 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
|
|
%autosetup -n %{name}-%{version}
|
|
|
|
%build
|
|
%configure
|
|
make
|
|
|
|
%install
|
|
rm -rf "$RPM_BUILD_ROOT"
|
|
%make_install
|
|
|
|
%package_help
|
|
|
|
%files
|
|
%doc AUTHORS NEWS README.md
|
|
%license COPYING
|
|
%{_bindir}/xrestop
|
|
|
|
%files help
|
|
%{_mandir}/man1/xrestop.1*
|
|
|
|
%changelog
|
|
* Tue Feb 06 2024 lvgenggeng <lvgenggeng@uniontech.com> - 0.6-2
|
|
- move license file to prefered dir
|
|
|
|
* Thu Aug 31 2023 liyanan <thistleslyn@163.com> - 0.6-1
|
|
- Upgrade to version 0.6
|
|
|
|
* Wed Jan 12 2022 caodongxia <caodongxia@huawei.com> - 0.5-1
|
|
- Update to 0.5
|
|
|
|
* Tue Sep 29 2020 baizhonggui <baizhonggui@huawei.com> - 0.4-24
|
|
- Modify source0
|
|
|
|
* Sun Dec 1 2019 jiaxiya <jiaxiyajiaxiya@168.com> - 0.4-23
|
|
- Package init
|