e5ad92
Summary: Kernel dropped packet monitor 
e5ad92
Name: dropwatch 
e5ad92
Version: 1.4
e5ad92
Release: 9%{?dist} 
e5ad92
Source0: https://github.com/nhorman/dropwatch/archive/dropwatch-%{version}.tbz2
e5ad92
URL: https://github.com/nhorman/dropwatch 
e5ad92
License: GPLv2+ 
e5ad92
Group: Applications/System 
e5ad92
Patch0: dropwatch-1.4-typecast.patch
e5ad92
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
e5ad92
BuildRequires: kernel-devel, libnl-devel, readline-devel
e5ad92
BuildRequires: binutils-devel, binutils-static libnl3-devel pkgconfig
e5ad92
Requires: libnl3, readline
e5ad92
e5ad92
%description
e5ad92
dropwatch is an utility to interface to the kernel to monitor for dropped
e5ad92
network packets.
e5ad92
e5ad92
%prep
e5ad92
%setup -q 
e5ad92
%patch0 -p1 -b .typecast
e5ad92
e5ad92
%build
e5ad92
cd src
e5ad92
export CFLAGS=$RPM_OPT_FLAGS
e5ad92
make 
e5ad92
e5ad92
%install
e5ad92
rm -rf $RPM_BUILD_ROOT
e5ad92
mkdir -p $RPM_BUILD_ROOT%{_bindir}
e5ad92
mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
e5ad92
install -m0755 src/dropwatch $RPM_BUILD_ROOT%{_bindir}
e5ad92
install -m0644 doc/dropwatch.1 $RPM_BUILD_ROOT%{_mandir}/man1
e5ad92
e5ad92
%clean
e5ad92
rm -rf $RPM_BUILD_ROOT
e5ad92
e5ad92
e5ad92
%files
e5ad92
%defattr(-,root,root,-)
e5ad92
%{_bindir}/*
e5ad92
%{_mandir}/man1/*
e5ad92
%doc README
e5ad92
%doc COPYING
e5ad92
e5ad92
%changelog
e5ad92
* Thu Dec 13 2018 Neil Horman <nhorman@redhat.com> -1.4-9
e5ad92
- Fixing Source and URL to match new github location (bz 1501730)
e5ad92
e5ad92
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 1.4-8
e5ad92
- Mass rebuild 2014-01-24
e5ad92
e5ad92
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 1.4-7
e5ad92
- Mass rebuild 2013-12-27
e5ad92
e5ad92
* Sun May 12 2013 Anton Arapov <anton@redhat.com> - 1.4-6
e5ad92
- Fix the build for ppc platform. Typecast issue (#960092)
e5ad92
e5ad92
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-5
e5ad92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
e5ad92
e5ad92
* Sun Jan 20 2013 Dan HorĂ¡k <dan@danny.cz> - 1.4-4
e5ad92
- rebuilt again for fixed soname in libnl3
e5ad92
e5ad92
* Fri Jan 18 2013 Neil Horman <nhorman@redhat.com> - 1.4-3
e5ad92
- rebuilt to pull in new libnl3 dependencies
e5ad92
e5ad92
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-2
e5ad92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
e5ad92
e5ad92
* Fri Jun 01 2012 Neil Horman <nhorman@redhat.com> - 1.4-1
e5ad92
- Update to latest upstream
e5ad92
e5ad92
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-2
e5ad92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e5ad92
e5ad92
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2-1
e5ad92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e5ad92
e5ad92
* Wed Jun 30 2010 Neil Horman <nhorman@redhat.com> - 1.2
e5ad92
- Update to latest upstream
e5ad92
e5ad92
* Thu Apr 07 2010 Neil Horman <nhorman@redhat.com> - 1.1-2
e5ad92
- Adding more missing buildrequires
e5ad92
e5ad92
* Wed Apr 07 2010 Neil Horman <nhorman@redhat.com> - 1.1-1
e5ad92
- Add missing buildrequires
e5ad92
e5ad92
* Wed Apr 07 2010 Neil Horman <nhorman@redhat.com> - 1.1-0
e5ad92
- Move to latest upstream sources
e5ad92
e5ad92
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0-3
e5ad92
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e5ad92
e5ad92
* Fri Mar 20 2009 Neil Horman <nhorman@redhat.com> 1.0-2
e5ad92
- Fixed up Errors found in package review (bz 491240)
e5ad92
e5ad92
* Tue Mar 17 2009 Neil Horman <nhorman@redhat.com> 1.0-1
e5ad92
- Initial build
e5ad92