k4dirstat/k4dirstat.spec

75 lines
2.0 KiB
RPMSpec
Raw Normal View History

#
# 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: git.20101010
Release: 0
Summary: A graphical "du" (disk usage) display
License: GPL-2.0 and LGPL-2.0
Group: Productivity/File utilities
Url: http://grumpypenguin.org/
# git clone http://grumpypenguin.org/~josh/kdirstat.git
Source0: kdirstat-%{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.
%prep
%setup -q -n kdirstat
%build
%cmake_kde4 -d build
%make_jobs
%install
cd build
%kde4_makeinstall
cd ..
%if 0%{?suse_version}
%suse_update_desktop_file -r k4dirstat Qt KDE Utility Filesystem
%endif
%kde_post_install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING* CREDITS README TODO
%{_kde4_bindir}/k4dirstat
%{_kde4_applicationsdir}/k4dirstat.desktop
%doc %{_kde4_htmldir}/en/k4dirstat/
%{_kde4_iconsdir}/hicolor/*/apps/k4dirstat.png
%{_kde4_appsdir}/k4dirstat/
%{_kde4_sharedir}/config.kcfg/k4dirstat.kcfg
%changelog