]> git.pld-linux.org Git - packages/ncdu.git/blob - ncdu.spec
up to 1.19
[packages/ncdu.git] / ncdu.spec
1 Summary:        Text-based disk usage viewer
2 Name:           ncdu
3 Version:        1.18
4 Release:        1
5 License:        MIT
6 Group:          Applications/File
7 URL:            http://dev.yorhel.nl/ncdu/
8 Source0:        http://dev.yorhel.nl/download/%{name}-%{version}.tar.gz
9 # Source0-md5:  4186b5be477cc3a0944619ade81f123b
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  ncurses-devel
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %description
16 ncdu (NCurses Disk Usage) is a curses-based version of the well-known
17 'du', and provides a fast way to see what directories are using your
18 disk space.
19
20 %prep
21 %setup -q
22
23 %build
24 CPPFLAGS="-I/usr/include/ncurses"
25 %configure
26 %{__make}
27
28 %install
29 rm -rf $RPM_BUILD_ROOT
30 %{__make} install \
31         DESTDIR=$RPM_BUILD_ROOT
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %doc README
39 %attr(755,root,root) %{_bindir}/ncdu
40 %{_mandir}/man1/ncdu.1*
This page took 0.089152 seconds and 3 git commands to generate.