File qdirstat.spec of Package qdirstat

# spec file for package qdirstat
# Copyright (c) 2016-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:           qdirstat
Version:        1.2
Release:        0
Summary:        Directory Statistics
License:        GPL-2.0
Group:          Productivity/File utilities
Source0:        %{name}-%{version}.tar.bz2
BuildRequires:  libQt5Core-devel
BuildRequires:  libQt5Widgets-devel
BuildRequires:  libqt5-qtbase-common-devel
BuildRequires:  update-desktop-files
BuildRequires:  zlib-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

QDirStat is a graphical application to show where your disk space has gone and
to help you to clean it up.

This is a Qt-only port of the old Qt3/KDE3-based KDirStat, now based on the
latest Qt 5. It does not need any KDE libs or infrastructure. It runs on every
X11-based desktop on Linux, BSD and other Unix-like systems.

QDirStat has a number of new features compared to KDirStat. To name a few:

- Multi-selection in both the tree and the treemap.
- Unlimited number of user-defined cleanup actions.
- Properly show errors of cleanup actions (and their output, if desired).
- File categories (MIME types) and their treemap color are now configurable.
- Exclude rules for directories are easily configurable.
- Desktop-agnostic; no longer relies on KDE or any other specific desktop.

For more details and screenshots, see

and the local documentation in


%setup -q


make install INSTALL_ROOT=%{buildroot} %{?_smp_mflags}

# install -D -m644 src/icons/qdirstat.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/qdirstat.png
# %suse_update_desktop_file -N "QDirStat" -G "Directory Statistics" %name Filesystem

%doc LICENSE doc/cache-file-format.txt

openSUSE Build Service is sponsored by