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