File dfc.spec of Package dfc
#
# spec file for package dfc
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2013 Asterios Dramis <asterios.dramis@gmail.com>.
#
# 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: 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
Url: http://projects.gw-computing.net/projects/dfc/
Source0: http://projects.gw-computing.net/attachments/download/467/%{name}-%{version}.tar.gz
BuildRequires: cmake
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
dfc is a simple tool that displays file system space usage using graphs and
colors.
%prep
%setup -q
%build
%cmake \
-DSYSCONFDIR=%{_sysconfdir} \
-DDFC_DOC_PATH=%{_docdir}/%{name}
%make_jobs
%install
%cmake_install
%find_lang %{name} --with-man
%files -f %{name}.lang
%defattr(-,root,root,-)
%doc AUTHORS CHANGELOG LICENSE README
%{_bindir}/dfc
%doc %{_docdir}/dfc/
%{_mandir}/man1/dfc.1%{ext_man}
%dir %{_sysconfdir}/xdg/dfc/
%dir %{_sysconfdir}/xdg/dfc/fr/
%config(noreplace) %{_sysconfdir}/xdg/dfc/dfcrc
%config(noreplace) %{_sysconfdir}/xdg/dfc/fr/dfcrc
%changelog