ncdu/ncdu.spec

56 lines
1.5 KiB
RPMSpec
Raw Normal View History

# vim: set sw=4 ts=4 et:
#
# spec file for package ncdu
#
# Copyright (c) 2012 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.8
Release: 0
Summary: NCurses Disk Usage
License: MIT
Group: System/Filesystems
Url: http://dev.yorhel.nl/ncdu/
Source: http://dev.yorhel.nl/download/ncdu-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: ncurses-devel
%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