File radeontop.spec of Package radeontop

Name:		radeontop
Version:	0.6.0
Release:	0
Group:		System/Monitoring
Summary:	View your GPU utilization
License:	GPLv3

Source:		%name.tar.bz2
BuildRoot:	%_tmppath/%name-%version-build
BuildRequires:   pkgconfig libpciaccess-devel ncurses-devel

%description
View your GPU utilization, both for the total activity percent and individual blocks.

Requires root rights or other permissions to /dev/mem.


%prep
%setup -q -n %{name}

%build
CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT



%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
/usr/sbin/radeontop
%{_mandir}/man1/*

%changelog
openSUSE Build Service is sponsored by