xrestop/xrestop.spec

Name: xrestop
Summary: X resource monitor
Version: 0.4
Release: 1
License: GPL
Group: Applications/System
URL: http://www.freedesktop.org/wiki/Software/xrestop
Description: xrestop is a utility to monitor the usage of resources within the X Server, and display them in a manner similar to top.

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.

CentOS 7 x86_64

The build could not start because the following file is missing: xrestop-0.4.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: xrestop-0.4.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

### EL6 ships with xrestop-0.4-7.1.el6
### EL5 ships with xrestop-0.2-6.2.2
%{?el5:# Tag: rfx}
### EL4 ships with xrestop-0.2-4
%{?el4:# Tag: rfx}
# ExclusiveDist: el2 el3 el4 el5

%{?el4:%define _without_modxorg 1}
%{?el3:%define _without_modxorg 1}
%{?el2:%define _without_modxorg 1}

Summary: X resource monitor
Name: xrestop
Version: 0.4
Release: 1%{?dist}
License: GPL
Group: Applications/System
URL: http://www.freedesktop.org/wiki/Software/xrestop

Source: http://projects.o-hand.com/sources/xrestop/xrestop-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: ncurses-devel
%{!?_without_modxorg:BuildRequires: libXres-devel, libXext-devel}
%{?_without_modxorg:BuildRequires: XFree86-devel}

%description
xrestop is a utility to monitor the usage of resources within the X Server,
and display them in a manner similar to top.

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

%build
%configure
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}"

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc AUTHORS ChangeLog COPYING NEWS README
%doc %{_mandir}/man1/xrestop.1*
%{_bindir}/xrestop

%changelog
* Fri Jan 26 2007 Dag Wieers <dag@wieers.com> - 0.4-1
- Updated to release 0.4.

* Wed Aug 18 2004 Dag Wieers <dag@wieers.com> - 0.3-1
- Updated to release 0.3.

* Wed Dec 24 2003 Dag Wieers <dag@wieers.com> - 0.2-0
- Initial package. (using DAR)