File prettyping.spec of Package prettyping

#
# spec file for package prettyping
#
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
#
# 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/
#


Name:           prettyping
Version:        1.0.1
Release:        0
Summary:        A wrapper around the standard 'ping' tool
License:        MIT
Group:          Productivity/Networking/Diagnostic
Url:            http://denilson.sa.nom.br/prettyping/
Source:         https://github.com/denilsonsa/prettyping/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
prettyping is a wrapper around the standard ping tool, making the output
prettier, more colorful, more compact, and easier to read.
It 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).

%prep
%setup -q
sed -i 's|#!/usr/bin/env bash|#!/bin/bash|' prettyping

%build
/bin/true

%install
install -Dpm 0755 prettyping %{buildroot}/%{_bindir}/prettyping

%files
%defattr(-,root,root)
%doc README.md
%{_bindir}/prettyping

%changelog
openSUSE Build Service is sponsored by