1 |
blue_prawn |
320208 |
Name: dutop |
2 |
|
|
Version: 1.0.0 |
3 |
|
|
Release: %mkrel 1 |
4 |
|
|
Summary: Disk usage top |
5 |
|
|
License: BSD |
6 |
|
|
Group: File tools |
7 |
|
|
URL: https://github.com/MyLifeLabs/dutop |
8 |
|
|
Source0: MyLifeLabs-dutop-v%{version}-0-gff8c25a.tar.gz |
9 |
|
|
# https://github.com/MyLifeLabs/dutop/tarball/master |
10 |
|
|
BuildRequires: ocaml-compiler |
11 |
|
|
|
12 |
|
|
%description |
13 |
|
|
dutop is a command-line utility that scans the file system from a given |
14 |
|
|
root path and reports all the files and directories that occupy |
15 |
|
|
more than 5% of the space. |
16 |
|
|
|
17 |
|
|
%prep |
18 |
|
|
%setup -q -n MyLifeLabs-dutop-ff8c25a/ |
19 |
|
|
|
20 |
|
|
%build |
21 |
|
|
make |
22 |
|
|
|
23 |
|
|
%install |
24 |
|
|
rm -rf %{buildroot} |
25 |
|
|
mkdir -p %{buildroot}/%{_bindir} |
26 |
|
|
make install BINDIR=%{buildroot}/%{_bindir} |
27 |
|
|
|
28 |
|
|
%files |
29 |
|
|
%doc LICENSE README |
30 |
|
|
%{_bindir}/dutop |