You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ncdu/ncdu.spec

47 lines
1.1 KiB

Name: ncdu
Version: 1.3
Release: 2%{?dist}
Summary: Text-based disk usage viewer
Group: Applications/File
License: MIT
URL: http://dev.yorhel.nl/ncdu/
Source0: http://dev.yorhel.nl/download/ncdu-1.3.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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
make %{?_smp_mflags}
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_mandir}/man1/ncdu.1.gz
%doc AUTHORS COPYING ChangeLog TODO
%{_bindir}/ncdu
%changelog
* Fri Apr 25 2008 Richard Fearn <richardfearn@gmail.com> - 1.3-2
- remove unnecessary Requires:
- use %%configure macro instead of ./configure
- don't need to mark man page as %%doc
- make package summary more descriptive
* Sat Mar 1 2008 Richard Fearn <richardfearn@gmail.com> - 1.3-1
- initial package for Fedora