Imported from SRPM

This commit is contained in:
Sergey Zhemoitel 2017-12-04 00:00:41 +03:00
commit 6debdb6c94
2 changed files with 33 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
batctl-2017.3.tar.gz: 4d5dbf074ee45fd701f31446c5b561772fac93a9

31
batctl.spec Normal file
View file

@ -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}.*