John W. Linville 2c8e7e0
Name:           batctl
633ad68
Version:        2014.4.0
63e6c03
Release:        1%{?dist}
John W. Linville 2c8e7e0
Summary:        B.A.T.M.A.N. advanced control and management tool
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
License:        GPLv2
John W. Linville 2c8e7e0
URL:            http://www.open-mesh.org/
John W. Linville 2c8e7e0
Source0:        http://downloads.open-mesh.org/batman/stable/sources/batctl/%{name}-%{version}.tar.gz
John W. Linville 2c8e7e0
633ad68
Requires:       kmod(batman-adv.ko)
63e6c03
BuildRequires:  libnl3-devel
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
%description
John W. Linville 2c8e7e0
batctl offers a convenient way to configure the batman-adv kernel module
John W. Linville 2c8e7e0
as well as displaying debug information such as originator tables,
John W. Linville 2c8e7e0
translation tables and the debug log. In combination with a bat-hosts
John W. Linville 2c8e7e0
file batctl allows the use of host names instead of MAC addresses.
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
B.A.T.M.A.N. advanced operates on layer 2. Thus all hosts participating
John W. Linville 2c8e7e0
in the virtual switched network are transparently connected together
John W. Linville 2c8e7e0
for all protocols above layer 2. Therefore the common diagnosis tools
John W. Linville 2c8e7e0
do not work as expected. To overcome these problems batctl contains the
John W. Linville 2c8e7e0
commands ping, traceroute, tcpdump which provide similar functionality
John W. Linville 2c8e7e0
to the normal ping(1), traceroute(1), tcpdump(1) commands, but modified
63e6c03
to layer 2 behavior or using the B.A.T.M.A.N. advanced protocol.
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
%prep
John W. Linville 2c8e7e0
%setup -q
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
%build
63e6c03
make %{?_smp_mflags} CFLAGS="%{optflags} -I%{_prefix}/include/libnl3" V=s
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
%install
63e6c03
%make_install PREFIX=%{_prefix} install
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
%files
John W. Linville 2c8e7e0
%{_sbindir}/%{name}
63e6c03
%{_mandir}/man8/%{name}.8.gz
John W. Linville 2c8e7e0
%doc README bat-hosts.sample
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
%changelog
633ad68
* Tue Feb 24 2015 Felix Kaechele <heffer@fedoraproject.org> - 2014.4.0-1
633ad68
- update to 2014.4.0
633ad68
- added dependency on kmod(batman-adv.ko) as batctl is useless without it
633ad68
63e6c03
* Sat Dec  6 2014 Felix Kaechele <heffer@fedoraproject.org> - 2014.3.0-1
63e6c03
- update to 2014.3.0
63e6c03
- added libnl3 BuildRequires
63e6c03
- clean spec
63e6c03
d4eaa38
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012.2.0-5
d4eaa38
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
d4eaa38
832b4f1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012.2.0-4
832b4f1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
832b4f1
b7eefdd
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012.2.0-3
b7eefdd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b7eefdd
7cad1b3
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2012.2.0-2
7cad1b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7cad1b3
John W. Linville 2c8e7e0
* Wed May 25 2011 John W. Linville <linville@redhat.com> - 2012.2.0-1
John W. Linville 2c8e7e0
- Update for latest upstream version
John W. Linville 2c8e7e0
John W. Linville 2c8e7e0
* Wed May 25 2011 John W. Linville <linville@redhat.com> - 2011.1.0-1
John W. Linville 2c8e7e0
- Initial release for Fedora