Name: bar Summary: bar - show information about a data transfer Copyright: GPL Group: System/Monitoring Version: 1.05 Release: 0.mv.1.SuSE9.2 Packager: Martin Väth Source0: %{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: %{_prefix} %description Bar is a simple tool to process a stream of data and print a display for the user on stderr showing (a) the amount of data passed, (b) the throughput of the data transfer, and, if the total size of the data stream is known, (c) estimated time remaining, percent complete, and a progress bar. %prep umask 022 test -n '%{buildroot}' || { echo "Must use buildroot" ; exit 1 ; } %if %{?fake:%fake}%{!?fake:0} %setup -T -D -c %else %setup -c test -d %{name}-%{version} && mv %{name}-%{version}/* . test -d %{name} && mv %{name}/* . %endif %build umask 022 cd "$RPM_BUILD_DIR"/%{name}-%{version} %if %{?fake:%fake}%{!?fake:0} %else %configure make strip bar %endif %install umask 022 cd "$RPM_BUILD_DIR"/%{name}-%{version} test -n '%{buildroot}' test -d '%{buildroot}' && rm -rf '%{buildroot}' make DESTDIR='%{buildroot}' install %clean test -n '%{buildroot}' -a -d '%{buildroot}' && rm -rf '%{buildroot}' %files %defattr(-,root,root) %doc COPYING README AUTHORS ChangeLog %{_bindir}/bar %{_mandir}/man1/bar.1.gz %changelog * Wed Nov 26 2003 Martin Väth - minor compatibility improvements * Thu Aug 21 2003 Martin Väth - built from scratch