Blame iperf3.spec

François Cami 490c5a
Name:           iperf3
36d2e1
Version:        3.1b3
f3a83f
Release:        2%{?dist}
François Cami 490c5a
Summary:        Measurement tool for TCP/UDP bandwidth performance
François Cami 490c5a
François Cami 490c5a
Group:          Applications/Internet
François Cami 490c5a
License:        BSD
François Cami 490c5a
URL:            http://github.com/esnet/iperf
Susant Sahani 76942b
Source0:        http://downloads.es.net/pub/iperf/iperf-%{version}.tar.gz
François Cami 490c5a
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
François Cami 490c5a
BuildRequires:  libuuid-devel
G.Balaji 85e080
G.Balaji 85e080
%description
G.Balaji 85e080
Iperf is a tool to measure maximum TCP bandwidth, allowing the tuning of
G.Balaji 85e080
various parameters and UDP characteristics. Iperf reports bandwidth, delay
G.Balaji 85e080
jitter, data-gram loss.
G.Balaji 85e080
Susant Sahani 0ab38a
%package        devel
Susant Sahani 0ab38a
Summary:        Development files for %{name}
Susant Sahani 0ab38a
Group:          Development/Libraries
François Cami 490c5a
Requires:       %{name}%{?_isa} = %{version}-%{release}
Susant Sahani 0ab38a
Susant Sahani 0ab38a
%description    devel
Susant Sahani 0ab38a
The %{name}-devel package contains libraries and header files for
Susant Sahani 0ab38a
developing applications that use %{name}.
Susant Sahani 0ab38a
G.Balaji 85e080
%prep
Susant Sahani 84af60
%setup -q -n iperf-%{version}
G.Balaji 85e080
G.Balaji 85e080
%build
François Cami 490c5a
%configure --disable-static
36d2e1
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
36d2e1
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
G.Balaji 85e080
make %{?_smp_mflags}
G.Balaji 85e080
G.Balaji 85e080
%install
G.Balaji 85e080
rm -rf $RPM_BUILD_ROOT
G.Balaji 85e080
%makeinstall -C src INSTALL_DIR="%{buildroot}%{_bindir}"
G.Balaji 85e080
mkdir -p %{buildroot}%{_mandir}/man1
François Cami 490c5a
rm -f %{buildroot}%{_libdir}/libiperf.la
G.Balaji 85e080
G.Balaji 85e080
%clean
G.Balaji 85e080
rm -rf $RPM_BUILD_ROOT
G.Balaji 85e080
G.Balaji 85e080
%files
G.Balaji 85e080
%defattr(-,root,root,-)
36d2e1
%doc README.md LICENSE RELEASE_NOTES
G.Balaji 85e080
%{_mandir}/man1/iperf3.1.gz
Kevin Fenzi 6838a9
%{_mandir}/man3/libiperf.3.gz
G.Balaji 85e080
%{_bindir}/iperf3
Susant Sahani b14084
%{_libdir}/*.so.*
G.Balaji 85e080
François Cami 490c5a
%post -p /sbin/ldconfig
François Cami 490c5a
%postun -p /sbin/ldconfig
François Cami 490c5a
François Cami 490c5a
%files          devel
Susant Sahani 0ab38a
%defattr(-,root,root,-)
Susant Sahani b14084
%{_includedir}/iperf_api.h
Susant Sahani 0ab38a
%{_libdir}/*.so
G.Balaji 85e080
G.Balaji 85e080
%changelog
f3a83f
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.1b3-2
f3a83f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f3a83f
36d2e1
* Thu Oct 08 2015 Susant Sahani <ssahani@gmail.com> 3.1b3
36d2e1
- Update to 3.1b3
36d2e1
a88743
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.11-2
a88743
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a88743
Susant Sahani 142ce6
* Mon May 04 2015 Susant Sahani <ssahani@gmail.com> 3.0.11-1
Susant Sahani 142ce6
- Update to 3.0.11
Susant Sahani 142ce6
Susant Sahani f58d8c
* Sat Dec 20 2014 Susant Sahani <ssahani@redhat.com> 3.0.10-1
Susant Sahani f58d8c
- Update to 3.0.10
Susant Sahani f58d8c
Peter Robinson a6b509
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.6-2
Peter Robinson a6b509
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
Peter Robinson a6b509
Susant Sahani 657906
* Wed Jul 30 2014 Susant Sahani <ssahani@redhat.com> 3.0.6-1
Susant Sahani 657906
- Update to 3.0.6
Susant Sahani 657906
Susant Sahani 76942b
* Thu Jun 19 2014 Susant Sahani <ssahani@redhat.com> 3.0.5-1
Susant Sahani 76942b
- Update to 3.0.5
Susant Sahani 76942b
Susant Sahani c0885c
* Tue Jun 10 2014 Susant Sahani <ssahani@redhat.com> - 3.0.3-5
Susant Sahani c0885c
- fix compilation BZ #1106803
Susant Sahani c0885c
b75466
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0.3-4
b75466
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b75466
François Cami 490c5a
* Wed Apr 2 2014 François Cami <fcami@fedoraproject.org> - 3.0.3-3
François Cami 490c5a
- Drop static library support (#1081486).
François Cami 490c5a
- iperf3-devel subpackage must require iperf3.
François Cami 490c5a
- iperf3-devel should only contain the unversioned shared library.
François Cami 490c5a
- Call ldconfig since we are installing a shared library now.
François Cami 490c5a
- Removed INSTALL file.
François Cami 490c5a
Susant Sahani b14084
* Wed Apr 2 2014 Susant Sahani <ssahani@redhat.com> 3.0.3-2
Susant Sahani b14084
- Moved static library to devel section only .
Susant Sahani b14084
Susant Sahani 0ab38a
* Sun Mar 30 2014 Susant Sahani <ssahani@redhat.com> 3.0.3-1
Susant Sahani 0ab38a
- Update to 3.0.3 and added devel rpm support
Susant Sahani 0ab38a
Susant Sahani 4e569c
* Tue Mar 11 2014 Susant Sahani <ssahani@redhat.com> 3.0.2-1
Susant Sahani 4e569c
- Update to 3.0.2
Susant Sahani 4e569c
Susant Sahani 84af60
* Tue Jan 14 2014 Susant Sahani <ssahani@redhat.com> 3.0.1-1
Susant Sahani 84af60
- Update to 3.0.1
Susant Sahani 84af60
Steven Roberts f4a71f
* Fri Oct 25 2013 Steven Roberts <strobert@strobe.net> 3.0-1
Steven Roberts f4a71f
- Update to 3.0
Steven Roberts f4a71f
91f8ff
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.5.b5
91f8ff
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
91f8ff
Kevin Fenzi 6838a9
* Sat May 04 2013 Kevin Fenzi <kevin@scrye.com> 3.0-0.4.b5
Kevin Fenzi 6838a9
- Update to 3.0b5
Kevin Fenzi 6838a9
6c3708
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.3.b4
6c3708
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6c3708
e32cfe
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.2.b4
e32cfe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e32cfe
33f089
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.0-0.1.b4
33f089
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
33f089
G.Balaji 85e080
* Wed Apr 06 2011 G.Balaji <balajig81@gmail.com> 3.0b4-2
Susant Sahani f58d8c
- Changed the Spec name, removed static libs generation and devel
G.Balaji 85e080
- package.
G.Balaji 85e080
G.Balaji 85e080
* Sat Mar 26 2011 G.Balaji <balajig81@gmail.com> 3.0b4-1
G.Balaji 85e080
- Initial Version