From 7526424e6dfc1bf022695284002392b291c93259 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 16:21:10 +0100 Subject: [PATCH] automatic version update by autodist [release 2.1.1-1mamba;Wed May 07 2014] --- README.md | 22 +++++++++++ python-psutil.spec | 91 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 python-psutil.spec diff --git a/README.md b/README.md index c4ee24c..d6bf085 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,24 @@ # python-psutil +psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, memory, disks, network, users) in a portable way by using Python, implementing many functionalities offered by command line tools such as: + - ps + - top + - df + - kill + - free + - lsof + - netstat + - ifconfig + - nice + - ionice + - iostat + - iotop + - uptime + - pidof + - tty + - who + - taskset + - pmap +It currently supports Linux, Windows, OSX and FreeBSD, both 32-bit and 64-bit, with Python versions from 2.4 to 3.3 by using a single code base. +Pypy is also known to work. + diff --git a/python-psutil.spec b/python-psutil.spec new file mode 100644 index 0000000..2953994 --- /dev/null +++ b/python-psutil.spec @@ -0,0 +1,91 @@ +Name: python-psutil +Version: 2.1.1 +Release: 1mamba +Summary: A cross-platform process and system utilities module for Python +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://code.google.com/p/psutil/ +Source: https://pypi.python.org/packages/source/p/psutil/psutil-%{version}.tar.gz +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +BuildRequires: gcc +Requires: python >= %python_version +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, memory, disks, network, users) in a portable way by using Python, implementing many functionalities offered by command line tools such as: + - ps + - top + - df + - kill + - free + - lsof + - netstat + - ifconfig + - nice + - ionice + - iostat + - iotop + - uptime + - pidof + - tty + - who + - taskset + - pmap +It currently supports Linux, Windows, OSX and FreeBSD, both 32-bit and 64-bit, with Python versions from 2.4 to 3.3 by using a single code base. +Pypy is also known to work. + +%prep +%setup -q -n psutil-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + # --single-version-externally-managed + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%files -f %{name}.filelist +%defattr(-,root,root) +%doc CREDITS LICENSE + +%changelog +* Wed May 07 2014 Automatic Build System 2.1.1-1mamba +- automatic version update by autodist + +* Sat Apr 12 2014 Automatic Build System 2.1.0-1mamba +- automatic version update by autodist + +* Tue Mar 11 2014 Automatic Build System 2.0.0-1mamba +- automatic version update by autodist + +* Sat Dec 07 2013 Automatic Build System 1.2.1-1mamba +- automatic version update by autodist + +* Sun Nov 10 2013 Automatic Build System 1.1.3-1mamba +- automatic version update by autodist + +* Wed Oct 30 2013 Automatic Build System 1.1.2-1mamba +- automatic version update by autodist + +* Sat Oct 12 2013 Automatic Build System 1.1.1-1mamba +- update to 1.1.1 + +* Sun Jul 14 2013 Automatic Build System 1.0.1-1mamba +- automatic version update by autodist + +* Sat Jun 08 2013 Davide Madrisan 0.7.1-1mamba +- package created by davide using the webbuild interface