File nepim.spec of Package nepim

# norootforbuild

Name:			nepim
Version:		0.53
Release:		0
Summary:		Network Pipemeter
# http://download.savannah.gnu.org/releases/nepim/nepim-%{version}.tar.gz
Source:			nepim-%{version}.tar.bz2
Patch1:			nepim-optflags.diff
Patch2:			nepim-fix-pointer-arithmetics.patch
Patch3:			nepim-asneeded.patch
URL:			http://www.nongnu.org/nepim/
Group:			Productivity/Networking/Other
License:		GNU General Public License version 2 (GPL v2)
BuildRoot:		%{_tmppath}/build-%{name}-%{version}
BuildRequires:		liboop-devel make gcc glibc-devel

%description
nepim stands for network pipemeter, a tool for measuring available bandwidth
between hosts. nepim is also useful to generate network traffic for testing
purposes.

nepim operates in client/server mode, is able to handle multiple parallel
traffic streams, reports periodic partial statistics along the testing, and
supports IPv6.

%debug_package
%prep
%setup -q
%patch1
%patch2
%patch3

%build
%__make \
	%{?jobs:-j%{jobs}} \
	OOP_BASE="%{_prefix}" \
	OOP_LIB="%{_libdir}" \
	OPTFLAGS="%{optflags} -DHAVE_GROUP_SOURCE_REQ" \
	-C src

%install
%__install -D -m 0755 src/nepim "%{buildroot}%{_bindir}/nepim"

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

%files
%defattr(-,root,root)
%doc CHANGES COPYING CREDITS README
%{_bindir}/nepim

%changelog
* Wed Jun 17 2009 Pascal Bleser <pascal.bleser@opensuse.org> 0.53
- update to 0.53

* Sat Jul 12 2008 Pascal Bleser <guru@unixtech.be> 0.50
- new upstream version:
  * adds a command line option to explicitly specify the interface used to join a multicast group

* Fri May 30 2008 Pascal Bleser <guru@unixtech.be> 0.48
- new upstream version:
  * support for joining Source-Specific Multicast (source, group) pairs has been added

* Fri Oct 19 2007 Pascal Bleser <guru@unixtech.be> 
- update to 0.43

* Sat Aug 18 2007 Pascal Bleser <guru@unixtech.be>
- update to 0.40
- moved to build service

# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:
openSUSE Build Service is sponsored by