c0b8e18
Name:		ArpON
a0bc4e5
Version:	2.6
e705bea
Release:	2%{?dist}
c0b8e18
Summary:	ARP handler inspection
c0b8e18
c0b8e18
Group:		Applications/Internet
c0b8e18
License:	BSD
c0b8e18
URL:		http://arpon.sourceforge.net/
c0b8e18
Source0:	http://downloads.sourceforge.net/project/arpon/arpon/ArpON-%{version}/ArpON-%{version}.tar.gz
c0b8e18
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c0b8e18
c0b8e18
BuildRequires:	libpcap-devel
a0bc4e5
BuildRequires:	cmake
c0b8e18
BuildRequires:	libnet-devel
c0b8e18
BuildRequires:	libdnet-devel
e705bea
e705bea
Requires:	libdnet
e705bea
Requires:	libnet
e705bea
Requires:	libpcap
c0b8e18
		
c0b8e18
%description
c0b8e18
%{name} is a portable handler daemon
c0b8e18
It has a lot of features and it makes ARP a bit safer.
c0b8e18
It uses static ARP inspection and dynamic ARP inspection
c0b8e18
as two kinds of anti ARP poisoning techniques.
c0b8e18
c0b8e18
%prep
c0b8e18
%setup -q
c0b8e18
c0b8e18
c0b8e18
%build
a0bc4e5
%{__cmake} .
a0bc4e5
%{__make} %{?_smp_mflags} CFLAGS="%{optflags}"
c0b8e18
c0b8e18
%install
c0b8e18
%{__rm} -rf %{buildroot}
a0bc4e5
%{__install} -D -pm 755 src/arpon %{buildroot}%{_sbindir}/arpon
c0b8e18
%{__install} -D -pm 644 man8/arpon.8 %{buildroot}%{_mandir}/man8/arpon.8  
c0b8e18
c0b8e18
c0b8e18
%clean
c0b8e18
%{__rm} -rf %{buildroot}
c0b8e18
c0b8e18
c0b8e18
%files
c0b8e18
%defattr(-,root,root,-)
a0bc4e5
%doc AUTHOR CHANGELOG LICENSE doc/*
c0b8e18
%{_sbindir}/arpon
c0b8e18
%{_mandir}/man8/arpon.8*
c0b8e18
c0b8e18
c0b8e18
%changelog
e705bea
* Sun Jul 31 2011 Arun SAG <sagarun [AT] gmail dot com> - 2.6-2
e705bea
- Fix broken deps
e705bea
a0bc4e5
* Sun Jul 17 2011 Arun SAG <sagarun [AT] gmail dot com> - 2.6-1
a0bc4e5
- Updated to version 2.6
a0bc4e5
b7c2d44
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.90-8
b7c2d44
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b7c2d44
35d5821
* Fri Apr 02 2010 Arun SAG <sagarun [AT] gmail dot com> -  1.90-7
35d5821
- Bumping release to fix previous CVS commit.
35d5821
a66f99c
* Thu Mar 25 2010 Arun SAG <sagarun [AT] gmail dot com> - 1.90-6
a66f99c
- Bumping release to fix previous CVS commit.
a66f99c
c0b8e18
* Tue Mar 9 2010 Arun SAG <sagarun [AT] gmail dot com> - 1.90-5
c0b8e18
- Fixed mixed usage of capital letters and period in changelog. 
c0b8e18
- Fixed install so that arpon.8 gets copied in correct directory.
c0b8e18
c0b8e18
* Sun Mar 7 2010 Arun SAG <sagarun [AT] gmail dot com> - 1.90-4
c0b8e18
- Optflags used instead of RPM_OPT_FLAGS.
c0b8e18
- Man dir corrected.
c0b8e18
c0b8e18
* Wed Jan 13 2010 Arun SAG <sagarun [AT] gmail dot com> - 1.90-3
c0b8e18
- Source URL fixed.
c0b8e18
- Install part rewrittern.
c0b8e18
c0b8e18
* Sat Jan 2 2010 Arun SAG <sagarun [AT] gmail dot com> - 1.90-2
c0b8e18
- Removed insignificant INSTALL file from binary package.
c0b8e18
- Changed build section to  use Fedora project flags.
c0b8e18
c0b8e18
* Sat Dec 20 2009 Arun SAG <sagarun [AT] gmail dot com> - 1.90-1
c0b8e18
- My initial release.
c0b8e18
c0b8e18
* Tue Dec 01 2009 Sandro Mathys <red at fedoraproject.org> - 1.90-1
c0b8e18
- Initial build.