File dfc.spec of Package dfc

# spec file for package dfc
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Asterios Dramis <>.
# 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:           dfc
Version:        3.1.1
Release:        0
Summary:        Display file system space usage using graphs and colors
License:        BSD-3-Clause
Group:          Productivity/File utilities
BuildRequires:  cmake
Recommends:     %{name}-lang

dfc is a simple tool that displays file system space usage using graphs and


%setup -q

%cmake \
  -DSYSCONFDIR=%{_sysconfdir} \

%find_lang %{name} --with-man

%dir %{_sysconfdir}/xdg/dfc/
%config(noreplace) %{_sysconfdir}/xdg/dfc/dfcrc

%files lang -f %{name}.lang
%dir %{_sysconfdir}/xdg/dfc/
%dir %{_sysconfdir}/xdg/dfc/fr/
%config(noreplace) %{_sysconfdir}/xdg/dfc/fr/dfcrc
%dir %{_sysconfdir}/xdg/dfc/nl/
%config(noreplace) %{_sysconfdir}/xdg/dfc/nl/dfcrc

openSUSE Build Service is sponsored by