Edouard 11c3cc
Name:		glances		
6a497a
Version:	1.3.1
Edouard 11c3cc
Release:	1%{?dist}
Edouard 11c3cc
Summary:	CLI curses based monitoring tool
Edouard 11c3cc
Edouard 11c3cc
Group:		Applications/System		
Edouard 11c3cc
License:	GPLv3
Edouard 11c3cc
URL:		https://github.com/nicolargo/glances
Edouard 11c3cc
Source0:	https://github.com/downloads/nicolargo/%{name}/%{name}-%{version}.tar.gz
Edouard 11c3cc
BuildArch:	noarch
Edouard 11c3cc
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
Edouard 11c3cc
Edouard 11c3cc
BuildRequires:	automake	
Edouard 11c3cc
BuildRequires:	python-devel
Edouard 11c3cc
Requires:	pystatgrab >= 0.5
Edouard 11c3cc
Edouard 11c3cc
%description
Edouard 11c3cc
Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.
Edouard 11c3cc
Edouard 11c3cc
Glances uses the libstatgrab library to get information from your system.
Edouard 11c3cc
Glances is developed in Python and uses the python-statgrab lib.
Edouard 11c3cc
Edouard 11c3cc
Edouard 11c3cc
%prep
Edouard 11c3cc
%setup -q
Edouard 11c3cc
Edouard 11c3cc
Edouard 11c3cc
%build
Edouard 11c3cc
%configure
Edouard 11c3cc
make %{?_smp_mflags}
Edouard 11c3cc
Edouard 11c3cc
Edouard 11c3cc
%install
Edouard 11c3cc
rm -rf %{buildroot} 
Edouard 11c3cc
make install DESTDIR=%{buildroot}
Edouard 11c3cc
rm -rf %{buildroot}/usr/doc/glances
Edouard 11c3cc
sed -i '1d' %{buildroot}/%{python_sitelib}/%{name}/%{name}.py
Edouard 11c3cc
mv %{buildroot}/%{_bindir}/glances.py %{buildroot}/%{_bindir}/glances
Edouard 11c3cc
Edouard 11c3cc
%clean
Edouard 11c3cc
rm -rf %{buildroot} 
Edouard 11c3cc
Edouard 11c3cc
Edouard 11c3cc
%files
Edouard 11c3cc
%defattr(-,root,root,-)
Edouard 11c3cc
%doc AUTHORS COPYING README ChangeLog
Edouard 11c3cc
%{_bindir}/glances
Edouard 11c3cc
%{python_sitelib}/glances
706abc
%{_datadir}/man/man1/glances.1.gz
Edouard 11c3cc
Edouard 11c3cc
%changelog
6a497a
* Sat Dec 17 2011 Edouard Bourguignon <madko@linuxed.net> - 1.3.1-1
6a497a
- Upgrade to version 1.3.1 (fix fs display)
6a497a
706abc
* Wed Dec 14 2011 Edouard Bourguignon <madko@linuxed.net> - 1.3-1
706abc
- Upgrade to version 1.3
706abc
c44be5
* Tue Dec 13 2011 Edouard Bourguignon <madko@linuxed.net> - 1.2-1
c44be5
- Upgrade to version 1.2
c44be5
Edouard 11c3cc
* Tue Dec  6 2011 Edouard Bourguignon <madko@linuxed.net> - 1.1.3-1
Edouard 11c3cc
- Upgrade to version 1.1.3
Edouard 11c3cc
Edouard 11c3cc
* Tue Dec  6 2011 Edouard Bourguignon <madko@linuxed.net> - 1.1.2-2
Edouard 11c3cc
- Fix for review
Edouard 11c3cc
- Remove shebang from non-executable script
Edouard 11c3cc
- Add version for libpystatgrab
Edouard 11c3cc
- Renamed glances.py to glances
Edouard 11c3cc
Edouard 11c3cc
* Mon Dec  5 2011 Edouard Bourguignon <madko@linuxed.net> - 1.1.2-1
Edouard 11c3cc
- Upgrade to 1.1.2
Edouard 11c3cc
Edouard 11c3cc
* Mon Dec  5 2011 Edouard Bourguignon <madko@linuxed.net> - 1.1.1-1
Edouard 11c3cc
- Upgrade to 1.1.1
Edouard 11c3cc
Edouard 11c3cc
* Mon Dec  5 2011 Edouard Bourguignon <madko@linuxed.net> - 1.0-1 
Edouard 11c3cc
- Initial version