dd5f843
%global sum	CLI curses based monitoring tool
ba84d61
7f2feb5
Name:		glances	
be512a7
Version:	2.7.1
20bd176
Release:	2%{?dist}
dd5f843
Summary:	%{sum}
Edouard 11c3cc2
Edouard 11c3cc2
Group:		Applications/System		
Edouard 11c3cc2
License:	GPLv3
Edouard 11c3cc2
URL:		https://github.com/nicolargo/glances
f14e00c
Source0:	https://github.com/nicolargo/glances/archive/v%{version}.tar.gz
Edouard 11c3cc2
BuildArch:	noarch
dd5f843
BuildRequires:  python2-devel python3-devel
dd5f843
BuildRequires:	python-setuptools python3-setuptools
dd5f843
BuildRequires:	python2-psutil >= 2.0.0
dd5f843
BuildRequires:	python3-psutil >= 2.0.0
Edouard 11c3cc2
7f2feb5
%{?python_provide:%python_provide python3-%{name}}
7f2feb5
Requires:	python3-setuptools
7f2feb5
Requires:	python3-psutil >= 2.0.0
7f2feb5
Edouard 11c3cc2
%description
Edouard 11c3cc2
Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.
Edouard 11c3cc2
43d6faa
Glances uses the PsUtil library to get information from your system.
Edouard 11c3cc2
43d6faa
It is developed in Python.
Edouard 11c3cc2
dd5f843
7f2feb5
%package -n python2-%{name}
7f2feb5
%{?python_provide:%python_provide python2-%{name}}
e5c4ba0
Requires:	python-setuptools
e5c4ba0
Requires:	python2-psutil >= 2.0.0
dd5f843
Summary:        %{sum}
7f2feb5
Provides:	%{name} = %{version}-%{release}
7f2feb5
%{?python_provide:%python_provide python2-%{name}}
dd5f843
7f2feb5
%description -n python2-%{name}
dd5f843
Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD.
dd5f843
dd5f843
Glances uses the PsUtil library to get information from your system.
dd5f843
dd5f843
It is developed in Python.
dd5f843
dd5f843
Edouard 11c3cc2
%prep
7f2feb5
%autosetup -n %{name}-%{version}
Edouard 11c3cc2
Edouard 11c3cc2
%build
dd5f843
%py2_build
dd5f843
%py3_build
Edouard 11c3cc2
Edouard 11c3cc2
%install
dd5f843
# Must do the python2 install first because the scripts in /usr/bin are
dd5f843
# overwritten with every setup.py install, and in general we want the
dd5f843
# python3 version to be the default.
dd5f843
%py2_install
dd5f843
%py3_install
43d6faa
dd5f843
%check
dd5f843
%{__python2} setup.py test
dd5f843
%{__python3} setup.py test
Edouard 11c3cc2
Edouard 11c3cc2
%clean
Edouard 11c3cc2
rm -rf %{buildroot} 
Edouard 11c3cc2
Edouard 11c3cc2
7f2feb5
%files -n python2-%{name}
Edouard 11c3cc2
%defattr(-,root,root,-)
ad3e773
%doc AUTHORS COPYING README.rst NEWS 
c59c559
%license COPYING
7f2feb5
%{python2_sitelib}/%{name}/
c59c559
%{python2_sitelib}/Glances-%{version}-py%{python2_version}.egg-info/
dd5f843
%exclude %{_datadir}/doc/glances
dd5f843
%{_datadir}/man/man1/glances.1.gz
dd5f843
7f2feb5
%files
dd5f843
%defattr(-,root,root,-)
dd5f843
%doc AUTHORS COPYING README.rst NEWS
c59c559
%license COPYING
dd5f843
%{_bindir}/glances
7f2feb5
%{python3_sitelib}/%{name}/
c59c559
%{python3_sitelib}/Glances-%{version}-py%{python3_version}.egg-info/
f14e00c
%exclude %{_datadir}/doc/glances
706abc1
%{_datadir}/man/man1/glances.1.gz
Edouard 11c3cc2
dd5f843
Edouard 11c3cc2
%changelog
20bd176
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.7.1-2
20bd176
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
20bd176
be512a7
* Mon Oct 17 2016 Edouard Bourguignon <madko@linuxed.net> - 2.7.1-1
be512a7
- Upgrade to 2.7.1
be512a7
c59c559
* Sun Oct 16 2016 Edouard Bourguignon <madko@linuxed.net> - 2.6.1-3
c59c559
- Fix for python2 and python3 packages
c59c559
63324c8
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.6.1-2
63324c8
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
63324c8
dd5f843
* Thu Apr 28 2016 Edouard Bourguignon <madko@linuxed.net> - 2.6.1
dd5f843
- Update to 2.6.1
dd5f843
- Provides python2 and python3 packages
fd41943
dd5f843
* Sat Oct 10 2015 Edouard Bourguignon <madko@linuxed.net> - 2.5.1
7dcd3c1
- Update to 2.5.1
7dcd3c1
c202443
* Sun Feb 01 2015 Edouard Bourguignon <madko@linuxed.net> - 2.3-1
c202443
- Update to 2.3
c202443
ae1edc3
* Sat Jan 03 2015 Edouard Bourguignon <madko@linuxed.net> - 2.2.1-2
ae1edc3
- Upstream patch for non root build
ae1edc3
620a33b
* Fri Jan 02 2015 Edouard Bourguignon <madko@linuxed.net> - 2.2.1-1
620a33b
- Update to 2.2.1
ae1edc3
- Add glances.conf and glances-test.conf
620a33b
6456323
* Mon Oct 20 2014 Edouard Bourguignon <madko@linuxed.net> - 2.1.2-2
6456323
- Remove old python-setuptools-devel, now using python-setuptools instead
6456323
ad3e773
* Mon Oct 20 2014 Edouard Bourguignon <madko@linuxed.net> - 2.1.2-1
620a33b
- Update to 2.1.2
ad3e773
ad3e773
* Thu Aug 07 2014 Edouard Bourguignon <madko@linuxed.net> - 2.0-1
ad3e773
- Update to 2.0.0
c38ddc4
c6237fa
* Thu Jun 12 2014 Edouard Bourguignon <madko@linuxed.net> - 1.7.7-1
c6237fa
- Update to 1.7.7
c6237fa
6492463
* Wed Mar 26 2014 Edouard Bourguignon <madko@linuxed.net> - 1.7.6-1
6492463
- Update to 1.7.6
6492463
e9457ff
* Sat Mar 15 2014 Edouard Bourguignon <madko@linuxed.net> - 1.7.5-1
e9457ff
- Update to 1.7.5
e9457ff
b32fcbb
* Mon Jan 20 2014 Edouard Bourguignon <madko@linuxed.net> - 1.7.4-1
b32fcbb
- Update to 1.7.4
b32fcbb
00ab0d9
* Mon Jan 13 2014 Edouard Bourguignon <madko@linuxed.net> - 1.7.3-1
00ab0d9
- Update to 1.7.3
00ab0d9
e6b5d17
* Tue Nov 12 2013 Edouard Bourguignon <madko@linuxed.net> - 1.7.2-1
e6b5d17
- Update to 1.7.2
e6b5d17
4e85cc3
* Fri Aug 23 2013 Edouard Bourguignon <madko@linuxed.net> - 1.7.1-1
4e85cc3
- Update to 1.7.1
4e85cc3
ee3c3ac
* Sun Aug 11 2013 Edouard Bourguignon <madko@linuxed.net> - 1.7-1
ee3c3ac
- Update to 1.7
ee3c3ac
0ac6761
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.1-2
0ac6761
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
0ac6761
f14e00c
* Thu Apr 18 2013 Michel Salim <salimma@fedoraproject.org> - 1.6.1-1
f14e00c
- Update to 1.6.1
f14e00c
e5e4fa3
* Tue Mar 19 2013 Michel Salim <salimma@fedoraproject.org> - 1.6-2
e5e4fa3
- On el5, build against python26 stack
e5e4fa3
9dbd012
* Sat Mar 16 2013 Edouard Bourguignon <madko@linuxed.net> - 1.6-1
9dbd012
- Upgrade to 1.6
9dbd012
0fc06cc
* Sat Feb 23 2013 Edouard Bourguignon <madko@linuxed.net> - 1.5.2-3
0fc06cc
- Patch to fix bug #914837 (noSuchProcess)
0fc06cc
9dbd012
* Sat Jan 12 2013 Edouard Bourguignon <madko@linuxed.net> - 1.5.2-2
9dbd012
- Patch to initialize y in displayMem (bug #894347)
e4fd8bf
3111ba1
* Sun Dec 30 2012 Edouard Bourguignon <madko@linuxed.net> - 1.5.2-1
3111ba1
- Upgrade to 1.5.2
3111ba1
a095529
* Tue Nov 13 2012 Edouard Bourguignon <madko@linuxed.net> - 1.5.1-1
a095529
- Upgrade to 1.5.1 (fix compute data on el6)
a095529
7413283
* Thu Nov  8 2012 Edouard Bourguignon <madko@linuxed.net> - 1.5-1
7413283
- Upgrade to 1.5
7413283
ba84d61
* Sat Sep  1 2012 Edouard Bourguignon <madko@linuxed.net> - 1.4.1.1-1
ba84d61
- Upgrade to 1.4.1.1
ba84d61
0edf50c
* Tue Aug 21 2012 Edouard Bourguignon <madko@linuxed.net> - 1.4-2
0edf50c
- Adding missing dependencies
0edf50c
- Removing shebang in non-executable files
0edf50c
43d6faa
* Tue Aug 21 2012 Edouard Bourguignon <madko@linuxed.net> - 1.4-1
43d6faa
- Upgrade to version 1.4
43d6faa
03aff1d
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.7-3
03aff1d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
03aff1d
fc3492c
* Mon Feb 13 2012 Edouard Bourguignon <madko@linuxed.net> - 1.3.7-2
fc3492c
- Add version for python
fc3492c
7f4a178
* Thu Feb  2 2012 Edouard Bourguignon <madko@linuxed.net> - 1.3.7-1
7f4a178
- Upgrade to version 1.3.7
7f4a178
ca10d37
* Fri Jan 20 2012 Edouard Bourguignon <madko@linuxed.net> - 1.3.6-1
ca10d37
- Upgrade to version 1.3.6 (fix crash when a network intf is removed)
ca10d37
453c939
* Tue Jan 17 2012 Edouard Bourguignon <madko@linuxed.net> - 1.3.5-1
453c939
- Upgrade to version 1.3.5
a9b42ba
bcee54a
* Fri Dec 30 2011 Edouard Bourguignon <madko@linuxed.net> - 1.3.4-1
bcee54a
- Upgrade to version 1.3.4
bcee54a
bcee54a
* Fri Dec 23 2011 Edouard Bourguignon <madko@linuxed.net> - 1.3.3-1
bcee54a
- Upgrade to version 1.3.3
bcee54a
7fed062
* Wed Dec 21 2011 Edouard Bourguignon <madko@linuxed.net> - 1.3.2-1
7fed062
- Upgrade to version 1.3.2
7fed062
6a497aa
* Sat Dec 17 2011 Edouard Bourguignon <madko@linuxed.net> - 1.3.1-1
6a497aa
- Upgrade to version 1.3.1 (fix fs display)
6a497aa
706abc1
* Wed Dec 14 2011 Edouard Bourguignon <madko@linuxed.net> - 1.3-1
706abc1
- Upgrade to version 1.3
706abc1
c44be5c
* Tue Dec 13 2011 Edouard Bourguignon <madko@linuxed.net> - 1.2-1
c44be5c
- Upgrade to version 1.2
c44be5c
Edouard 11c3cc2
* Tue Dec  6 2011 Edouard Bourguignon <madko@linuxed.net> - 1.1.3-1
Edouard 11c3cc2
- Upgrade to version 1.1.3
Edouard 11c3cc2
Edouard 11c3cc2
* Tue Dec  6 2011 Edouard Bourguignon <madko@linuxed.net> - 1.1.2-2
Edouard 11c3cc2
- Fix for review
Edouard 11c3cc2
- Remove shebang from non-executable script
Edouard 11c3cc2
- Add version for libpystatgrab
Edouard 11c3cc2
- Renamed glances.py to glances
Edouard 11c3cc2
Edouard 11c3cc2
* Mon Dec  5 2011 Edouard Bourguignon <madko@linuxed.net> - 1.1.2-1
Edouard 11c3cc2
- Upgrade to 1.1.2
Edouard 11c3cc2
Edouard 11c3cc2
* Mon Dec  5 2011 Edouard Bourguignon <madko@linuxed.net> - 1.1.1-1
Edouard 11c3cc2
- Upgrade to 1.1.1
Edouard 11c3cc2
Edouard 11c3cc2
* Mon Dec  5 2011 Edouard Bourguignon <madko@linuxed.net> - 1.0-1 
Edouard 11c3cc2
- Initial version