2014-11-11 16:17:56 +00:00
|
|
|
#
|
|
|
|
# spec file for package k4dirstat
|
|
|
|
#
|
2020-01-13 12:36:31 +00:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2014-11-11 16:17:56 +00:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-04-02 15:31:56 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-11-11 16:17:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: k4dirstat
|
2020-07-08 17:02:26 +00:00
|
|
|
Version: 3.2.1
|
2014-11-11 16:17:56 +00:00
|
|
|
Release: 0
|
2015-09-20 15:45:20 +00:00
|
|
|
Summary: Graphical Disk Usage Utility
|
2018-05-25 20:42:08 +00:00
|
|
|
License: GPL-2.0-only AND LGPL-2.0-only
|
2014-11-11 16:17:56 +00:00
|
|
|
Group: Productivity/File utilities
|
2020-01-13 12:47:28 +00:00
|
|
|
URL: https://github.com/jeromerobert/k4dirstat
|
|
|
|
Source0: https://github.com/jeromerobert/k4dirstat/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
2020-01-13 13:06:57 +00:00
|
|
|
# PATCH-FIX-UPSTREAM
|
|
|
|
Patch0: 0001-Add-the-missing-cassert-include.patch
|
2015-09-20 15:45:20 +00:00
|
|
|
BuildRequires: kf5-filesystem
|
2018-05-25 20:42:08 +00:00
|
|
|
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}
|
2014-11-11 16:17:56 +00:00
|
|
|
%if 0%{?suse_version}
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%description
|
2015-09-20 15:45:20 +00:00
|
|
|
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
|
|
|
|
graphically.
|
2014-11-11 16:17:56 +00:00
|
|
|
|
2014-11-11 16:31:07 +00:00
|
|
|
%lang_package
|
2015-09-20 15:45:20 +00:00
|
|
|
|
2014-11-11 16:17:56 +00:00
|
|
|
%prep
|
2020-01-13 13:06:57 +00:00
|
|
|
%autosetup -p1
|
2014-11-11 16:17:56 +00:00
|
|
|
|
|
|
|
%build
|
2015-09-20 15:45:20 +00:00
|
|
|
%cmake_kf5 -d build
|
2014-11-11 16:17:56 +00:00
|
|
|
%make_jobs
|
|
|
|
|
|
|
|
%install
|
2015-09-20 15:45:20 +00:00
|
|
|
%kf5_makeinstall -C build
|
2014-11-11 16:17:56 +00:00
|
|
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
%suse_update_desktop_file -r k4dirstat Qt KDE Utility Filesystem
|
|
|
|
%endif
|
|
|
|
|
2014-11-11 16:31:07 +00:00
|
|
|
%find_lang k4dirstat %{name}.lang
|
|
|
|
|
2014-11-11 16:17:56 +00:00
|
|
|
%files
|
2018-05-25 20:42:08 +00:00
|
|
|
%license COPYING*
|
2020-01-13 12:36:45 +00:00
|
|
|
%doc AUTHORS CREDITS
|
2015-09-20 15:45:20 +00:00
|
|
|
%doc %lang(en) %{_kf5_htmldir}/en/k4dirstat
|
2018-05-25 20:42:08 +00:00
|
|
|
%dir %{_kf5_configkcfgdir}
|
2015-09-20 15:45:20 +00:00
|
|
|
%{_kf5_applicationsdir}/k4dirstat.desktop
|
|
|
|
%{_kf5_bindir}/k4dirstat
|
|
|
|
%{_kf5_configkcfgdir}/k4dirstat.kcfg
|
|
|
|
%{_kf5_iconsdir}/hicolor/*/apps/k4dirstat.*
|
|
|
|
%{_kf5_mandir}/man1/k4dirstat.*
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%exclude %{_kf5_htmldir}/en/k4dirstat
|
2014-11-11 16:17:56 +00:00
|
|
|
|
|
|
|
%changelog
|