File xrestop.spec of Package xrestop

#
# spec file for package xrestop (Version 0.4)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           xrestop
BuildRequires:  ncurses-devel xorg-x11-devel
URL:            http://www.freedesktop.org/Software/xrestop
License:        GNU General Public License (GPL)
Group:          System/X11/Utilities
Autoreqprov:    on
Version:        0.4
Release:        38
Summary:        XResTop is A 'top' like tool for monitoring X Client server resource usage.
Source:         %name-%version.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%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.



Authors:
--------
    Matthew Allum <mallum@handhelds.org>

%prep
%setup

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --mandir=%_mandir
make 

%install
mkdir -p $RPM_BUILD_ROOT/usr/bin $RPM_BUILD_ROOT%_mandir/man1
make DESTDIR=$RPM_BUILD_ROOT install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS COPYING README
/usr/bin/xrestop
%_mandir/man1/xrestop.1.gz

%changelog
* Thu Mar 29 2007 - dmueller@suse.de
- add ncurses-devel BuildRequires
* Sat Apr 15 2006 - sndirsch@suse.de
- update to release 0.4
  * Quit (q) key support
  * PID detect bug fixes
  * other minor tweaks
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Fri May 13 2005 - sndirsch@suse.de
- use norootforbuild
* Wed Aug 18 2004 - sndirsch@suse.de
- updated to release 0.3
  * Tweaks for Solaris
  * Man page improvements.
* Thu Apr 29 2004 - sndirsch@suse.de
- created package
openSUSE Build Service is sponsored by