xrestop/xrestop.spec

53 lines
1.2 KiB
RPMSpec
Raw Normal View History

2019-12-03 14:12:18 +08:00
Name: xrestop
2023-08-31 14:27:20 +08:00
Version: 0.6
Release: 2
2019-12-07 00:33:41 +08:00
Summary: X-Resource extension.
2019-12-03 14:12:18 +08:00
License: GPLv2+
URL: http://www.freedesktop.org/Software/xrestop
Source0: https://xorg.freedesktop.org/archive/individual/app/%{name}-%{version}.tar.gz
2019-12-03 14:12:18 +08:00
2019-12-07 00:33:41 +08:00
BuildRequires: gcc ncurses-devel libXres-devel libXext-devel libX11-devel libXau-devel
2019-12-03 14:12:18 +08:00
%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
2019-12-07 00:33:41 +08:00
%autosetup -n %{name}-%{version}
2019-12-03 14:12:18 +08:00
%build
%configure
make
%install
rm -rf "$RPM_BUILD_ROOT"
2019-12-07 00:33:41 +08:00
%make_install
2019-12-03 14:12:18 +08:00
%package_help
%files
%doc AUTHORS NEWS README.md
%license COPYING
2019-12-03 14:12:18 +08:00
%{_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
2023-08-31 14:27:20 +08:00
* 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
2020-09-29 10:47:56 +08:00
* Tue Sep 29 2020 baizhonggui <baizhonggui@huawei.com> - 0.4-24
- Modify source0
2019-12-07 00:33:41 +08:00
* Sun Dec 1 2019 jiaxiya <jiaxiyajiaxiya@168.com> - 0.4-23
2019-12-03 14:12:18 +08:00
- Package init