Name: topless
Summary: Display command output on the whole screen like ``top''
Version: 1.53
Release: 2%{?_dist_release}

License: modified BSD-style
Group: Applications/System
URL: http://www.ongs.net/daichi/

Source0: http://people.freebsd.org/~daichi/src/topless
Source1: http://people.freebsd.org/~daichi/src/topless-1.52.tar.gz
Source2: LICENSE.topless

BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildArch: noarch
BuildRequires: perl

Distribution: Vine Linux
Vendor: Project Vine
Packager: iwaim

%description
TOPLESS reads various command output, displays it on the whole screen
(like "less"), and periodically updates it like "top".

TOPLESS can be used with almost every sort of command,
but is particularly useful when used with the command
to monitor the system, such as "ps", "netstat" or "fstat".

%prep
%setup -T -a 1 -c %{name}-%{version}
%{__cp} %{SOURCE2} LICENSE

%install
%{__rm} -rf %{buildroot}
%{__mkdir_p} %{buildroot}%{_bindir}
%{__mkdir_p} %{buildroot}%{_mandir}/man1
%__install -m0755 %{SOURCE0} %{buildroot}%{_bindir}
pod2man topless-1.52/topless.pod > %{buildroot}%{_mandir}/man1/topless.1

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc LICENSE
%{_bindir}/topless
%{_mandir}/man1/topless.1*

%changelog
* Fri Sep 26 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.53-2
- changed Group: Applications/System

* Sun Jan 23 2011 IWAI, Masaharu <iwai@alib.jp> 1.53-1
- initial release
