Browse Source

new topless

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2569 ec354946-7b23-47d6-9f5a-488ba84defc7
iwaim 13 years ago
parent
commit
25af690008
1 changed files with 49 additions and 0 deletions
  1. 49 0
      t/topless/topless-vl.spec

+ 49 - 0
t/topless/topless-vl.spec

@@ -0,0 +1,49 @@
+Summary: display command output on the whole screen like ``top''
+Name: topless
+Version: 1.53
+Release: 1%{?_dist_release}
+Source0: http://people.freebsd.org/~daichi/src/topless
+Source1: http://people.freebsd.org/~daichi/src/topless-1.52.tar.gz
+Source2: LICENSE.topless
+License: modified BSD-style
+Group: Applications/Utils
+Url: http://www.ongs.net/daichi/
+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
+* Sun Jan 23 2011 IWAI, Masaharu <iwai@alib.jp> 1.53-1
+- initial release