File ncdu.spec of Package ncdu

# vim: set sw=4 ts=4 et:
#
# spec file for package ncdu
#
# 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:           ncdu
Version:        1.10
Release:        0
Summary:        NCurses Disk Usage
License:        MIT
Group:          System/Filesystems
Url:            http://dev.yorhel.nl/ncdu/
Source0:        http://dev.yorhel.nl/download/ncdu-%{version}.tar.gz
Source1:        http://dev.yorhel.nl/download/ncdu-%{version}.tar.gz.asc
Source2:        %{name}.keyring
BuildRequires:  ncurses-devel
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
ncdu (NCurses Disk Usage) is a curses-based version of
the well-known 'du', and provides a fast way to see what
directories are using your disk space.

%prep
%setup -q

%build
%configure
%__make %{?_smp_flags}

%install
%makeinstall

%clean
%{?buildroot:%__rm -rf "%{buildroot}"}

%files
%defattr(-,root,root,0755)
%doc ChangeLog README COPYING
%doc %{_mandir}/man1/%{name}.1*
%{_bindir}/%{name}

%changelog
openSUSE Build Service is sponsored by