2011-11-03 23:01:23 +01:00
|
|
|
# vim: set sw=4 ts=4 et:
|
2011-11-03 22:59:55 +01:00
|
|
|
#
|
|
|
|
# This file and all modifications and additions to the pristine
|
|
|
|
# package are under the same license as the package itself.
|
|
|
|
#
|
|
|
|
|
|
|
|
Name: ncdu
|
|
|
|
Version: 1.8
|
|
|
|
Release: 1
|
|
|
|
Summary: NCurses Disk Usage
|
|
|
|
Group: System/Filesystems
|
|
|
|
License: MIT
|
|
|
|
URL: http://dev.yorhel.nl/ncdu/
|
|
|
|
Source: http://dev.yorhel.nl/download/ncdu-%{version}.tar.gz
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
|
|
|
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
|
2011-11-03 23:01:23 +01:00
|
|
|
%__make %{?_smp_flags}
|
2011-11-03 22:59:55 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
2011-11-03 23:01:23 +01:00
|
|
|
%{?buildroot:%__rm -rf "%{buildroot}"}
|
2011-11-03 22:59:55 +01:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%doc ChangeLog README COPYING
|
2011-11-03 23:01:23 +01:00
|
|
|
%doc %{_mandir}/man1/%{name}.1*
|
2011-11-03 22:59:55 +01:00
|
|
|
%{_bindir}/%{name}
|
|
|
|
|
|
|
|
%changelog
|