File pydf.spec of Package pydf

# spec file for package pydf
# Copyright (c) 2017 SUSE LINUX 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

Name:           pydf
Version:        12
Release:        0
Summary:        Fully colorized df clone written in python
License:        SUSE-Public-Domain
Group:          System/Monitoring
BuildArch:      noarch

pydf displays the amount of used and available space on your file systems,
just like df, but in colors. The output format is completely customizable.

%setup -q
# use python3 by default
sed -i "s|%{_bindir}/python|%{_bindir}/python3|g" pydf


install -Dpm 0755 pydf   \
install -Dpm 0644 pydfrc \
install -Dpm 0644 pydf.1 \

%config(noreplace) %{_sysconfdir}/pydfrc

openSUSE Build Service is sponsored by