a50e959
Name:          clpbar
a50e959
Version:       1.10.9
a50e959
Release:       3%{?dist}
a50e959
Summary:       Show information about a data transfer
a50e959
a50e959
Group:         Applications/System
a50e959
License:       LGPLv2+
a50e959
URL:           http://clpbar.sourceforge.net/
a50e959
Source0:       http://downloads.sourceforge.net/%{name}/bar_%{version}.tar.gz
a50e959
Source1:       clpbar.1.in
a50e959
Patch0:        bar-1.10.9-clpbar.patch
a50e959
Patch1:        bar-1.10.9-Makefile.patch
a50e959
a50e959
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
a50e959
a50e959
BuildRequires: automake
a50e959
BuildRequires: autoconf
a50e959
a50e959
%description
a50e959
Bar is a simple tool to process a stream of data and print a display for the
a50e959
user on stderr showing (a) the amount of data passed, (b) the throughput of the
a50e959
data transfer, and, if the total size of the data stream is known, (c)
a50e959
estimated time remaining, percent complete, and a progress bar.  Bar was
a50e959
originally written for the purpose of estimating the amount of time needed to
a50e959
transfer large amounts (many, many gigabytes) of data across a network.
a50e959
(Usually in an SSH/tar pipe.)
a50e959
a50e959
%prep
a50e959
%setup -q -n bar-%{version}
a50e959
%patch0 -p1
a50e959
%patch1 -p1
a50e959
cp %{SOURCE1} .
a50e959
./autogen
a50e959
a50e959
%build
a50e959
%configure
a50e959
make %{?_smp_mflags}
a50e959
a50e959
%check
a50e959
make check
a50e959
a50e959
%install
a50e959
rm -rf %{buildroot}
a50e959
make install DESTDIR=%{buildroot}
a50e959
a50e959
%clean
a50e959
rm -rf %{buildroot}
a50e959
a50e959
%files
a50e959
%defattr(-,root,root,-)
a50e959
%doc AUTHORS COPYING ChangeLog TODO TROUBLESHOOTING
a50e959
%{_bindir}/clpbar
a50e959
%{_mandir}/man1/clpbar.1.gz
a50e959
a50e959
%changelog
a50e959
* Wed May 19 2010 David Cantrell <dcantrell@redhat.com> - 1.10.9-3
a50e959
- Fix empty debuginfo package (#560176)
a50e959
a50e959
* Mon Feb 01 2010 David Cantrell <dcantrell@redhat.com> - 1.10.9-2
a50e959
- Rename binary to 'clpbar' and man page to 'clpbar.1' (#560176)
a50e959
a50e959
* Fri Jan 29 2010 David Cantrell <dcantrell@redhat.com> - 1.10.9-1
a50e959
- Initial package