rpms/cpipe/F-8 cpipe.spec,NONE,1.1

Terje Røsten (terjeros) fedora-extras-commits at redhat.com
Wed Jan 23 20:36:18 UTC 2008


Author: terjeros

Update of /cvs/extras/rpms/cpipe/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14019

Added Files:
	cpipe.spec 
Log Message:
Forgot the spec file on initial commit...




--- NEW FILE cpipe.spec ---
Name:      cpipe
Version:   3.0.1
Release:   1%{?dist}
Summary:   Counting pipe
Group:     Development/Tools
License:   GPLv2+
URL:       http://developer.berlios.de/projects/%{name}/
Source0:   http://download.berlios.de/%{name}/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
Cpipe copies its standard input to its standard output while measuring
the time it takes to read an input buffer and write an output
buffer. Statistics of average throughput and the total amount of bytes
copied are printed to the standard error output.

%prep
%setup -q

%build
# Use included filess
touch cmdline.c cmdline.h cpipe.1
%{__make} %{?_smp_mflags} CFLAGS='%{optflags}'

%install
%{__rm} -rf %{buildroot}
%{__make} install \
    BINDIR=%{buildroot}%{_bindir} \
    MANDIR=%{buildroot}%{_mandir}/man1
%{__chmod} 0644 %{buildroot}%{_mandir}/man1/%{name}*

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, -)
%doc CHANGES COPYING-2.0 README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}*

%changelog
* Sun Jan  6 2008 Terje Rosten <terje.rosten at ntnu.no> - 3.0.1-1
- initial package




More information about the fedora-extras-commits mailing list