Blob Blame History Raw
Summary: Interface statistics
Name: ifstat
Version: 1.1
Release: 12%{?dist}
License: GPLv2+
Group: System Environment/Base
URL: http://gael.roualland.free.fr/ifstat/
Source0: http://gael.roualland.free.fr/ifstat/ifstat-%{version}.tar.gz
Patch0: ifstat-destdir.patch
Patch1: ifstat-UTF8.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: net-snmp-devel

%description
ifstat(1) is a little tool to report interface activity like vmstat/iostat do.
In addition, ifstat can poll remote hosts through SNMP if you have the ucd-snmp
library. It will also be used for localhost if no other known method works (You
need to have snmpd running for this though).

%prep
%setup -q
%patch0 -p1
%patch1 -p1

%build
%configure \
	--enable-debug
# debug is needed for generating debug_info rpm

%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR=%{buildroot}

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

%files
%defattr(-, root, root, 0755)
%doc COPYING HISTORY README TODO
%{_mandir}/man1/ifstat.1*
%{_bindir}/ifstat

%changelog
* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 1.1-12
- rebuilt with new openssl

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Tue Feb 03 2009 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.1-9
- rebuild for new openssl

* Thu Oct 28 2008 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.1-8
- Changes from  bugzilla #463922 Comment #15 From Mamoru Tasaka ->
- Change the release number to X%%{?dist} (2%%{?dist}, for example)
- Files under %%_mandir are automatically marked as %%doc.

* Thu Oct 25 2008 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.1-1.7
- Changes from  bugzilla #463922 Comment #12 From Michael Schwendt ->
- fix license tag, Licence is "GPLv2+" not "GPLv2"
- Convert files to UTF8 running iconv and generating a patch

* Thu Sep 30 2008 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.1-1.6
- Changes from  bugzilla #463922 Comment #6 From Mamoru Tasaka ->
- remove -s from Makefile, and add --enable-debug to re-enable
- building of debuginfo-rpm package again

* Thu Sep 30 2008 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.1-1.5
- disable building of debuginfo-rpm package

* Thu Sep 29 2008 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.1-1.4
- Changes from  bugzilla #463922 Comment #2 From Manuel Wolfshant ->
- replace from %%makeinstall to make install, include DESTDIR patch

* Thu Sep 25 2008 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 1.1-1.3
- Rebuild for Fedora 10.

* Sat Apr 08 2006 Dries Verachtert <dries@ulyssis.org> - 1.1-1.2
- Rebuild for Fedora Core 5.

* Sun Nov 14 2004 Dag Wieers <dag@wieers.com> - 1.1-1
- Updated to release 1.1.

* Mon Oct 06 2003 Dag Wieers <dag@wieers.com> - 1.0-0
- Initial package. (using DAR)