File nmon.spec of Package nmon

Summary:       Nigel's performance Monitor for Linux
Name:          nmon
Version:       16b
Release:       1
License:       GPL-3.0
Group:         System/Monitoring
URL:           http://nmon.sourceforge.net 

BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-build
Source:        %{name}-%{version}.tar.gz
BuildRequires: ncurses-devel

%description
This systems administrator, tuner, benchmark tool gives you a huge amount of important performance information in one go. It can output the data in two ways
   - On screen (console, telnet, VNC, putty or X Windows) using curses for low CPU impact which is updated once every two seconds. You hit single characters on you keyboard to enable/disable the various sorts of data.
   - Save the data to a comma separated file for analysis and longer term data capture.

%prep
%setup

%build
%{__make} %{?_smp_mflags} OPTIMIZE="%{optflags}"

%install
export PREFIX=%{buildroot}/usr
%{__make} install
install -d -m 0755 %{buildroot}/%{_docdir}/%{name}
install -m 0644 Documentation.txt %{buildroot}/%{_docdir}/%{name}/

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

%files
%defattr(-, root, root, -)
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/Documentation.txt
%{_mandir}/man1/%{name}.1*
%{_bindir}/%{name}

%changelog
* Sun Jan 10 2016 Stefan Jakobs <projects@localside.net> - 16b
+ Update to new version
* Sun May 1 2011 Stefan Jakobs <stefan.jakobs@rus.uni-stuttgart.de> - 14f
- initial release
openSUSE Build Service is sponsored by