OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/k4dirstat?expand=0&rev=2
73 lines
2.1 KiB
RPMSpec
73 lines
2.1 KiB
RPMSpec
#
|
|
# spec file for package k4dirstat
|
|
#
|
|
# Copyright (c) 2013 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: k4dirstat
|
|
Version: 2.7.8
|
|
Release: 0
|
|
Summary: A graphical "du" (disk usage) display
|
|
License: GPL-2.0 and LGPL-2.0
|
|
Group: Productivity/File utilities
|
|
Url: https://bitbucket.org/jeromerobert/k4dirstat/wiki/Home
|
|
Source0: https://bitbucket.org/jeromerobert/k4dirstat/get/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: libkde4-devel
|
|
BuildRequires: libkonq-devel
|
|
%if 0%{?suse_version}
|
|
BuildRequires: update-desktop-files
|
|
%endif
|
|
%kde4_runtime_requires
|
|
|
|
%description
|
|
KDirStat is a graphical disk usage utility, very much like the Unix "du"
|
|
command. In addition to that, it comes with some cleanup facilities to reclaim
|
|
disk space.
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q -n jeromerobert-k4dirstat-3a4663ee20e7
|
|
|
|
%build
|
|
%cmake_kde4 -d build
|
|
%make_jobs
|
|
|
|
%install
|
|
%kde4_makeinstall -C build
|
|
|
|
%if 0%{?suse_version}
|
|
%suse_update_desktop_file -r k4dirstat Qt KDE Utility Filesystem
|
|
%endif
|
|
|
|
%kde_post_install
|
|
|
|
%find_lang k4dirstat %{name}.lang
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%doc AUTHORS COPYING* CREDITS TODO
|
|
%doc %{_kde4_htmldir}/en/k4dirstat/
|
|
%{_kde4_applicationsdir}/k4dirstat.desktop
|
|
%{_kde4_appsdir}/k4dirstat/
|
|
%{_kde4_bindir}/k4dirstat
|
|
%{_kde4_iconsdir}/hicolor/*/apps/k4dirstat.png
|
|
%{_kde4_sharedir}/config.kcfg/k4dirstat.kcfg
|
|
|
|
%changelog
|