File: pipemeter.spec

package info (click to toggle)
pipemeter 1.1.3-1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 352 kB
  • ctags: 67
  • sloc: ansic: 651; sh: 230; makefile: 46
file content (41 lines) | stat: -rw-r--r-- 1,180 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%define name    pipemeter
%define version 1.1.3
%define release 1
%define prefix  %{_prefix}

Summary:      Provides throughput and sometimes progress on shell pipes.
Name:         %{name}
Version:      %{version}
Release:      %{release}
Copyright:    GPL
Group:        System Environment/Shells
URL:          http://spamaps.org/pipemeter.php
Source:       %{name}-%{version}.tar.gz
Source0:      http://spamaps.org/files/pipemeter/%{name}-%{version}.tar.gz
Vendor:       Clint Byrum <cbyrum@spamaps.org>
Packager:     Clint Byrum <cbyrum@spamaps.org>
BuildRoot:    /var/tmp/%{name}-%(id -un)

%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

%install
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"
install -D -m 755 pipemeter "$RPM_BUILD_ROOT"/usr/bin/pipemeter
install -D -m 644 pipemeter.1 "$RPM_BUILD_ROOT"/%{_mandir}/man1/pipemeter.1

%clean
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(755,root,root)
%doc Changelog LICENSE README results.txt testscript.sh
/usr/bin
%{_mandir}