From 11c3cc2446b67c6bc5eefd21c711a49bc3f7c3da Mon Sep 17 00:00:00 2001 From: Edouard Date: Dec 06 2011 19:04:49 +0000 Subject: initial import --- diff --git a/glances.spec b/glances.spec new file mode 100644 index 0000000..e0e2a47 --- /dev/null +++ b/glances.spec @@ -0,0 +1,67 @@ +Name: glances +Version: 1.1.3 +Release: 1%{?dist} +Summary: CLI curses based monitoring tool + +Group: Applications/System +License: GPLv3 +URL: https://github.com/nicolargo/glances +Source0: https://github.com/downloads/nicolargo/%{name}/%{name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) + +BuildRequires: automake +BuildRequires: python-devel +Requires: pystatgrab >= 0.5 + +%description +Glances is a CLI curses based monitoring tool for both GNU/Linux and BSD. + +Glances uses the libstatgrab library to get information from your system. +Glances is developed in Python and uses the python-statgrab lib. + + +%prep +%setup -q + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} +rm -rf %{buildroot}/usr/doc/glances +sed -i '1d' %{buildroot}/%{python_sitelib}/%{name}/%{name}.py +mv %{buildroot}/%{_bindir}/glances.py %{buildroot}/%{_bindir}/glances + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING README ChangeLog +%{_bindir}/glances +%{python_sitelib}/glances + +%changelog +* Tue Dec 6 2011 Edouard Bourguignon - 1.1.3-1 +- Upgrade to version 1.1.3 + +* Tue Dec 6 2011 Edouard Bourguignon - 1.1.2-2 +- Fix for review +- Remove shebang from non-executable script +- Add version for libpystatgrab +- Renamed glances.py to glances + +* Mon Dec 5 2011 Edouard Bourguignon - 1.1.2-1 +- Upgrade to 1.1.2 + +* Mon Dec 5 2011 Edouard Bourguignon - 1.1.1-1 +- Upgrade to 1.1.1 + +* Mon Dec 5 2011 Edouard Bourguignon - 1.0-1 +- Initial version diff --git a/sources b/sources index e69de29..662cd3a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +14b42ed91444ad4eefe702fa67838223 glances-1.1.3.tar.gz