A new user interface for you!

File k4dirstat.spec of Package k4dirstat5

# spec file for package k4dirstat
# Copyright (c) 2019 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 http://bugs.opensuse.org/

Name:           k4dirstat5
Version:        3.1.4
Release:        0
Summary:        Graphical Disk Usage Utility
License:        GPL-2.0-only AND LGPL-2.0-only
Group:          Productivity/File utilities
URL:            https://bitbucket.org/jeromerobert/k4dirstat/wiki/Home
Source0:        https://bitbucket.org/jeromerobert/k4dirstat/get/k4dirstat-%{version}.tar.bz2
BuildRequires:  kf5-filesystem
BuildRequires:  zlib-devel
BuildRequires:  cmake(KF5CoreAddons)
BuildRequires:  cmake(KF5DocTools)
BuildRequires:  cmake(KF5I18n)
BuildRequires:  cmake(KF5IconThemes)
BuildRequires:  cmake(KF5JobWidgets)
BuildRequires:  cmake(KF5KIO)
BuildRequires:  cmake(KF5XmlGui)
BuildRequires:  cmake(Qt5Core)
BuildRequires:  cmake(Qt5Gui)
BuildRequires:  cmake(Qt5Widgets)
Recommends:     k4dirstat-lang = %{version}
%if 0%{?suse_version}
BuildRequires:  update-desktop-files

K4DirStat (KDE Directory Statistics) is a small utility program that sums up
disk usage for directory trees, very much like the Unix 'du' command. It
displays the disk space used up by a directory tree, both numerically and


%setup -q -n jeromerobert-k4dirstat-0fd87f361645

%cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}

%kf5_makeinstall -C build

%if 0%{?suse_version}
%suse_update_desktop_file -r k4dirstat Qt KDE Utility Filesystem

%kf5_find_lang k4dirstat %{name}.lang

%license COPYING*
%doc %lang(en) %{_kf5_htmldir}/en/k4dirstat
%dir %{_kf5_configkcfgdir}

%files lang -f %{name}.lang
%exclude %{_kf5_htmldir}/en/k4dirstat