File clpbar.spec of Package clpbar

# vim: set ts=4 sw=4 et:

Name:           clpbar
Version:        1.11.1
Release:        0
Summary:        Command Line Progress Bar
# http://prdownloads.sourceforge.net/clpbar/bar_%{version}.tar.gz
Source:         bar_%{version}.tar.bz2
URL:            http://clpbar.sourceforge.net/
Group:          System/Console
License:        GNU General Public License (GPL)
BuildRoot:      %{_tmppath}/build-%{name}-%{version}
BuildRequires:  make gcc glibc-devel
BuildRequires:  autoconf automake libtool

%description
Command Line Progress Bar is a simple command line tool to display information
about a data transfer stream. It will display the number of bytes transfered,
the speed of the transfer, and if the size of the data stream is known it will
display the ETA.

%prep
%setup -q -n "bar-%{version}"

%build
%configure
%__make %{?_smp_flags}

%install
%makeinstall

%clean
%{?buildroot:%__rm -rf "%{buildroot}"}

%files
%defattr(-,root,root)
%doc AUTHORS COPYING TODO TROUBLESHOOTING
%{_bindir}/bar
%doc %{_mandir}/man1/bar.1%{ext_man}

%changelog
openSUSE Build Service is sponsored by