diff --git a/ncdu-1.14.2.tar.gz b/ncdu-1.14.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..5eab3b0987300c383f9032634bcc691b21069ba7 Binary files /dev/null and b/ncdu-1.14.2.tar.gz differ diff --git a/ncdu.spec b/ncdu.spec new file mode 100644 index 0000000000000000000000000000000000000000..f7f82a3e4687d410bf20cad3581a893d0b88e80a --- /dev/null +++ b/ncdu.spec @@ -0,0 +1,48 @@ +Name: ncdu +Version: 1.14.2 +Release: 1 +Summary: Ncdu is a disk usage analyzer with an ncurses interface +License: GPLv2+ +URL: https://dev.yorhel.nl/ncdu +Source0: https://dev.yorhel.nl/download/%{name}-%{version}.tar.gz + +BuildRequires: ncurses-devel + +%description +cdu is a disk usage analyzer with an ncurses interface. It is designed to find +space hogs on a remote server where you don't have an entire graphical setup +available, but it is a useful tool even on regular desktop systems. 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 + +%package_help + +%prep +%setup -q -n %{name}-%{version}/ + +%build +%configure +make + +%install +make install DESTDIR="%{buildroot}" + +%pre +%preun +%post +%postun + +%check + +%files +%license COPYING +%doc README +%{_bindir}/%{name} + +%files help +%{_mandir}/man1/%{name}.1* + +%changelog +* Sun Mar 29 2020 Wei Xiong +- Package init +