Name: prettyping Version: 1.0.1 Release: 1%{?dist} Summary: Compact, colorful ping tool for your terminal License: MIT URL: http://denilson.sa.nom.br/prettyping Source0: https://github.com/denilsonsa/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz Requires: bash coreutils gawk iputils BuildArch: noarch %description prettyping runs the standard ping in background and parses its output, showing ping responses in a graphical way at the terminal, by using colors and Unicode characters. Don’t have support for UTF-8 in your terminal? No problem, you can disable it and use standard ASCII characters instead. Don’t have support for colors? No problem, you can also disable them. %prep %setup -q sed -e 's|#!/usr/bin/env bash|#!/usr/bin/bash|' -i ./%{name} %build # Nothing to do here %install install -m 755 -d %{buildroot}%{_bindir} install -m 755 ./%{name} %{buildroot}%{_bindir}/%{name} %files %license LICENSE %{_bindir}/%{name} %changelog * Thu Jul 5 2018 Artur Iwicki - 1.0.1-1 - Initial packaging