From 6debdb6c94faa73574febbd0f7e691221a01ef2d Mon Sep 17 00:00:00 2001 From: Sergey Zhemoitel Date: Mon, 4 Dec 2017 00:00:41 +0300 Subject: [PATCH] Imported from SRPM --- .abf.yml | 2 ++ batctl.spec | 31 +++++++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 .abf.yml create mode 100644 batctl.spec diff --git a/.abf.yml b/.abf.yml new file mode 100644 index 0000000..6ba1e5f --- /dev/null +++ b/.abf.yml @@ -0,0 +1,2 @@ +sources: + batctl-2017.3.tar.gz: 4d5dbf074ee45fd701f31446c5b561772fac93a9 diff --git a/batctl.spec b/batctl.spec new file mode 100644 index 0000000..798b184 --- /dev/null +++ b/batctl.spec @@ -0,0 +1,31 @@ +%define debug %nil +%define debug_package %nil + +Name: batctl +Version: 2017.3 +Release: 1 +Summary: B.A.T.M.A.N. advanced control and management tool +URL: https://www.open-mesh.org/ +Source: https://downloads.open-mesh.org/batman/stable/sources/%{name}/%{name}-%{version}.tar.gz +Group: Development/Other +License: GPLv2 +BuildRequires: gcc + +%description +B.A.T.M.A.N. advanced control and management tool + +%prep +%setup -q +sed -i '/PREFIX/s/\/local//' Makefile + +%build +%make + +%install +%makeinstall DESTDIR=%{buildroot} + +%files +%doc README +%{_sbindir}/%{name} +%{_mandir}/man8/%{name}.* +