diff --git a/README.md b/README.md index d490fd7..6dc8d49 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # ncdu +A disk usage analyzer with an ncurses interface, aimed to be run on a remote server where you don't have an entire gaphical setup, but have to do with a simple SSH connection. ncdu aims to be fast, simple and easy to use, and should be able to run in any minimal POSIX-like environment with ncurses installed. + diff --git a/ncdu.spec b/ncdu.spec new file mode 100644 index 0000000..4ac52d0 --- /dev/null +++ b/ncdu.spec @@ -0,0 +1,45 @@ +Name: ncdu +Version: 1.10 +Release: 1mamba +Summary: A disk usage analyzer with an ncurses interface, aimed to be run on a remote server +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://dev.yorhel.nl/ncdu +Source: http://dev.yorhel.nl/download/ncdu-%{version}.tar.gz +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libncurses-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A disk usage analyzer with an ncurses interface, aimed to be run on a remote server where you don't have an entire gaphical setup, but have to do with a simple SSH connection. ncdu aims to be fast, simple and easy to use, and should be able to run in any minimal POSIX-like environment with ncurses installed. + +%debug_package + +%prep +%setup -q + +%build +%configure +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/ncdu +%{_mandir}/man1/ncdu.1* +%doc COPYING + +%changelog +* Thu Apr 02 2015 Silvan Calarco 1.10-1mamba +- package created using the webbuild interface