ba84d6
%if 0%{?rhel} && 0%{?rhel} <= 5
e5e4fa
%{!?python_sitelib: %global python_sitelib %(%{__python}26 -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
ba84d6
%endif
ba84d6
Edouard 11c3cc
Name:		glances		
c6237f
Version:	1.7.7
d45761
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
f14e00
Source0:	https://github.com/nicolargo/glances/archive/v%{version}.tar.gz
Edouard 11c3cc
BuildArch:	noarch
ba84d6
%if 0%{?rhel} && 0%{?rhel} <= 5
e5e4fa
BuildRequires:	python26-distribute
e5e4fa
Requires:	python26-distribute
e5e4fa
Requires:	python26-psutil >= 0.4.1
e5e4fa
BuildRoot:	%(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
ba84d6
%else
43d6fa
BuildRequires:	python-setuptools-devel
0edf50
Requires:	python-setuptools
ba84d6
Requires:	python-psutil >= 0.4.1
e5e4fa
%endif
Edouard 11c3cc
Edouard 11c3cc
%description
Edouard 11c3cc
Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.
Edouard 11c3cc
43d6fa
Glances uses the PsUtil library to get information from your system.
Edouard 11c3cc
43d6fa
It is developed in Python.
Edouard 11c3cc
Edouard 11c3cc
%prep
Edouard 11c3cc
%setup -q
Edouard 11c3cc
Edouard 11c3cc
%build
Edouard 11c3cc
Edouard 11c3cc
Edouard 11c3cc
%install
e5e4fa
%if 0%{?rhel} && 0%{?rhel} <= 5
e5e4fa
%{__python}26 setup.py install --root %{buildroot}
e5e4fa
%else
0edf50
%{__python} setup.py install --root %{buildroot}
e5e4fa
%endif
43d6fa
%find_lang %{name}
43d6fa
Edouard 11c3cc
Edouard 11c3cc
%clean
Edouard 11c3cc
rm -rf %{buildroot} 
Edouard 11c3cc
Edouard 11c3cc
43d6fa
%files -f %{name}.lang
Edouard 11c3cc
%defattr(-,root,root,-)
801a74
%doc AUTHORS COPYING README.rst TODO 
Edouard 11c3cc
%{_bindir}/glances
9dbd01
%config(noreplace) %{_sysconfdir}/glances
741328
%attr(0655,-,-) %{python_sitelib}/glances/glances.py
43d6fa
%{python_sitelib}/*
f14e00
%exclude %{_datadir}/doc/glances
706abc
%{_datadir}/man/man1/glances.1.gz
Edouard 11c3cc
Edouard 11c3cc
%changelog
c6237f
* Thu Jun 12 2014 Edouard Bourguignon <madko@linuxed.net> - 1.7.7-1
c6237f
- Update to 1.7.7
c6237f
c4f7f7
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.7.6-2
c4f7f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c4f7f7
649246
* Wed Mar 26 2014 Edouard Bourguignon <madko@linuxed.net> - 1.7.6-1
649246
- Update to 1.7.6
649246
e9457f
* Sat Mar 15 2014 Edouard Bourguignon <madko@linuxed.net> - 1.7.5-1
e9457f
- Update to 1.7.5
e9457f
b32fcb
* Mon Jan 20 2014 Edouard Bourguignon <madko@linuxed.net> - 1.7.4-1
b32fcb
- Update to 1.7.4
b32fcb
00ab0d
* Mon Jan 13 2014 Edouard Bourguignon <madko@linuxed.net> - 1.7.3-1
00ab0d
- Update to 1.7.3
00ab0d
e6b5d1
* Tue Nov 12 2013 Edouard Bourguignon <madko@linuxed.net> - 1.7.2-1
e6b5d1
- Update to 1.7.2
e6b5d1
4e85cc
* Fri Aug 23 2013 Edouard Bourguignon <madko@linuxed.net> - 1.7.1-1
4e85cc
- Update to 1.7.1
4e85cc
ee3c3a
* Sun Aug 11 2013 Edouard Bourguignon <madko@linuxed.net> - 1.7-1
ee3c3a
- Update to 1.7
ee3c3a
0ac676
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
0ac676
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0ac676
f14e00
* Thu Apr 18 2013 Michel Salim <salimma@fedoraproject.org> - 1.6.1-1
f14e00
- Update to 1.6.1
f14e00
e5e4fa
* Tue Mar 19 2013 Michel Salim <salimma@fedoraproject.org> - 1.6-2
e5e4fa
- On el5, build against python26 stack
e5e4fa
9dbd01
* Sat Mar 16 2013 Edouard Bourguignon <madko@linuxed.net> - 1.6-1
9dbd01
- Upgrade to 1.6
9dbd01
0fc06c
* Sat Feb 23 2013 Edouard Bourguignon <madko@linuxed.net> - 1.5.2-3
0fc06c
- Patch to fix bug #914837 (noSuchProcess)
0fc06c
9dbd01
* Sat Jan 12 2013 Edouard Bourguignon <madko@linuxed.net> - 1.5.2-2
9dbd01
- Patch to initialize y in displayMem (bug #894347)
e4fd8b
3111ba
* Sun Dec 30 2012 Edouard Bourguignon <madko@linuxed.net> - 1.5.2-1
3111ba
- Upgrade to 1.5.2
3111ba
a09552
* Tue Nov 13 2012 Edouard Bourguignon <madko@linuxed.net> - 1.5.1-1
a09552
- Upgrade to 1.5.1 (fix compute data on el6)
a09552
741328
* Thu Nov  8 2012 Edouard Bourguignon <madko@linuxed.net> - 1.5-1
741328
- Upgrade to 1.5
741328
ba84d6
* Sat Sep  1 2012 Edouard Bourguignon <madko@linuxed.net> - 1.4.1.1-1
ba84d6
- Upgrade to 1.4.1.1
ba84d6
0edf50
* Tue Aug 21 2012 Edouard Bourguignon <madko@linuxed.net> - 1.4-2
0edf50
- Adding missing dependencies
0edf50
- Removing shebang in non-executable files
0edf50
43d6fa
* Tue Aug 21 2012 Edouard Bourguignon <madko@linuxed.net> - 1.4-1
43d6fa
- Upgrade to version 1.4
43d6fa
03aff1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.7-3
03aff1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
03aff1
fc3492
* Mon Feb 13 2012 Edouard Bourguignon <madko@linuxed.net> - 1.3.7-2
fc3492
- Add version for python
fc3492
7f4a17
* Thu Feb  2 2012 Edouard Bourguignon <madko@linuxed.net> - 1.3.7-1
7f4a17
- Upgrade to version 1.3.7
7f4a17
ca10d3
* Fri Jan 20 2012 Edouard Bourguignon <madko@linuxed.net> - 1.3.6-1
ca10d3
- Upgrade to version 1.3.6 (fix crash when a network intf is removed)
ca10d3
453c93
* Tue Jan 17 2012 Edouard Bourguignon <madko@linuxed.net> - 1.3.5-1
453c93
- Upgrade to version 1.3.5
a9b42b
bcee54
* Fri Dec 30 2011 Edouard Bourguignon <madko@linuxed.net> - 1.3.4-1
bcee54
- Upgrade to version 1.3.4
bcee54
bcee54
* Fri Dec 23 2011 Edouard Bourguignon <madko@linuxed.net> - 1.3.3-1
bcee54
- Upgrade to version 1.3.3
bcee54
7fed06
* Wed Dec 21 2011 Edouard Bourguignon <madko@linuxed.net> - 1.3.2-1
7fed06
- Upgrade to version 1.3.2
7fed06
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