File kdirstat.spec of Package kdirstat
#
# spec file for package kdirstat
#
# Copyright (c) 2014 SUSE LINUX Products 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: kdirstat
BuildRequires: kdelibs3-devel
Url: http://kdirstat.sourceforge.net
Summary: Graphical Directory Statistics for Used Disk Space
License: GPL-2.0+
Group: Productivity/File utilities
Version: 2.4.4
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: kdirstat-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM fix-CVE-2014-2528.diff -- fix performance issue with Klipper see https://bugs.kde.org/show_bug.cgi?id=238084
Patch0: fix-CVE-2014-2528.diff
%description
KDirStat (KDE Directory Statistics) is a utility program that sums up
disk usage for directory trees--very much like the Unix 'du' command.
It can also help you clean up used space.
Authors:
--------
Stefan Hundhammer <sh@suse.de>
%prep
%setup -q
%patch0
%build
. /etc/opt/kde3/common_options
update_admin --no-unsermake
./configure $configkde --disable-final
make %{?jobs:-j %jobs}
%install
. /etc/opt/kde3/common_options
make DESTDIR=$RPM_BUILD_ROOT $INSTALL_TARGET
%if %suse_version < 1010
%suse_update_desktop_file %name Filesystem
%else
%suse_update_desktop_file -N "KDirStat" -G "Directory Statistics" %name Filesystem
%endif
kde_post_install
%find_lang %name
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %name.lang
%defattr(-,root,root)
%doc COPYING AUTHORS ChangeLog TODO README
/opt/kde3/bin/kdirstat
/opt/kde3/share/apps/kdirstat
/opt/kde3/share/appl*/*/kdirstat*
/opt/kde3/share/doc/HTML/*/kdirstat/
%dir /opt/kde3/share/icons/hicolor/16x16
%dir /opt/kde3/share/icons/hicolor/16x16/apps
%dir /opt/kde3/share/icons/hicolor/32x32
%dir /opt/kde3/share/icons/hicolor/32x32/apps
/opt/kde3/share/icons/??color/??x??/*/kdirstat*
%dir /opt/kde3/share/apps/kconf_update
/opt/kde3/share/apps/kconf_update/kdirstat.upd
/opt/kde3/share/apps/kconf_update/fix_move_to_trash_bin.pl
%changelog