From 842d7137ec46238f9b6833916b556ce72000d05a Mon Sep 17 00:00:00 2001 From: Boian Bonev Date: Tue, 10 Nov 2020 21:44:11 +0200 Subject: [PATCH] initial release version 1.15 --- .gitignore | 1 + iotop-1.15.tar.xz.asc | 16 +++++++++++++ iotop-c.spec | 56 +++++++++++++++++++++++++++++++++++++++++++ signing-key.asc | 51 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 5 files changed, 125 insertions(+) create mode 100644 .gitignore create mode 100644 iotop-1.15.tar.xz.asc create mode 100644 iotop-c.spec create mode 100644 signing-key.asc create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b185c21 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/iotop-1.15.tar.xz diff --git a/iotop-1.15.tar.xz.asc b/iotop-1.15.tar.xz.asc new file mode 100644 index 0000000..b8e3862 --- /dev/null +++ b/iotop-1.15.tar.xz.asc @@ -0,0 +1,16 @@ +-----BEGIN PGP SIGNATURE----- + +iQIzBAABCgAdFiEEumC8IPN+WURNbSUAE2VyCRPS8i0FAl+DpTAACgkQE2VyCRPS +8i23ow/9E/4KBU1Q690AwdC8gXyyyw+2alK8exVotuys+EEWUcyr/6QWRfJzLzRY +kbTzuLbNCjh6Q1nhL2S0JfhL8NZuh5LoRByB24T7rEYu1pKi0MMEN3dLGNVGvp9P +5mRssm9SSqgbrIAqBw5jyP9m1ocEyijf17zOgT59kl3RHBuBfgjprM+97Zr/V70N ++DNarso8X6H6IaIOfTL9Crn6K+6QOD/hOdYSDJRhS+iWQ4SjPo0BiWREPhIuGo7w +x7oj7VGo5Lb+ai3cr9bT3zTbgwwm1ho+tkPGWKuAIGXl/PQY3vdsELOFGt1YhOVA +qeSnnBi3gMoYuzMEAMrxH7WbfZ7bwKCvPfdhrQ5kpiyM1qYgxyTe+1SYOmSqro3t +UonEzw5S3CMo5XbyCjNw3EtDXPFbH5ezpZShEhPXqiqOWEfT5yVOjKa2tKfjRfR7 +sN/Sjvqv+05IyMaoczndSKG3wj3+jGPdRuIkgU09X0xMwKdzmTc5lFX2TQozVP9x +1Xtk9X4izLAuFzzx0zLY4zxPNf8mXLWpajITSifk0FVOfvF9VLs1S+nGEp7CPxQh +VsIm6GgewTovMU8wf2FZe3tZNRVOwrjd+2GIvsWMhAX37nmLjpqUm3OMHJpCVJnM +aH6THKQFwqoBKkwykYZhWDaMnRkHqnt6y2hIL2d2W8dC0HEiT1M= +=T5hk +-----END PGP SIGNATURE----- diff --git a/iotop-c.spec b/iotop-c.spec new file mode 100644 index 0000000..244dfc9 --- /dev/null +++ b/iotop-c.spec @@ -0,0 +1,56 @@ +Name: iotop-c +Version: 1.15 +Release: 1%{?dist} +Summary: Simple top-like I/O monitor (implemented in C) + +License: GPLv2+ +URL: https://github.com/Tomas-M/iotop/ +Source0: https://github.com/Tomas-M/iotop/releases/download/v%{version}/iotop-%{version}.tar.xz +Source1: https://github.com/Tomas-M/iotop/releases/download/v%{version}/iotop-%{version}.tar.xz.asc +Source2: https://raw.githubusercontent.com/Tomas-M/iotop/v%{version}/debian/upstream/signing-key.asc + +BuildRequires: gcc +BuildRequires: gnupg2 +BuildRequires: ncurses-devel +BuildRequires: make +BuildRequires: pkgconfig(ncursesw) + +%description +iotop-c does for I/O usage what top(1) does for CPU usage. It watches I/O +usage information output by the Linux kernel and displays a table of +current I/O usage by processes on the system. It is handy for answering +the question "Why is the disk churning so much?". + +iotop-c requires a Linux kernel built with the CONFIG_TASKSTATS, +CONFIG_TASK_DELAY_ACCT, CONFIG_TASK_IO_ACCOUNTING and +CONFIG_VM_EVENT_COUNTERS config options on. + +iotop-c is an alternative re-implementation of iotop in C, optimized for +performance. Normally a monitoring tool intended to be used on a system +under heavy stress should use the least additional resources as +possible. + +%global _hardened_build 1 + +%prep +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' +%autosetup -n iotop-%{version} + +%build +%set_build_flags +NO_FLTO=1 %make_build + +%install +V=1 STRIP=: %make_install +mv %{buildroot}%{_sbindir}/iotop %{buildroot}%{_sbindir}/iotop-c +mv %{buildroot}%{_mandir}/man8/iotop.8 %{buildroot}%{_mandir}/man8/iotop-c.8 + +%files +%license COPYING +%license LICENSE +%{_sbindir}/iotop-c +%{_mandir}/man8/iotop-c.8* + +%changelog +* Sat Sep 26 2020 Boian Bonev - 1.15-1 +- Initial packaging for Fedora diff --git a/signing-key.asc b/signing-key.asc new file mode 100644 index 0000000..997b245 --- /dev/null +++ b/signing-key.asc @@ -0,0 +1,51 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBF73z/QBEAC5apkXymol8u4Kot1y1u3H1WUcziqNQSkaNl8nbULFXQjc0nnq +xLWqM/A0muw5VnnrJdGTTpoqgqx4BdZoiZtY72oUGB6pXscOoGyJvGMR3u00tKT2 +gSbcNWfhyNhwjDaBfHR5B6+vQwzjhiPHay6hP/st8xMvxJJFnwbE8FR2XXyiytAK +FcFWFdONOtJDmsrno6rps2cPhOirZElKFJJ9jJzetqswZ8K5FqR5WHCJ6K8JTayc +PeZdfNBwfpyrlZJ+W7yDti8q7csWegReM9NlB3Pg34YWVKB3Vq2vIrzhRRFAA23t +XEqwKTXmqoMKQLZDKYlg2v9F3bM9iDWHboVXRh//ie6390KEf5fDyJ7Y4aXyKe/4 +hBUWa3F/8D2am3kabQndGyTsRD9zbHJLMWVBDfk4ZNzpkNKm+TZoX4l8/JTcWqeM +ZO2/ppeKSFl3uKYiQf0Jw4Ka5VMdmjQxO/JL/WX4k3YkUc1bJHrunudxHpammcCq +5Rm3hVPpdai5juq+mmCvH4WV3dRYepdN1yrCNsZpsBzSmvwXDaGjtKjX5H2vA+jT +FLR1g+rHd6uO+e2PgunmJnMTOuzgHIfHirRWYII3HdMfRelUrQOKsi5L3GiB0stR +HWcbjSDToQjqI2ZE1gCzdOZsKDvEk5HuA6eKkEqk3baAzksGWH/jlOdMkQARAQAB +tB9Cb2lhbiBCb25ldiA8YmJvbmV2QGlwYWNjdC5jb20+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A6uZFAh8CDS/CDk9Eg1nOV +DIuDMbZnOFsrFEVKz/N2w5s+8ks0jJhUe079foi1E8KhKcPRWmIM7E2wUpUFlpaP +pjMtDqLcAACn9U2ndZXo/cuFwXK6ZIbGc5fJRctRZImDZwEXyPvZ+I6XAQ== +=S4PI +-----END PGP PUBLIC KEY BLOCK----- diff --git a/sources b/sources new file mode 100644 index 0000000..82b7137 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (iotop-1.15.tar.xz) = 4b4e10d1a27fa8a896c39b9e1d57ce0a6063d1d51f74896053a4062d8c23d97bd59825cd41205a9d77f7b5706bd25d093eb99dc24e52422ba33af636e99318c2