File pipemeter.spec of Package pipemeter

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

Name:           pipemeter
Version:        1.1.3
Release:        0
Summary:        Provides Throughput and sometimes Progress on Shell Pipes
Source:         http://spamaps.org/files/pipemeter/pipemeter-%{version}.tar.gz
URL:            http://spamaps.org/pipemeter.php
Group:          System/Tools
License:        GNU General Public License (GPL)
BuildRoot:      %{_tmppath}/build-%{name}-%{version}
BuildRequires:  make gcc glibc-devel
BuildRequires:  autoconf automake libtool

%description
This program can be used in a shell pipe to display speed and progress (if
size of stream is available).

%prep
%setup -q

%build
%configure
%__make %{?jobs:-j%{jobs}}

%install
%__install -d "%{buildroot}%{_bindir}"
%__install -m 0755 pipemeter "%{buildroot}%{_bindir}/"
%__install -m 0755 pipecp "%{buildroot}%{_bindir}/"
%__install -D -m 0644 pipemeter.1 "%{buildroot}%{_mandir}/man1/pipemeter.1"

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

%files
%defattr(-,root,root)
%doc Changelog LICENSE README
%{_bindir}/pipemeter
%{_bindir}/pipecp
%doc %{_mandir}/man1/pipemeter.1%{ext_man}

openSUSE Build Service is sponsored by