Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.2
iotop
iotop.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File iotop.spec of Package iotop
# # spec file for package iotop # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} Name: iotop Version: 0.4.4 Release: 1 Summary: Top Like UI to Show Per-Process I/O Going on Source: http://guichaz.free.fr/iotop/files/iotop-%{version}.tar.bz2 Source1: %{name}-rpmlintrc Url: http://guichaz.free.fr/iotop/ Group: System/Monitoring License: GPL-2.0 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-devel >= 2.5 Requires: python-curses %if 0%{?suse_version} >= 1120 BuildArch: noarch %endif %py_requires %description Linux has always been able to show how much I/O was going on (the bi and bo columns of the vmstat 1 command). Iotop is a Python program with a UI similar to top to show on behalf of which process is the I/O going on. %prep %setup -q %build %__python setup.py build %install # Copied from: http://trac.edgewall.org/ticket/1141 # this file is *inserted* into the install section of the generated # spec file # this is, what dist.py normally does %__python setup.py install --prefix="%{_prefix}" --root="%{buildroot}" --record="INSTALLED_FILES" # catch compressed man pages %__sed -i -e 's@\(.\+/man/man[[:digit:]]/.\+\.[[:digit:]]\)$@\1*@' "INSTALLED_FILES" # catch any compiled python files (.pyc, .pyo), but don't list them twice %__sed -i -e 's@\(.\+\)\.py$@\1.py*@' \ -e '/.\+\.pyc$/d' \ "INSTALLED_FILES" echo "%dir %{python_sitelib}/iotop" >> INSTALLED_FILES %clean %{?buildroot:%__rm -rf "%{buildroot}"} %files -f INSTALLED_FILES %defattr(-,root,root) %doc COPYING NEWS THANKS %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor