Package python-module-psutil: Specfile

%define oname psutil

Name: python-module-%oname
Version: 0.1.3
Release: alt1

Summary: A process utilities module for Python

License: BSD
Group: Development/C
Url: http://code.google.com/p/psutil/

BuildArch: noarch

# It is new feature etersoft-build-utils since 1.7.6: supports commented real url
# Source-url: http://psutil.googlecode.com/files/%oname-%version.tar.gz
Source: %oname-%version.tar

%add_python_req_skip _psutil_bsd _psutil_mswindows _psutil_osx pywintypes win32com

# Automatically added by buildreq on Wed Sep 08 2010
BuildRequires: python-devel

BuildPreReq: rpm-build-python


%setup_python_module %oname

%description
psutil is a module providing an interface for retrieving information on running
processes and system utilization (CPU, memory) in a portable way by using
Python, implementing many functionalities offered by tools like ps, top and
Windows task manager.

%prep
%setup -n %oname-%version

%build
%python_build

%install
%python_install

%files
%doc README LICENSE
%python_sitelibdir/%oname/
%python_sitelibdir/*.egg-info

%changelog
* Wed Sep 08 2010 Vitaly Lipatov <lav@altlinux.ru> 0.1.3-alt1
- initial build for ALT Linux Sisyphus