File copybw.spec of Package copybw

Name:           copybw
Version:        0.1
Release:        2
Summary:        Try to measure and report memcpy bandwidth of parallel processes
License:        GPLv3+
URL:            http://www.tux.org/pub/benchmarks/CPU/copybw.c
Source0:        copybw-0.1.tar.bz2
Group:		System/Monitoring
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}

%description
Try to measure and report memcpy bandwidth of parallel processes.
Synchronization is coarse, to be as portable as possible, at the 
expense of some timing accuracy.

%prep
%setup -q

%build
gcc -O3 %{name}.c -o %name
strip %{name}


%install
mkdir -p %{buildroot}%{_bindir}
install %{name} %{buildroot}%{_bindir}/%{name}


%files
%defattr(-,root,root)
%attr(755, root, root) %{_bindir}/%{name}


%changelog
* Wed Aug 8 2012 Antoine Ginies <aginies@gmail.com> 0.1
- first SRPM release
openSUSE Build Service is sponsored by