File dfc.spec of Package dfc

# spec file for package dfc
# Copyright (c) 2015 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.0.5
Release:        0
Summary:        Display file system space usage using graphs and colors
License:        BSD-3-Clause
Group:          Productivity/File utilities
BuildRequires:  cmake
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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

%setup -q

%cmake \
  -DSYSCONFDIR=%{_sysconfdir} \


%find_lang %{name} --with-man

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