Group :: Sistema/Base
RPM: clpbar
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: clpbar
Version: 1.10.9
Release: alt2_16
Summary: Show information about a data transfer
Group: System/Base
License: LGPLv2+
URL: http://clpbar.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/bar_%{version}.tar.gz
Source1: clpbar.1.in
Patch0: bar-1.10.9-clpbar.patch
Patch1: bar-1.10.9-Makefile.patch
Patch2: bar-1.10.9-Werror=format-security.patch
BuildRequires: automake-common
BuildRequires: autoconf-common
Source44: import.info
%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. Bar was
originally written for the purpose of estimating the amount of time needed to
transfer large amounts (many, many gigabytes) of data across a network.
(Usually in an SSH/tar pipe.)
%prep
%setup -q -n bar-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
cp %{SOURCE1} .
./autogen
%build
%configure
%make_build
%check
make check
%install
make install DESTDIR=%{buildroot}
%files
%doc AUTHORS COPYING ChangeLog TODO TROUBLESHOOTING
%{_bindir}/clpbar
%{_mandir}/man1/clpbar.1*
%changelog
…
Todas as alterações você pod ver aqui
%define _localstatedir %{_var}
Name: clpbar
Version: 1.10.9
Release: alt2_16
Summary: Show information about a data transfer
Group: System/Base
License: LGPLv2+
URL: http://clpbar.sourceforge.net/
Source0: http://downloads.sourceforge.net/%{name}/bar_%{version}.tar.gz
Source1: clpbar.1.in
Patch0: bar-1.10.9-clpbar.patch
Patch1: bar-1.10.9-Makefile.patch
Patch2: bar-1.10.9-Werror=format-security.patch
BuildRequires: automake-common
BuildRequires: autoconf-common
Source44: import.info
%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. Bar was
originally written for the purpose of estimating the amount of time needed to
transfer large amounts (many, many gigabytes) of data across a network.
(Usually in an SSH/tar pipe.)
%prep
%setup -q -n bar-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
cp %{SOURCE1} .
./autogen
%build
%configure
%make_build
%check
make check
%install
make install DESTDIR=%{buildroot}
%files
%doc AUTHORS COPYING ChangeLog TODO TROUBLESHOOTING
%{_bindir}/clpbar
%{_mandir}/man1/clpbar.1*
%changelog
…
Todas as alterações você pod ver aqui