dd5f84
%global sum	CLI curses based monitoring tool
ba84d6
7f2feb
Name:		glances	
626f6b
Version:	2.11.1
626f6b
Release:	1%{?dist}
dd5f84
Summary:	%{sum}
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
dd5f84
BuildRequires:  python2-devel python3-devel
dd5f84
BuildRequires:	python-setuptools python3-setuptools
dd5f84
BuildRequires:	python2-psutil >= 2.0.0
dd5f84
BuildRequires:	python3-psutil >= 2.0.0
Edouard 11c3cc
7f2feb
%{?python_provide:%python_provide python3-%{name}}
7f2feb
Requires:	python3-setuptools
7f2feb
Requires:	python3-psutil >= 2.0.0
7f2feb
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
dd5f84
7f2feb
%package -n python2-%{name}
7f2feb
%{?python_provide:%python_provide python2-%{name}}
e5c4ba
Requires:	python-setuptools
e5c4ba
Requires:	python2-psutil >= 2.0.0
dd5f84
Summary:        %{sum}
7f2feb
Provides:	%{name} = %{version}-%{release}
7f2feb
%{?python_provide:%python_provide python2-%{name}}
dd5f84
7f2feb
%description -n python2-%{name}
dd5f84
Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.
dd5f84
dd5f84
Glances uses the PsUtil library to get information from your system.
dd5f84
dd5f84
It is developed in Python.
dd5f84
dd5f84
Edouard 11c3cc
%prep
7f2feb
%autosetup -n %{name}-%{version}
Edouard 11c3cc
Edouard 11c3cc
%build
dd5f84
%py2_build
dd5f84
%py3_build
Edouard 11c3cc
Edouard 11c3cc
%install
dd5f84
# Must do the python2 install first because the scripts in /usr/bin are
dd5f84
# overwritten with every setup.py install, and in general we want the
dd5f84
# python3 version to be the default.
dd5f84
%py2_install
dd5f84
%py3_install
43d6fa
dd5f84
%check
dd5f84
%{__python2} setup.py test
dd5f84
%{__python3} setup.py test
Edouard 11c3cc
Edouard 11c3cc
%clean
Edouard 11c3cc
rm -rf %{buildroot} 
Edouard 11c3cc
Edouard 11c3cc
7f2feb
%files -n python2-%{name}
Edouard 11c3cc
%defattr(-,root,root,-)
ad3e77
%doc AUTHORS COPYING README.rst NEWS 
c59c55
%license COPYING
7f2feb
%{python2_sitelib}/%{name}/
c59c55
%{python2_sitelib}/Glances-%{version}-py%{python2_version}.egg-info/
dd5f84
%exclude %{_datadir}/doc/glances
dd5f84
%{_datadir}/man/man1/glances.1.gz
dd5f84
7f2feb
%files
dd5f84
%defattr(-,root,root,-)
dd5f84
%doc AUTHORS COPYING README.rst NEWS
c59c55
%license COPYING
dd5f84
%{_bindir}/glances
7f2feb
%{python3_sitelib}/%{name}/
c59c55
%{python3_sitelib}/Glances-%{version}-py%{python3_version}.egg-info/
f14e00
%exclude %{_datadir}/doc/glances
706abc
%{_datadir}/man/man1/glances.1.gz
Edouard 11c3cc
dd5f84
Edouard 11c3cc
%changelog
626f6b
* Sun Nov 26 2017 Edouard Bourguignon <madko@linuxed.net> - 2.11.1-1
626f6b
- Upgrade to 2.11.1
626f6b
a79964
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-3
a79964
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a79964
20bd17
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
20bd17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
20bd17
be512a
* Mon Oct 17 2016 Edouard Bourguignon <madko@linuxed.net> - 2.7.1-1
be512a
- Upgrade to 2.7.1
be512a
c59c55
* Sun Oct 16 2016 Edouard Bourguignon <madko@linuxed.net> - 2.6.1-3
c59c55
- Fix for python2 and python3 packages
c59c55
63324c
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-2
63324c
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
63324c
dd5f84
* Thu Apr 28 2016 Edouard Bourguignon <madko@linuxed.net> - 2.6.1
dd5f84
- Update to 2.6.1
dd5f84
- Provides python2 and python3 packages
fd4194
dd5f84
* Sat Oct 10 2015 Edouard Bourguignon <madko@linuxed.net> - 2.5.1
7dcd3c
- Update to 2.5.1
7dcd3c
c20244
* Sun Feb 01 2015 Edouard Bourguignon <madko@linuxed.net> - 2.3-1
c20244
- Update to 2.3
c20244
ae1edc
* Sat Jan 03 2015 Edouard Bourguignon <madko@linuxed.net> - 2.2.1-2
ae1edc
- Upstream patch for non root build
ae1edc
620a33
* Fri Jan 02 2015 Edouard Bourguignon <madko@linuxed.net> - 2.2.1-1
620a33
- Update to 2.2.1
ae1edc
- Add glances.conf and glances-test.conf
620a33
645632
* Mon Oct 20 2014 Edouard Bourguignon <madko@linuxed.net> - 2.1.2-2
645632
- Remove old python-setuptools-devel, now using python-setuptools instead
645632
ad3e77
* Mon Oct 20 2014 Edouard Bourguignon <madko@linuxed.net> - 2.1.2-1
620a33
- Update to 2.1.2
ad3e77
ad3e77
* Thu Aug 07 2014 Edouard Bourguignon <madko@linuxed.net> - 2.0-1
ad3e77
- Update to 2.0.0
c38ddc
c6237f
* Thu Jun 12 2014 Edouard Bourguignon <madko@linuxed.net> - 1.7.7-1
c6237f
- Update to 1.7.7
c6237f
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