]> git.pld-linux.org Git - packages/iotop.git/blob - iotop.spec
switch to python3; rel 2
[packages/iotop.git] / iotop.spec
1 Summary:        Top like utility for I/O
2 Summary(hu.UTF-8):      Top-szerű program I/O-hoz
3 Summary(pl.UTF-8):      Narzędzie podobne do topa dla I/O
4 Name:           iotop
5 Version:        0.6
6 Release:        2
7 License:        GPL v2
8 Group:          Applications/System
9 Source0:        http://guichaz.free.fr/iotop/files/%{name}-%{version}.tar.bz2
10 # Source0-md5:  5ef9456b26d7694abf3101a72e1e0d1d
11 Patch0:         status-value-error.patch
12 Patch1:         python3.patch
13 URL:            http://guichaz.free.fr/iotop/
14 BuildRequires:  python3-devel
15 BuildRequires:  rpm-pythonprov
16 BuildRequires:  rpmbuild(macros) >= 1.219
17 Requires:       python3
18 Requires:       python3-modules
19 Requires:       uname(release) >= 2.6.20
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Linux has always been able to show how much I/O was going on (the bi
25 and bo columns of the vmstat 1 command). iotop is a Python program
26 with a top like UI used to show of behalf of which process is the I/O
27 going on.
28
29 %description -l hu.UTF-8
30 A Linux mindig biztosította a lehetőségét annak, hogy figyelemmel
31 kövesd, mennyi I/O művelet zajlik (a bi és a bo oszlopa a vmstat 1
32 parancsnak). iotop egy Python program, top-szerű felülettel, amely a
33 processzek I/O műveleteit mutatja.
34
35 %description -l pl.UTF-8
36 Linux od zawsze był w stanie pokazać ilośc wykonywanych operacji we/wy
37 (kolumny bi i bo polecenia vmstat 1). iotop jest napisanym w języku
38 Python narzędziem z interfejsem zbliżonym do programu top,
39 wyświetlającym, dla których procesów wykonywane są operacje we/wy.
40
41 %prep
42 %setup -q
43 %patch0 -p1
44 %patch1 -p1
45
46 %build
47 %py3_build
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 install -d $RPM_BUILD_ROOT%{_sbindir}
53
54 %py3_install
55
56 %{__mv} $RPM_BUILD_ROOT{%{_bindir},%{_sbindir}}/iotop
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61 %files
62 %defattr(644,root,root,755)
63 %doc NEWS THANKS
64 %attr(755,root,root) %{_sbindir}/iotop
65 %{_mandir}/man8/iotop.8*
66 %{py3_sitescriptdir}/iotop
67 %{py3_sitescriptdir}/iotop-%{version}-py*.egg-info
This page took 0.082948 seconds and 3 git commands to generate.